WordPress.org

Ready to get started?Download WordPress

Forums

Changing "Page X of Y" on pagination title (4 posts)

  1. S3nd41
    Member
    Posted 1 year ago #

    Hello,

    I'd like to know how to edit the title of the window when browsing previous posts so that I can strip the "of Y" part and have simply:

    "Blog Name ยป Page X"

    Been looking for a solution to this for the past hour but haven't find anything conclusive on the issue.

    Help is most welcomed! Thank you!

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    depending on your used theme, the code might be in header.php or in one of the functions templates.

  3. S3nd41
    Member
    Posted 1 year ago #

    Thanks for your reply.
    I actually found out that this particular title structure was getting output by WordPress Yoast SEO and there's even no way to customize it. I had to hack one of the plug-ins core files.

    Such a bummer because now everytime I update it I'll have to hack it again.

    Do you know how to override it from your theme's header?

  4. alchymyth
    Forum Moderator
    Posted 1 year ago #

    Do you know how to override it from your theme's header?

    no - it is usually the seo plugin which overwrites what is coded in the header.

Topic Closed

This topic has been closed to new replies.

About this Topic