Single Post Template design?

Hi

Will it be possible in a future update to create a single post template in Cornerstone/Pro page builder (with dynamic content) without messing about with PHP and child themes!?

We can now create headers, footers, content but surely we should be able to also create a simple post template to design the layout of the blog posts and other custom post types!?

I have been waiting for this feature for a long time and can’t believe it seems so difficult … Am I missing something? (I am currently creating a custom footer template to show post content above the footer and work as a post template).

Thanks,

Will

1 Like

Am I right in thinking the way to do this is to use a global block for content (with dynamic post content) and then modify the child template single post to include global block shortcode?

1 Like

Hi @WDC,

There is no Post Template functionality available. But it is something that we are working on and it will be available in the future, but there is no ETA regarding that functionality.

Thank you for your patience and understanding.

I’ve been waiting for this feature for years. And in fact I moved one of my sites off of Theme Co/WP over to Webflow for this very reason.

I absolutely LOVE Pro - but the fact that we can’t customize the blog template using the tools we love from Pro? is a major problem, esp. with tools like Webflow that get better and better.

I guess I’m in the minority given how long it’s taken for this to become (and still not be) a feature. Oh well.

2 Likes

Yes, I like Pro too and X/Pro have come a long way over the last few years but I’m surprised this feature is still missing. Great news that they are working on it though…

Thanks @christopher.amirian.

OK glad it’s in the pipeline. Well, in case it helps point anyone else in the right direction, the way I am doing this is to create single post php template(s) in a child theme with shortcodes for custom ‘global blocks’ inserted above and below the post content so the php (path = …/wp-content/themes/pro-child/framework/views/ethos) looks like this…

    <?php

// =============================================================================
// VIEWS/ETHOS/WP-SINGLE.PHP
// -----------------------------------------------------------------------------
// Single post output for Ethos.
// =============================================================================

$fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true );

get_header();

?>

  <div class="x-container max width main">
    <div class="offset cf">
      <div class="<?php x_main_content_class(); ?>" role="main">
<?php echo do_shortcode('[cs_gb id=3074]');?>
 
            <?php while ( have_posts() ) : the_post(); ?>
          <?php x_get_view( 'ethos', 'content', get_post_format() ); ?>
          <?php x_get_view( 'global', '_comments-template' ); ?>
        <?php endwhile; ?>

<?php echo do_shortcode('[cs_gb id=3364]');?>

      </div>

      <?php if ( $fullwidth != 'on' ) : ?>
        <?php get_sidebar(); ?>
      <?php endif; ?>

    </div>
  </div>

<?php get_footer(); ?>

The global blocks in the post template include some custom design and a number of dynamic text fields to display post meta.

Note for development team: it would be great to also have a POST CONTENT dynamic field available for the text element.

Thanks
Will

Hey Will,

Your feedback has been duly noted.

Regards.

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