Home Forums WC Vendors Pro Support HTML Title on Vendor Page

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55370
    DELETE
    Participant

    Hi,

    On the vendor shop pages, the HTML <title> is always “Products – MyShop”. Is there a way to have it display the vendor’s shop name instead?

    The way it’s set up by default results in lots of duplicate title pages. Perhaps the vendor’s shop name should be displayed in the HTML <title> by default?

    Thanks,

    Avishai

    #55419
    Anna
    Member

    @avishai
    I will add this as a suggested enhancement, and see if something can be done to index or show the vendor store name in the page title.

    #56037
    DELETE
    Participant

    Thanks @fervous, is there any way to override it in the meantime using a filter? I’ve tried variations of `add_filter(‘wp_title’, function( $title ) {
    // Return my custom title
    // return sprintf(“%s %s”, $title, get_bloginfo(‘name’));
    return “THIS IS A TEST OF THE TITLE”;
    }, 200);` to no avail…

    #56038
    Jamie
    Keymaster

    Hello,

    wp_title has been depreciated which is why it doesn’t work. Here is a gist that will do what you want. FYI this has been added to free’s next version.

    https://gist.github.com/digitalchild/118674f3792a4d1d9ce1651e0d90844b

    cheers,

    Jamie.

    #56045
    DELETE
    Participant

    Aha, that would explain it :-).

    Thanks for the snippet — it works great!

    -Avishai

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.