Tab-free layout?

This topic contains 5 replies, has 3 voices, and was last updated by  Stephen 9 years, 4 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #46016

    Stephen
    Buyer
    Post count: 5

    Hi,

    I’m interested in doing a tab-free layout for my GD installation and I was wondering if anyone had any tips re doing this.

    I’ve been digging through the support forums and don’t seem to see anyone doing this.

    Guessing I will probably need to create a similar function to geodir_show_detail_page_tabs() and call that function from listing-detail.

    Thanks for any feedback as to how to best tackle this.

    Thanks,
    Stephen

    #46017

    Guust
    Moderator
    Post count: 29970

    Hi Stephen
    Add this to GD > design > scripts > css

    
    
    ul.geodir-tabs-content.entry-content li {
      display: block !important;
    } 

    Add this to GD > design > scripts > footer

    
    
    <script>
    if(jQuery('.geodir-tab-head').length){
        jQuery(".geodir-tab-head a").each(function(){
            //get the values we need
            var id = jQuery(this).data("tab");
            var title = jQuery(this).html();
            //set the values we need
            jQuery(this).attr('href',id);
            jQuery(id).prepend('<h2>'+title+'</h2>'); 
        });
    }
    </script>

    You might also want to adjust some CSS for the tabs.

    #46018

    Stephen
    Buyer
    Post count: 5

    Thank you so much! That was fantastically simpler.

    #46019

    Guust
    Moderator
    Post count: 29970

    Simple is my middle name 🙂

    #46088

    Paolo
    Site Admin
    Post count: 31206

    FYI, just in case you didn’t see it: https://wpgeodirectory.com/remove-tabs/

    #46090

    Stephen
    Buyer
    Post count: 5

    doh! somehow I couldn’t find that. Did lot of searching but I must have been using the keywords. Thanks for the link.

    Some extra keywords for future searchers: tab-free, tab free, remove tabs, no tabs, no-tabs, delete tabs

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