Support » Theme: Bizlight » Moving Home/Front Sections Up Or Down

  • Is there a way to rearrange the order of the home/front sections?

    For example, I want to have the Blog Options appear above the Featured Section or above the About Section.

Viewing 1 replies (of 1 total)
  • Hello barrysmith,

    To rearrange the order of the front page sections, you need to add some code to your child theme’s functions.php.

    You need to have modest understanding of WordPress hooks for rearranging sections in desired order or you can Hire a Customizer for the task.

    As per your example, you can paste in following code to your child theme’s functions.php to move your blog section appear above Featured Section

    function bizlight_home_sections_priority() {
    remove_action('homepage', 'bizlight_home_blog', 20);
    remove_action('homepage', 'bizlight_home_featured', 20);
    
    }
    
    add_action('init', 'bizlight_home_sections_priority');
    
    add_action('homepage', 'bizlight_home_blog', 21);
    add_action( 'homepage', 'bizlight_home_featured', 22 );

    Hope this helps you,
    Best Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Moving Home/Front Sections Up Or Down’ is closed to new replies.