Home Forums Total Reordering Home Page Sections

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2212
    karat
    Participant

    What file do I edit to re-order the home page sections?
    Before the update it was: home-template.php

    Thanks!

    #2215
    Simou
    Participant

    Total-function.php
    function total_home_section

    #2225
    karat
    Participant

    Thanks! I see it now.

    #2320
    Hash
    Keymaster

    Here 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;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.