Modifying the gd_single_tabs Shortcode

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

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

Open Support Ticket
  • Author
    Posts
  • #482198

    James Grove
    Expired Member
    Post count: 30

    Hello, GeoDirectory –

    I had my site configured so that only local residents can see the ratings and reviews for our businesses.

    I had this set up in GeoDirectory V1. Here is a link to the support ticket I submitted back then:
    https://wpgeodirectory.com/support/topic/inserting-a-shortcode-into-the-review-area/

    In V1, I edited the “reviews.php” file to add some code to check for the user’s residency.

    But I need to know how to do this in V2.

    I’m currently using the following code on my Listing Details page:

    
    [gd_notifications]
    
    [gd_claim_post text="Claim this Listing" output="button"] [gd_author_actions hide_delete="1"]
    
     
    
    [gd_post_images type='slider' ajax_load='true' slideshow='true' show_title='false' animation='slide' controlnav='1' ]
    [gd_single_taxonomies]
    [gd_single_tabs show_as_list="1"]
    
    [gd_single_next_prev]
    
     
    
    Recently Viewed:
    
    [gd_recently_viewed post_limit="4" layout="gridview_onefourth" post_type="all_post"]
    

    So I think I need to modify the shortcode [gd_single_tabs show_as_list=”1″]

    Where can I find the source for that shortcode, and how to I update it as a child plugin, so that it won’t get overwritten at the next update?

    Thank you
    James Grove

    #482199

    James Grove
    Expired Member
    Post count: 30

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482278

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482394

    James Grove
    Expired Member
    Post count: 30

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482396

    James Grove
    Expired Member
    Post count: 30

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482604

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482864

    James Grove
    Expired Member
    Post count: 30

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482884

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482899

    James Grove
    Expired Member
    Post count: 30

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #482957

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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