• We are using the plugin to pin specific posts on the homepage, and have added the date to a custom template, but the date is only showing on the first entry:

    <li class="elenco-news">
    		<i class="calendario-li-eventi-home fas fa-calendar-alt"></i><span class="data-evento-elenco-home-lista"><?php the_date(); ?></span><span class="chiocciola-evento-elenco-home-lista">@</span><span class="dove-evento-elenco-home-lista">Abbadia San Salvatore</span>
    		<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
    	</li>
Viewing 1 replies (of 1 total)
  • Hi gleamsrls,
    You can copy the template: ‘posts_loop_template.php’ from the plugin’s directory and paste it to the theme’s root directory. After doing so, you can edit the file as per your need and don’t forget to add the template name in shortcode as given bellow.

    [ic_add_posts template='template-in-theme-dir.php']

    If this is not the issue then please provide all the steps you followed with the short code.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Date not displaying on all posts’ is closed to new replies.