Configuration Problem
-
Hi,
I have problem to configure the plugin.
This is my code:<div class=”max-width”>
<div class=”content load-more reduce-padding” id=”container”>
<?php
// the query to set the posts per page to 3
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$args = array(‘posts_per_page’ => 3, ‘paged’ => $paged );
query_posts($args); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class=”post in-evidenza medium-version”>
<div class=”image”>
<?php $image = get_field(‘immagine’);
if( !empty($image) ): ?>
” alt=”<?php echo $image[‘alt’]; ?>” title=”<?php echo $image[‘title’]; ?>” />
<?php endif; ?>
</div>
<div class=”article”>
<div class=”contenitor”>
<div class=”place-date”>
<span>Luino</span> | <?php the_time(‘j F Y’) ?>
</div>
<div class=”article-author”>
<?php
$user_id = get_the_author_meta(‘ID’);
$size = ‘thumbnail’;
$imgURL = get_cupp_meta($user_id, $size);
echo ‘‘;
?>
<span class=”surname”><?php the_author_posts_link(); ?></span>
</div>
</div>
<h2 class=”article-title”>“><?php the_title(); ?></h2>
<p class=”short-summary”>“><?php the_field(‘occhiello’); ?></p>
<div class=”social-share”>
“><i class=”fa fa fa-comment”></i> <?php comments_number(‘0’, ‘1’, ‘%’); ?>
|
<div class=”social-icon”>
<?php include(‘social-sharing.php’);?>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php echo get_the_posts_pagination(); ?>
<?php else : ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
<?php endif; ?>
</div>
</div>these are my settings:
Posts Selector: .content.load-more
Post Selector: .post
Navigation Selector: .navigation
Next Selector: .nav-links a.nextyou can see a preview at this link:
https://www.domenicopierro.it/wordpress/category/notizie/approfondimento-news/I have disabled all plugins but the result is always the same.
thank you in advance
- The topic ‘Configuration Problem’ is closed to new replies.