Avada Page Title Bar and Add Listing H1

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #187892

    vicki
    Buyer
    Post count: 76

    I’m wondering if these are related issues. I’m using Avada v4.0.2 and I couldn’t hide the page title bar using Avada settings, so I got rid of it with CSS. Looks like you’ve created some functions around this in your Avada.php compatibility file, so I wonder if there is a bug there.

    Also, I’ve been looking for a long time for a way to add an H1 tag to the add listing page. Now that I’m not using the page title bar, there is no visible title on the page. Adding the text by editing the page didn’t work, and it seems there should be an easier way than editing the template.

    Oh, and I went back to the main documentation to review how these pages are created and see if there were any clues there, but this page is 404 on your site: https://wpgeodirectory.com/layout/, linked to from this page: https://wpgeodirectory.com/docs/?post_type=post&s=&cat=1

    #188036

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    yes we add the title bar by default because without it, there would be no titles.

    What you can do is add back the title for the add listing page with this in your functions.php:

    add_action('geodir_add_listing_page_title', 'geodir_action_add_listing_page_title', 10);

    That action is remove in avada.php inside

    function gd_compat_php_avada()

    .

    Let us know how you went.

    Thanks

    #188048

    vicki
    Buyer
    Post count: 76

    That’ll work. Thanks!

    #188068

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 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