Adding shortcodes

Would someone be able to assist with adding a “Recent posts with images” section to the bottom of my blog posts? As well, I’d like to add Previous/Next post buttons and an “about the author” blip.

Hi @vividtreks

You can make use of “Classic Recent Posts” element:

Make sure you have “All Elements” selected for “Content Builder Elements” under (X > Settings).

To enable the “Post Meta” option, please check (X > Theme Options > Blog > Content > Post Meta).

For the “Previous/Next post button” feature, it should be activated by default, but on other stacks rather than “Renew” which is the one you are using, to allow this feature on Renew stack, please follow these steps:


// =============================================================================
// -----------------------------------------------------------------------------
// Standard <header> output for various posts.
// =============================================================================


<header class="entry-header">
  <?php if ( is_single() ) : ?>
  <h1 class="entry-title"><?php the_title(); ?></h1>
          <?php x_entry_navigation(); ?>
  <?php else : ?>
  <h2 class="entry-title">
    <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a>
  <?php endif; ?>
  <?php x_renew_entry_meta(); ?>
  • Add this CSS code to (X > Theme Options > CSS):
.x-nav-articles {
    float: right;
    margin-top: -25px;

As this is all custom development, regretfully we wont be able to assist further. Custom development is outside the scope of our support. Were happy to provide advice and get you started in the right direction, but you would still be responsible for the implementation. And moreover, this solution may not work after several updates especially if the themes structure changed or overridden.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.