- This topic has 3 replies, 3 voices, and was last updated 7 years, 3 months ago by Hash.
Viewing 4 posts - 1 through 4 (of 4 total)
- AuthorPosts
- March 7, 2017 at 5:38 am #2212karatParticipant
What file do I edit to re-order the home page sections?
Before the update it was: home-template.phpThanks!
March 7, 2017 at 11:55 am #2215SimouParticipantTotal-function.php
function total_home_sectionMarch 7, 2017 at 9:19 pm #2225karatParticipantThanks! I see it now.
March 13, 2017 at 9:22 pm #2320HashKeymasterHere is how to change the order. In the function.php of child theme add the below code. Now you just need to change the order of the $array
add_filter("total_home_sections", "total_new_home_sections"); function total_new_home_sections($array){ $array = array("slider", "about", "featured", "portfolio", "service", "team", "counter", "testimonial", "blog" ,"logo" ,"cta"); return $array; }
- AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.