• hello, I must add the option

    %category_title%

    necessary add in Description Format

    Description Format in the plugin “All in One SEO Pack” that not only the plugin is not possible and necessary to add a line of code in line: 1386

    the plugin only supports these macros:
    The following macros are supported:

    * %blog_title% – Your blog title
    * %blog_description% – Your blog description
    * %description% – The original description as determined by the plugin, e.g. the excerpt if one is set or an auto-generated one if that option is set
    * %wp_title% – The original wordpress title, e.g. post_title for posts

    is a simple thing, the more I do not know! : (

    anyone can edit please inform me how to do?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chico32

    (@chico32)

    Just add a line of code that make “release” the code in this option.

    Thread Starter chico32

    (@chico32)

    ` $description = str_replace(‘%description%’, $description, $description_format);

    $description = str_replace(‘%blog_title%’, get_bloginfo(‘name’), $description);

    $description = str_replace(‘%blog_description%’, get_bloginfo(‘description’), $description);

    $description = str_replace(‘%wp_title%’, $this->get_original_title(), $description);

    is necessary add

    $description = str_replace(‘%category_title%’, $?????(), $???????);`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to add category_title in Description Format in All in One SEO Pack’ is closed to new replies.