Combine Tab Content

This topic contains 5 replies, has 3 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
  • #66242

    Shane
    Buyer
    Post count: 149

    Hi Paolo,

    Happy New Year to you and team.

    Wondering what file I need to edit to combine Tab content.

    Basically I want the content of the More Info tab to be displayed in the main Profile Tab underneath the main content.

    I am using Whoop Theme so don’t know do I edit GeoDirectory or Whoop (child theme of course), and if so, which Files?

    Many thanks
    Shane

    #66266

    Hefin Dsouza
    Expired Member
    Post count: 48

    Hi,

    I just had the same question and found one of Paolo’s old post which helped me achive what I wanted

    https://wpgeodirectory.com/remove-tabs/

    The code mentioned there has to be entered in the Functions.php file for your theme…

    To customize the output scroll to the very end of the function where you will find

    <div class=”geodir-singleview” ….

    Add your HTML and formatting code there..

    Hope this helps!!

    #66314

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you’ll have to hide the tab and add its content back via functions.php hooking into the_content() filter.

    The article linked by Hefin Dsouza should help you achieve that.

    Let us know if this helped,

    Thanks

    #66331

    Shane
    Buyer
    Post count: 149

    Many thanks Hefin and Paolo.

    Will implement tonight and let you know how I get on.

    Happy New Year!

    #66337

    Shane
    Buyer
    Post count: 149

    Sorry guys,

    The code above works to hide Tabs and display all content in single page view, but I cannot get my head around displaying the ‘More Info’ content in the ‘Profile’ Tab.

    I see Tabs defines for
    $post, $post_images, $video, $special_offers, $related_listing, $geodir_post_detail_fields;
    Which is More Info???

    Need help, sorry!

    #66386

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    with that code you should be able to deduce how to do this.

    Please have a look at this topic and let us know if this helps better: https://wpgeodirectory.com/support/topic/custom-fields-3/#post-31897

    Thanks

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