Home Forums Free Themes Business Hub Change the order of home section

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #61535
    stanfordlin
    Participant

    Hi, how do I change the order of the home section, for example I want to place the blog on the very top.

    I was able to change it in the parent theme folder, but how would I change it to the child theme?

    Thanks.

    #61537
    stanfordlin
    Participant

    Screenshot can be found here:

    https://imgur.com/a/WBriF

    Thanks.

    #61669
    wensolutions
    Keymaster

    Hello @stanfordlin,

    To make the blog section appear at first you have to include below-given code in your child theme functions.php file.

    You can even activate the child theme using the plugin given below:

    https://wordpress.org/plugins/wp-child-theme-generator/

    After activating the child theme in your child theme functions.php file paste below given code.

    function business_hub_customization(){
    
    remove_action( 'business_hub_blogs_content', 'business_hub_blogs_section', 10 );
    add_action( 'business_hub_slider', 'business_hub_blogs_section', 15);
    
    }
    add_action('init','business_hub_customization');

    Hope this helps.

    Best Regards!!

    Have a good day 🙂 .

    #61687
    stanfordlin
    Participant

    Thank you!

    #61688
    wensolutions
    Keymaster

    Hello @stanfordlin,

    Glad we could help you !!

    If you have any issues further, please feel free to post your queries and we will happily help you further.

    We will really appreciate if you could help us too by rating our theme in WordPress repo here:-

    https://wordpress.org/support/theme/business-hub/reviews/

    Best regards !!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.