How to display category page title on archive template?

This topic contains 9 replies, has 5 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #498719

    Scott Harris
    Lifetime Member
    Post count: 74

    In GD v1, I was able to display the category page title using this code:
    <?php geodir_action_listings_title();?>

    It doesn’t work in v2. How can I add the category title? Is there a shortcode or a different php action that can display the title in the archive template?

    #498720

    Guust
    Moderator
    Post count: 29970

    What is the theme you are using?
    Geodirectory > Settings > General tab > Titles & Meta sub-tab > Archive pages > Category Title.

    #498734

    Scott Harris
    Lifetime Member
    Post count: 74

    I’m using Divi. I’d like to display the category title so it look like this text overlay “Find the best…” https://www.winetasting.com/winery/bay-area-urban-wineries/ This works fine for GDV1. In GD V1, I used the above code in the GD Listing Top Section widget, but am not sure how to add this to the archive template in v2.

    #498743

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
    #498746

    Scott Harris
    Lifetime Member
    Post count: 74
    This reply has been marked as private.
    #498779

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    GD V2 includes the GD Post Title element.

    I added it to the template. Please check

    #498781

    Scott Harris
    Lifetime Member
    Post count: 74

    Perfect…thanks!

    #498933

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #504881

    Nick Amis
    Buyer
    Post count: 9

    Hi,
    I’m also using Divi and have the same issue. Since switching to use Divi Layout the archive page title no longer appears telling the visitor what category they are viewing.
    Is there a shortcode I can use to add this back to the page?

    Thanks, Nick

    #504940

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, GD Post Title.

    Please make a new topic if you need help, always make a new topic.

    Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount