- This topic has 4 replies, 3 voices, and was last updated 7 years, 2 months ago by User7.
Viewing 5 posts - 1 through 5 (of 5 total)
- AuthorPosts
- March 23, 2017 at 9:52 pm #2523seline07Participant
Hi !
Actually I can have 4 feature page in the Featuring Section and 6 in the Service section but Id’ like to know if it’s possible ti have more (like 10 for example) ?
Thank you
Celine
March 24, 2017 at 8:38 pm #2549HashKeymasterSorry, it it not possible. But you can ask for paid customization if you want.
April 3, 2017 at 11:09 pm #2675User7Participanthi seline,
in the section-feature.php: for example write 8, if you want 7
for( $i = 1; $i < 8; $i++ ){in the section-service.php: for example write 8, if you want 7
for( $i = 1; $i < 8; $i++ ){April 4, 2017 at 6:23 pm #2698seline07ParticipantThank you !
I tried to modify it on the home-page template.php here :
<?php if( get_theme_mod('hashone_disable_service_sec') != 'on' ){ ?> <section id="hs-service-post-section" class="hs-section"> <div class="hs-service-left-bg"></div> <div class="hs-container"> <div class="hs-service-posts"> <?php $hashone_service_title = get_theme_mod('hashone_service_title',__('Why Choose Us', 'hashone')); $hashone_service_sub_title = get_theme_mod('hashone_service_sub_title', __('Let us do all things for you', 'hashone')); ?> <?php if($hashone_service_title){ ?> <h2 class="hs-section-title wow fadeInUp" data-wow-duration="0.5s"><?php echo esc_html($hashone_service_title); ?></h2> <?php } ?> <?php if($hashone_service_sub_title){ ?> <div class="hs-section-tagline wow fadeInUp" data-wow-duration="0.5s" data-wow-delay="0.5s"><?php echo esc_html($hashone_service_sub_title); ?></div> <?php } ?> <div class="hs-service-post-wrap"> <?php for( $i = 1; $i < 8; $i++ ){ $hashone_service_page_id = get_theme_mod('hashone_service_page'.$i, $hashone_page); $hashone_service_page_icon = get_theme_mod('hashone_service_page_icon'.$i, 'fa-globe'); if($hashone_service_page_id){ $args = array( 'page_id' => $hashone_service_page_id ); $query = new WP_Query($args); if($query->have_posts()): while($query->have_posts()) : $query->the_post(); $hashone_wow_delay = ($i*300)+300; ?> <div class="hs-clearfix hs-service-post hs-service-post<?php echo $i; ?> wow fadeInDown" data-wow-duration="0.5s" data-wow-delay="<?php echo $hashone_wow_delay; ?>ms"> <div class="hs-service-icon"> <i class="fa <?php echo esc_attr($hashone_service_page_icon); ?>"></i> </div> <div class="hs-service-excerpt"> <h6><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h6> <?php if(has_excerpt()){ echo get_the_excerpt(); }else{ echo hashone_excerpt( get_the_content(), 100); } ?> </div> </div> <?php endwhile; endif; wp_reset_postdata(); } } ?> </div> </div> </div> </section>
But It doesn’t change anything 🙁 I can not put more than 6 pages.
April 4, 2017 at 7:40 pm #2705User7Participantyou must open the “customizer.php” and under “service pages” change this code:
for( $i = 1; $i < 7; $i++ ){ - AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.