- This topic has 6 replies, 4 voices, and was last updated 5 years, 9 months ago by Hash.
- AuthorPosts
- March 25, 2018 at 7:17 pm #4921hackernewbieParticipant
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,
RajivMarch 27, 2018 at 12:50 pm #4949TickyNuckerParticipantPut 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; }
March 27, 2018 at 10:30 pm #4954HashKeymasterPlease 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.
March 29, 2018 at 12:43 pm #4972hackernewbieParticipantThanks a lot guys, this really helps!!
March 29, 2018 at 12:45 pm #4973hackernewbieParticipantFor sure, all changes always go in the Child theme, thanks!
April 6, 2018 at 11:05 am #5113therainforestryParticipantI 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?
April 9, 2018 at 9:01 pm #5149HashKeymaster@therainforestry this code will not work with other themes. Please try using our theme and then adding the code inorder to work.
- AuthorPosts
- You must be logged in to reply to this topic.