Home Forums Travel WordPress Theme Reply to leonudwin Reply To: Reply to leonudwin

#3013

Johnny
Participant

Hi,
1. open file single.php and remove below codes will stop loop all gallery posts:

<div id="urlList" style="display:none">
<?php
$args = array( 'numberposts' => 30 );
$lastposts = get_posts( $args );
foreach($lastposts as $post) : setup_postdata($post); ?>
<?php if ( ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) )  )  { ?><span><?php echo the_permalink();?></span><?php } endforeach; ?>
</div>

2. the google map block zoom control already there. if enlarge the map block, I think this will break the original design.
3. create a page with ‘list page’ template, and set option ‘category’ to filter the posts. from backend settings/reading, assign the page to front page.
4. the backgound images have not dimension limited, but the smaller the size, the performance of loading will be increased.
Best