• Resolved lofaro

    (@lofaro)


    Hi,

    Could someone explain me the difference between %category_title% and %category% please?
    I think that %category_title% refers to only one category, the main one associated to a post but I’m not sure…

    More, it seems that I have one problem with those 2 parameters.
    I’ve set the following “post title format” in the plugin “general settings”: [%category_title%] %post_title% | My super blog
    Then I create a new post, I give it a name “Hello world”, I associate it to my category “Song”, I save the draft. But after refresh, the preview snippet gives me: [Hello world] Hello world | My super blog
    Can somebody explain me why I do not get instead: [Song] Hello world | My super blog?

    PS1: If I chose the following “post title format” in the plugin “general settings”: [%category%] %post_title% | My super blog
    then my preview snippet for the same post becomes: [] Hello world | My super blog
    Not any better…

    PS2: I have WordPress 4.1, All in One SEO Pack 2.2.5.1 and Twenty Fourteen 1.3.

    Thank you in advance! ??

    https://www.ads-software.com/plugins/all-in-one-seo-pack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi lofaro,

    There’s no difference between %category% and %category_title%, you are free to use either one in the post title. As for the issue with the preview snippet, this is a bug, thank you for bringing it to our attention. Note that your title will still be output correctly on the front end, this bug should only affect the preview snippet.

    Thread Starter lofaro

    (@lofaro)

    Thank you Peter for your very swift and clear answer! ??
    Then I’m marking this post resolved as soon as the update is released!

    Hi lofaro,

    The update is now live and ready for you to test; let me know if it fixes your issue!

    Thread Starter lofaro

    (@lofaro)

    Hi Peter,

    The update is now live and ready for you to test; let me know if it fixes your issue!

    It’s perfect, thank you! ??
    I’ve marked this topic as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘category_title and category in post title format’ is closed to new replies.