GeoDirectory SupportChange Sidebar item position from below to upper part – GeoDirectory Support https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/feed Fri, 20 Feb 2026 18:55:03 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54091 <![CDATA[Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54091 Tue, 22 Sep 2015 14:14:42 +0000 Max Hilton Hi,

I need the sidebar item to be swith from bottom to top for detail page, can I know what should I do to change that ? Thanks

]]>
https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54092 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54092 Tue, 22 Sep 2015 14:16:18 +0000 Max Hilton https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54097 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54097 Tue, 22 Sep 2015 14:47:12 +0000 Max Hilton https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54142 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54142 Tue, 22 Sep 2015 18:31:55 +0000 Paolo Hi,

copy the file geodirectory/geodirectory-templates/detail-sidebar.php and paste in your child theme inside a folder called geodirectory.

Cut the lat bit:


    <div class="geodir-sidebar-main">
        <div class="geodir-gd-sidebar">
            <?php dynamic_sidebar('geodir_detail_sidebar');
            /**
             * Calls the standard sidebar.
             *
             * @since 1.0.0
             */
            do_action('geodir_sidebar');
            ?>
        </div>
        <!-- geodir-gd-sidebar ends here-->
    </div>
    <!-- geodir-sidebar-main ends here-->

and paste it between these 2 lines at the top of the file.:


<div id="gd-sidebar-wrapper">
    <!- paste here -> <div class="geodir-sidebar-main">

Let us know how you went.

Thanks

]]>
https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54192 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54192 Wed, 23 Sep 2015 11:57:14 +0000 Max Hilton https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54193 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54193 Wed, 23 Sep 2015 11:58:36 +0000 Max Hilton https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54227 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54227 Wed, 23 Sep 2015 17:06:41 +0000 Paolo Please see: http://docs.wpgeodirectory.com/customizing-geodirectory-templates/

Let us know, without a link to your website and admin credentials I can’t really check if you are doing it right.

Let us know,

Thanks

]]>
https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54475 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54475 Fri, 25 Sep 2015 07:20:48 +0000 Max Hilton https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54532 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-54532 Fri, 25 Sep 2015 18:23:43 +0000 Paolo I’m sorry Max, I got confused and was giving you a wrong information. That template is no longer even used. Stiofan corrected me. You just need these in your functions.php:


remove_action('geodir_detail_sidebar_inside', 'geodir_details_sidebar_place_details', 10);
remove_action('geodir_detail_sidebar_inside', 'geodir_details_sidebar_widget_area', 20);

add_action('geodir_detail_sidebar_inside', 'geodir_details_sidebar_place_details', 20);
add_action('geodir_detail_sidebar_inside', 'geodir_details_sidebar_widget_area', 10);

I added them already and it works.

Thanks

]]>
https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-55689 <![CDATA[Reply To: Change Sidebar item position from below to upper part]]> https://wpgeodirectory.com/support/topic/change-sidebar-item-position-from-below-to-upper-part/#post-55689 Sun, 04 Oct 2015 12:42:22 +0000 Max Hilton Hi,

It workswell, thanks for the help.

]]>