WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WordPress SEO by Yoast] %%page%% variable inserting extra %%sep%%

[Resolved] [Plugin: WordPress SEO by Yoast] %%page%% variable inserting extra %%sep%%

  • Under Titles and Meta, I have the following as my Category title template:

    %%term_title%% Archives %%page%% %%sep%% %%sitename%%

    That ends up returning:

    [Category Name] Archives | Page 1 of 4 | [Site Name]

    If I change it to:

    %%term_title%% Archives %%sep%% %%page%% %%sep%% %%sitename%%

    It returns:

    [Category Name] Archives || Page 1 of 4 | [Site Name]

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joost de Valk

    @joostdevalk

    Hey, could you please try the development version? I think I’ve fixed this 🙂

    You can download the development version from here, or you can download it directly here.

    With the development version I put:

    ‘%%term_title%% Archives %%sep%% %%page%% %%sep%% %%sitename%%’

    And it returned:

    [Category Name] Archives || [Site Name]

    The double separator is still there and the page numbers are missing entirely. Kind of the opposite result eh? 🙂

    Plugin Author Joost de Valk

    @joostdevalk

    Well no, not really, on page 1 it shouldn’t output numbers, you can force that with %%pagenumber%% and %%pagetotal%%, if you always want it to show, I would set the following template though:

    %%term_title%% Archives %%page%% %%sep%% %%sitename%%

    If it outputs something for the %%page%% variable it will automatically pre-append a separator.

    I’ve also come across this issue, disabling WordPress SEO fixes it but obviously this isn’t the answer we need:(

    Any ideas?

    Could it relate to Custom Post Types?

    Moderator Michael

    @alchymyth

    Forum Moderator

    @david Henry

    per forum rules, please start your own topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] %%page%% variable inserting extra %%sep%%’ is closed to new replies.