Next/previous links working on listing detail page

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

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

Open Support Ticket
  • Author
    Posts
  • #470622

    Robert Armstrong
    Full Member
    Post count: 24

    When i visit search results page then click on a list and go to listing detail page, where the next/pre links showing on listing detail page.

    Then i add your plugin filter in the theme function file. See below code

    add_action(‘geodir_details_main_content’, ‘geodir_action_details_next_prev’, 5);

    With this code just previous link showing but not working. See screenshot: http://prntscr.com/mop1zp

    What is the issue how i can fix that issue. Please help me about this matter.

    Regards

    #470662

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #470987

    Robert Armstrong
    Full Member
    Post count: 24
    This reply has been marked as private.
    #471062

    Robert Armstrong
    Full Member
    Post count: 24
    This reply has been marked as private.
    #471089

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    the developers have been informed and will take a look as soon as possible.

    #471224

    Robert Armstrong
    Full Member
    Post count: 24

    When you will respond i am waiting and fix the issue as soon as possible.

    Regards

    #471664

    Kiran
    Moderator
    Post count: 7069

    Hello Robert,

    Are you using GeoDirectory v1 or v2?

    If you are using v1 then you can refer following:
    For action: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory_template_actions.php#L1525
    For function: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory_template_actions.php#L1471

    If this not help you provide site link & admin credentials to look there.

    Let us know.

    Thanks for your patience.

    Kiran

    #471870

    Robert Armstrong
    Full Member
    Post count: 24

    Hi,

    Please see above, i have used same action on single page but not working

    add_action(‘geodir_details_next_prev’, ‘geodir_action_details_next_prevss’, 10);
    function geodir_action_details_next_prevss()
    {
    ?>
    <div class=”geodir-pos_navigation clearfix”>
    <div
    class=”geodir-post_left”><?php previous_post_link(‘%link’, ” . __(‘Previous’, ‘geodirectory’), false) ?></div>
    <div
    class=”geodir-post_right”><?php next_post_link(‘%link’, __(‘Next’, ‘geodirectory’) . ”, false) ?></div>
    </div><?php
    }

    #472540

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Which theme are you using?

    Please provide us admin & FTP credentials to check more.

    Regards,
    Kiran

Viewing 9 posts - 1 through 9 (of 9 total)

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

Open Support Ticket