WordPress.org

Ready to get started?Download WordPress

Forums

conditional tag for titles (2 posts)

  1. Webafest
    Member
    Posted 1 year ago #

    Hi, I am wanting to generate a <title> based on a certain slug name.

    So If the slug is localhost/shop/ then do this
    <title> Welcome to the Shop Page </title>

    The output of the page is from a shop.php template, hope you can help!

  2. John Turner
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic