Hmm...... i think that\'s not related to the plugin. It should be displayed as configured or made by the WP theme....
Hi Powie,
Thanks for your reply, and sorry for this late follow-up.
I find it a little strange that the issue would come from my WP theme, as I haven\'t modified it lately...
Would you have any idea what template file I should modify, and in what way, to fix this issue?
To give you more background, here\'s my setup:
- I\'ve configured my website to simply display a certain page as a homepage;
- The content of that page is simply the random post shortcode, to display one single random post.
So, as this is a page, I\'ve looked at the \"page.php\" file in my theme folder (called \"Readly\").
Here is the code:
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other \'pages\' on your WordPress site will use a
* different template.
*
* @package Readly
* @since Readly 1.0
*/
get_header(); ?>
<div id=\"primary\" class=\"content-area\">
<div id=\"content\" class=\"site-content\" role=\"main\">
<?php while (have_posts()): the_post(); ?>
<?php get_template_part(\'content\', \'page\'); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if (comments_open() || \'0\' != get_comments_number())
comments_template();
?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
However, as it seems that this file summons up the \"content\" part of the template, I\'m wondering whether the actual theme file to modify should be the one named \"Content.php\" in the same folder? This is the code:
<?php
/**
* @package Readly
* @since Readly 1.0
*/
?>
<article id=\"post-<?php the_ID(); ?>\" <?php post_class(); ?>>
<?php
$post_format = get_post_format();
if ($post_format != \'quote\'):
?>
<header class=\"entry-header\">
<div class=\"entry-meta\">
<?php readly_posted_on(); ?>
<?php if (!post_password_required() && (comments_open() && \'0\' != get_comments_number())): ?>
<span class=\"sep\"> · </span>
<span class=\"comments-link\"><?php comments_popup_link(__(\'Leave a comment\', \'readly\'), __(\'1 Comment\', \'readly\'), __(\'% Comments\', \'readly\')); ?></span>
<?php endif; ?>
<?php edit_post_link(__(\'Edit\', \'readly\'), \'<span class=\"sep\"> · </span><span class=\"edit-link\">\', \'</span>\'); ?>
</div><!-- .entry-meta -->
<?php if (\'link\' !== get_post_format()): ?>
<h1 class=\"entry-title\">
<a href=\"<?php the_permalink(); ?>\" title=\"<?php echo esc_attr(sprintf(__(\'Permalink to %s\', \'readly\'), the_title_attribute(\'echo=0\'))); ?>\" rel=\"bookmark\"><?php the_title(); ?></a>
</h1>
<?php endif; ?>
</header><!-- .entry-header -->
<?php endif; ?>
<?php
if (\'audio\' == $post_format) readly_formatted_audio();
elseif (\'video\' == $post_format) readly_formatted_video();
elseif (\'image\' == $post_format) readly_formatted_image();
elseif (\'gallery\'