Home Support Total Reordering Sections

This topic contains 1 reply, has 2 voices, and was last updated by  HashThemes 2 months, 1 week ago.

  • Author
    Posts
  • #3030

    charveep
    Participant

    Hi,

    Love the theme. Absolute saviour. Please help me reorder the section. I want to have slider, about us, call to action, blog, testimonials. I do not know an CSS and will not know where is what directory. You will have to run me through in details.

    thanks much.

  • #3068

    HashThemes
    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;
    }

You must be logged in to reply to this topic.