Home Forums Total Reordering Sections

Viewing 7 posts - 1 through 7 (of 7 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
    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;
    }
    #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!

    #3846
    SoulJiah
    Participant

    ok so where do you add it? any where?

    #3888
    maja1
    Participant

    Hello,

    I edited the code – to reorder sections and it works, but now the header picture (or color) doesent work. Why?

    Help please.

    #3921
    Hash
    Keymaster

    @SoulJiah put it in functions.php file


    @maja1
    the code should not effect header picture. May be you did something wrong.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.