Home Support Total Reordering Sections

This topic contains 3 replies, has 3 voices, and was last updated by  azita 2 weeks, 3 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • 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;
    }
    #3610

    azita
    Participant

    Hello,
    Thank you for this beautiful theme.
    WP v. 4.8.2 and Total last version
    I added your code to the function.php in my child theme and didn’t work.
    I placed blog after slider, but nothing changed. I am still working on my local.
    I appreciate if you give me some advice.

    Thank you

    #3611

    azita
    Participant

    It was my fault. i had function.php instead of functions .php
    I fixed the name and the code is working perfectly.
    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.