• serviceweb

    (@serviceweb)


    Hello and thanks for template,

    i need to change the order of section in home page. I try to change on singular file on home-sections>style-0

    For example from

    <?php
       // section tagline
       global $allowedposttags,$alchem_home_animation;
       $section_hide    = absint(alchem_option('section_1_hide',0));
       $content_model   = absint(alchem_option('section_1_model',0));
       $section_id      = esc_attr(sanitize_title(alchem_option('section_1_id')));
       $section_color   = esc_attr(alchem_option('section_1_color'));
       $slogan_title    = wp_kses(alchem_option('section_1_slogan_title'), $allowedposttags);
       $slogan_content  = wp_kses(alchem_option('section_1_slogan_content'), $allowedposttags);
       $button_text     = esc_attr(alchem_option('section_1_button_text'));
       $button_link     = esc_attr(alchem_option('section_1_button_link'));
       $button_target   = esc_attr(alchem_option('section_1_button_target'),'_blank');
       $content_align   = esc_attr(alchem_option('section_1_content_align'),'right');
       $section_content = wp_kses(alchem_option('section_1_content'), $allowedposttags);
       $section_content = str_replace('\\\'','\'',$section_content);
       $section_content = str_replace('\\"','"',$section_content);
     ?>

    To

    <?php
       // section tagline
       global $allowedposttags,$alchem_home_animation;
       $section_hide    = absint(alchem_option('section_2_hide',0));
       $content_model   = absint(alchem_option('section_2_model',0));
       $section_id      = esc_attr(sanitize_title(alchem_option('section_2_id')));
       $section_color   = esc_attr(alchem_option('section_2_color'));
       $slogan_title    = wp_kses(alchem_option('section_2_slogan_title'), $allowedposttags);
       $slogan_content  = wp_kses(alchem_option('section_2_slogan_content'), $allowedposttags);
       $button_text     = esc_attr(alchem_option('section_2_button_text'));
       $button_link     = esc_attr(alchem_option('section_2_button_link'));
       $button_target   = esc_attr(alchem_option('section_2_button_target'),'_blank');
       $content_align   = esc_attr(alchem_option('section_2_content_align'),'right');
       $section_content = wp_kses(alchem_option('section_2_content'), $allowedposttags);
       $section_content = str_replace('\\\'','\'',$section_content);
       $section_content = str_replace('\\"','"',$section_content);
     ?>

    But i not see section but blank space.

    So how can i change the order? Thanks

  • The topic ‘Change order Section on Home Page’ is closed to new replies.