Move items in the detail page

This topic contains 7 replies, has 2 voices, and was last updated by  Paolo 8 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #45035

    Jeff B
    Buyer
    Post count: 4

    I am looking for a way to move some things around in the detail page. I have taken some of the items away using the detail/single page settings, but would like to do more.
    We would like the photo slider to be removed and the photos to be seen only under the photo tab.
    Also, we would like to move the overall reviews(the box on the sidebar that says 5/5 based on 2 reviews) and the box with the address in it over to the main section of the page instead of the sidebar.
    Any help would be appreciated, thank you.

    #45060

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    all these info can be found with a search in the forum:

    Remove slider: https://wpgeodirectory.com/support/topic/changing-gallery/#post-40738

    Remove item from sidebar: https://wpgeodirectory.com/support/topic/removing-sidebar-items-from-cpt-detail-page/#post-33039

    Let us know how you went.

    Thanks

    #45153

    Jeff B
    Buyer
    Post count: 4

    As to the removing the slider, from your link I believe I should add this:

    remove_action(‘geodir_details_slider’, ‘geodir_action_details_slider’, 10, 1);

    but is does not specify where it should be added that I can see. Can you clarify this point please?

    #45157

    Paolo
    Site Admin
    Post count: 31206

    Hi Jeff,

    any of these changes must be added to your active theme’s functions.php file.

    Thanks

    #45646

    Jeff B
    Buyer
    Post count: 4

    I am using GDF Modern, I have tried adding the line
    remove_action(‘geodir_details_slider’, ‘geodir_action_details_slider’, 10, 1);
    as stated in the thread linked above to functions.php and I still see the photo slider on the detail pages.
    Is there a step I am missing?
    Thanks,
    Jeff

    #45650

    Paolo
    Site Admin
    Post count: 31206

    My bad, that was supposed to be:

    remove_action( 'geodir_details_main_content','geodir_action_details_slider',30);

    I’ve corrected that post too.

    Thanks

    #45819

    Jeff B
    Buyer
    Post count: 4

    That works perfect now, Thank you for your time.

    #45827

    Paolo
    Site Admin
    Post count: 31206

    you are welcome 🙂

    Thank you for making us correct that mistake!

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