- This topic has 3 replies, 3 voices, and was last updated 6 years, 9 months ago by Hash.
Viewing 4 posts - 1 through 4 (of 4 total)
- AuthorPosts
- April 4, 2017 at 5:02 pm #2696seline07Participant
Hi !
I’ll try to reoder the home page section. In fact I’d like to put the service section before the portfolio one.
I tried to put the following code in the function.php but it doesn’t seem to workif( !function_exists(‘hashone_home_section’) ){ function hashone_home_section(){ $hashone_home_sections = apply_filters(‘hashone_home_sections’, array( ‘slider’, ‘about’, ‘featured’, ‘blog’, ‘service’, ‘portfolio’, ‘team’, ‘counter’, ‘testimonial’, ‘logo’, ‘cta’ ) ); return $hashone_home_sections; } }
Anyone have a idea ?
April 12, 2017 at 11:32 pm #2760HashKeymasterChange the order in the below code.
add_filter('hashone_home_sections', 'hashone_new_home_sections'); function hashone_new_home_sections($array){ $array = array('slider', 'about', 'feature', 'portfolio', 'service', 'team', 'counter', 'logo', 'testimonial', 'blog', 'contact'); return $array; }
April 25, 2017 at 3:40 pm #2896mefaguParticipantSorry, where will we paste this section reorder code please?
April 27, 2017 at 9:50 pm #2922HashKeymasterPaste in in function.php
If possible implement it using child theme so that the future update will not have any problem.
- AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.