Additional Feature

Additional features that you don't want to miss

This may not seem important but it's worth to try, some of the features here can be enabled by simply adding a new className to your blog.

notranslate

This className prevents translator sites/apps from translating certain sentences or sections of content. For example, you don't want the translator site to translate a paragraph, so simply add class='notranslate' to the paragraph tag:

<p class='notranslate'>Your_paragraph</p>

noPrint

When users use a print command (Ctrl + P), all pages will appear in the preview including sidebars, site headers, etc. noPrint works to prevent this, hiding some parts of the page from appearing in print, we have implemented this feature in the update version. You can also hide paragraphs or other sections of the post with this className:

<p class='noPrint'>Your_paragraph</p>

Do not copy

This feature prevents users from selecting text or post content, nor can users use the Ctrl + A command to select the entire content. This feature is available in all themes as a basic feature, you can enable this feature by changing the following CSS code in your theme:

/* Do not copy */ /*body{user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-webkit-touch-callout:none} pre, code, kbd, i[rel=pre]{user-select:text;-moz-user-select:text;-ms-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-webkit-touch-callout:text}*/
/* Do not copy */ body{user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-webkit-touch-callout:none} pre, code, kbd, i[rel=pre]{user-select:text;-moz-user-select:text;-ms-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-webkit-touch-callout:text}

Add number or custom text to the heading tag

We have already discussed the importance of heading tags in page optimization, and as an additional feature, you can add a number or custom text to the heading tag, this will not be indexed by search engines because it uses the ::before selector.

Add class='h' data-text='1. ' in the heading tag of your content:

<h2 class='h' data-text='1. '>Your_heading_tag</a>

Replace data-text attribute value with the text you want.

Hal ini mungkin tampak tidak penting tetapi patut dicoba, beberapa fitur di sini dapat diaktifkan hanya dengan menambahkan className baru ke blog Anda.

notranslate

ClassName ini mencegah situs/aplikasi penerjemah untuk menerjemahkan kalimat atau bagian konten tertentu. Misalnya, Anda tidak ingin situs penerjemah menerjemahkan sebuah paragraf, maka cukup tambahkan class='notranslate' pada tag paragraf:

<p class='notranslate'>Your_paragraph</p>

noPrint

Ketika pengguna menggunakan perintah cetak (Ctrl + P), semua halaman akan muncul di pratinjau termasuk bilah sisi, header situs, dll. noPrint berfungsi untuk mencegah hal ini, menyembunyikan beberapa bagian halaman agar tidak muncul dalam cetakan, kami telah menerapkan fitur ini dalam versi pembaruan. Anda juga dapat menyembunyikan paragraf atau bagian lain dari postingan dengan className ini:

<p class='noPrint'>Your_paragraph</p>

Do not copy

Fitur ini mencegah pengguna untuk memilih teks atau konten postingan, pengguna juga tidak dapat menggunakan perintah Ctrl + A untuk memilih seluruh konten. Fitur ini tersedia di semua tema sebagai fitur dasar, Anda dapat mengaktifkan fitur ini dengan mengubah kode CSS berikut di tema Anda:

/* Do not copy */ /*body{user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-webkit-touch-callout:none} pre, code, kbd, i[rel=pre]{user-select:text;-moz-user-select:text;-ms-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-webkit-touch-callout:text}*/
/* Do not copy */ body{user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-webkit-touch-callout:none} pre, code, kbd, i[rel=pre]{user-select:text;-moz-user-select:text;-ms-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-webkit-touch-callout:text}

Menambahkan nomor atau teks khusus ke tag judul

Kami telah membahas pentingnya tag heading dalam pengoptimalan halaman, dan sebagai fitur tambahan, Anda dapat menambahkan angka atau teks khusus ke tag heading, ini tidak akan diindeks oleh mesin pencari karena menggunakan pemilih ::before.

Tambahkan class='h' data-text='1. ' di tag heading konten Anda:

<h2 class='h' data-text='1. '>Your_heading_tag</a>

Ganti nilai atribut data-text dengan teks yang Anda inginkan.