Rearrange the Right Sidebar of Detail Page

This topic contains 6 replies, has 3 voices, and was last updated by  Giri 8 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #231074

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Hi

    1. I will prefer to move the company information block to the top of the sidebar above the Social media and share block on detail page. How can I achieve this?

    2. Secondly, if I want just a single image rather than a slider at the top of the detail page, how can I achieve that so that only one image (default) is displayed.

    Thank you

    #231081

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Hello, please a quick addition to my first post.

    I will now prefer the Rating Info section coming first above the social media and share block sections. This is because I have decided to move the company info items to the More Info tab following your instruction here – https://wpgeodirectory.com/support/topic/adding-sidebar-widgets-to-profile-tab/

    #231219

    Kor
    Moderator
    Post count: 16516

    Hi Adeniyi Omikunle,

    Do you mind sharing the URL of the site in question so we can take a look? You can use the private reply option below. Also, it would be better if you could share temp admin access to your site.

    Thanks!

    #231404

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    hello

    thanks for your response. Unfortunately, the site is still on a local server. What I can do is to share this screenshot. It will explain what I want to do.

    http://nimb.ws/yn9mdN

    Thank you

    #231690

    Giri
    Expired Member
    Post count: 3155

    Paste this code in your child theme’s functions.php file

    
    
    
    function gd_custom_change_sidebar_content_order() {
        return array(
            'geodir_detail_page_review_rating',
            'geodir_social_sharing_buttons',
            'geodir_share_this_button',
            'geodir_detail_page_google_analytics',
            'geodir_edit_post_link',
            'geodir_detail_page_more_info'
        );
    }
    add_filter('geodir_detail_page_sidebar_content', 'gd_custom_change_sidebar_content_order');

    Let me know how that goes.

    Thanks

    #231699

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Worked perfectly, thank you very much!

    #231700

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

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