move slider gallery

This topic contains 3 replies, has 3 voices, and was last updated by  Strong Coffee 9 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #32819

    Strong Coffee
    Full Member
    Post count: 124

    Is there a way to move the slider gallery below the text/tabs on the details page?

    #32861

    Simone
    Expired Member
    Post count: 3515

    Hello, try this clock of code and put it in your functions.php inside the child theme folder

    
    
    remove_action( 'geodir_details_main_content', 'geodir_action_before_single_post',10);
    remove_action( 'geodir_details_main_content', 'geodir_action_page_title',20);
    remove_action( 'geodir_details_main_content', 'geodir_action_details_slider',30);
    remove_action( 'geodir_details_main_content', 'geodir_action_details_taxonomies',40);
    remove_action( 'geodir_details_main_content', 'geodir_action_details_micordata',50);
    remove_action( 'geodir_details_main_content', 'geodir_show_detail_page_tabs',60);
    remove_action( 'geodir_details_main_content', 'geodir_action_after_single_post',70);
    remove_action( 'geodir_details_main_content', 'geodir_action_details_next_prev',80);
    
        
        add_action( 'geodir_details_main_content', 'geodir_action_page_title2',20);
        function geodir_action_page_title2()
          
        {
     add_action( 'geodir_details_main_content', 'geodir_action_before_single_post',10);
     add_action( 'geodir_details_main_content', 'geodir_action_page_title',20);
     add_action( 'geodir_details_main_content', 'geodir_show_detail_page_tabs',30);
     add_action( 'geodir_details_main_content', 'geodir_action_details_slider',40);
     add_action( 'geodir_details_main_content', 'geodir_action_details_taxonomies',50);
     add_action( 'geodir_details_main_content', 'geodir_action_details_micordata',60);
     add_action( 'geodir_details_main_content', 'geodir_action_after_single_post',70);
     add_action( 'geodir_details_main_content', 'geodir_action_details_next_prev',80);
     
        }
    #32884

    Paolo
    Site Admin
    Post count: 31206

    Just FYI for both, there is an easier way, just remove and add back with a lower priority…

    https://wpgeodirectory.com/support/topic/detail-view-move-flexslider/#post-29120

    Thanks

    #32888

    Strong Coffee
    Full Member
    Post count: 124

    Thanks to both of you! I found the second method works better as the title of the place is missing in the first solution.

Viewing 4 posts - 1 through 4 (of 4 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