Home Forums Total Change sequence of the sections of Homepage

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4921
    hackernewbie
    Participant

    Hi Guys,

    Is it, by any chance, possible to change the sequence of the sections on the homepage?

    There are sections that I wish were above other and would love to know if the theme allows us to do without playing around with the code.

    Any pointers here would be really appreciated.

    Thanks,
    Rajiv

    #4949
    TickyNucker
    Participant

    Put this in your child themes functions.php

    /*Changes the order of sections on front page.
      Function defined in total-functions.php of the parent theme.*/
    function total_home_section(){
    	$total_home_sections = apply_filters('total_home_sections',
    	array(
    		'slider',
    		'about',
    		'cta',
    		'blog',
    		'team',
    		'service',
    		'testimonial',
    		'featured',
    		'counter',
    		'logo',
    		'portfolio'
    		)
    	);
    	return $total_home_sections;
    }
    #4954
    Hash
    Keymaster

    Please implement the above code using child theme to change the order of the section. Making change in parent theme can cause your customization lost each time you update the theme.

    Or you can even purchase our pro version if you want to change the order with just drag and drop in the customizer panel.

    #4972
    hackernewbie
    Participant

    Thanks a lot guys, this really helps!!

    #4973
    hackernewbie
    Participant

    For sure, all changes always go in the Child theme, thanks!

    #5113
    therainforestry
    Participant

    I tried pasting this in Orfeo, the child theme of Hestia’s functions.php but if I changed the order of the array, the entire site wouldn’t show up. What do I do?

    #5149
    Hash
    Keymaster

    @therainforestry this code will not work with other themes. Please try using our theme and then adding the code inorder to work.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!
CHRISTMAS SALE ! 🎁🎁 Enjoy 30% OFF 🔖 Use Coupon CodeHOLIDAY at checkout.