جایگزین کردن نشانی دلخواه برای نویسنده در وردپرس

در وردپرس نشانی پیش‌گزیده، برای نویسنده همانند نشانی زیر است:

www.yorname.com/author/username

اگر می‌خواهید نشانی دلخواهتان را جایگزین نشانی پیش‌گزیده کنید کد زیر را در پرونده‌ی functions.php که در پوشه‌ی پوسته است جای‌گذاری کنید. و به جای واژه‌ی author ، واژه‌ی دلخواهتان را بنویسید.

add_action('init', 'cng_author_base');
function cng_author_base() {
    global $wp_rewrite;
    $author_slug = 'author'; // change slug name
    $wp_rewrite->author_base = $author_slug;
}

Esta é acompañada por:

  1. پاک کردن خودکار زباله دان وردپرس
  2. پنهان کردن زمینه ی دلخواه در نوشته ها و برگه ها
  3. اجازه به کاربران برای پاک کردن شناس نامه
  4. Feedburner primas, en vez de substituír o actual de alimentos
  5. پاک کردن ویرایش‌گر پوسته

2 Responses to جایگزین کردن نشانی دلخواه برای نویسنده در وردپرس

Deixe unha resposta

Enderezo de correo electrónico non será publicado. Os campos obrigatorios están marcados *

*

Podes usar estas HTML tags e atributos: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Mensaxe:

O sitio ten dereito a tomar copias (Dereitos de autor) Ningún permiso é prohibido tirar copias e da fiscalía busca.
Correo-e: sushyant@zavarzadeh.org
Mensaxe de Yahoo Messenger: sushyant_90
پیام رسان جی تالک: sushyant.zavarzadeh

گفت‌وگوی زنده

Arquivo