Details Page Sidebar – not displaying correct info

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 6 years, 11 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #410083

    Ryan Larson
    Expired Member
    Post count: 31

    Hello, the detailed page sidebar for the individual listing is not displaying the appropriate info for the listing. The info in the detailed page sidebar seems to be pulling from another listing.

    The attachment is an example for Target. The address, phone and website fields are displayed in both the more info tab and the details page sidebar. The data displayed in the more info tab is accurate, but the data displayed in the details page sidebar is inaccurate (it seems to be associated with another listing for The Boston Associates). There is also a link at the bottom of the page (see second attachment) linking to The Boston Associates.

    How can I fix this bug?

    Thanks,
    Ryan

    #410086

    Kiran
    Moderator
    Post count: 7069

    Hi Ryan,

    I checked other listings but on other listings there is no problem with address. It happening with only “TARGET CORP” listing.

    Let us provide FTP credentials so we can look into there, to find what causing this problem.

    thanks,
    Kiran

    #410321

    Ryan Larson
    Expired Member
    Post count: 31
    This reply has been marked as private.
    #410328

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #410332

    Ryan Larson
    Expired Member
    Post count: 31
    This reply has been marked as private.
    #410342

    Kiran
    Moderator
    Post count: 7069

    Hi Ryan,

    The detail page address issue has been fixed.

    There is BadgeOS plugin that causes problem by overwriting global post.
    I have added following code snippet in your child theme functions.php file to fix this conflict.

    
    
    // Fix Details Page Sidebar – not displaying correct info
    function _gd_custom_fix_detail_page_address() {
        if ( class_exists( 'BadgeOS' ) && ( geodir_is_page( 'detail' ) || geodir_is_page( 'preview' ) ) ) {
            remove_filter('next_post_link', 'badgeos_hide_next_hidden_achievement_link');
            remove_filter('previous_post_link', 'badgeos_hide_previous_hidden_achievement_link');
        }
    }
    add_action( 'template_redirect', '_gd_custom_fix_detail_page_address', 10 );

    Try after clearing GD Booster cache & your browser cache.
    Let us know.

    Thanks,
    Kiran

    #410357

    Ryan Larson
    Expired Member
    Post count: 31
    This reply has been marked as private.
    #410372

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 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