Custom post type with dedicated single-xxx.php post template

I have a Custom post type that I have created using mainly ACFPro fields.

All these custom fields are populated for each iteration of the post type.

I have a single-solutions.php file in my child theme that creates a full width post with nothing but the post in between the header and the footer.

        <?php
    /*
    Template Name: Solution Info
    Template Post Type: solutions
    */
    ?>

    <?php get_header(); ?>

    <div class="x-main full" role="main">
    	<?php while ( have_posts() ) : the_post(); ?>

        	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            	<div class="entry-wrap">

            		<div class="x-container max width">
    					<?php the_content(); ?>
    					<?php if ( is_singular() ) : ?>

    						<div class="entry-extra">
    							<?php x_portfolio_item_tags(); ?>
    							<?php x_portfolio_item_project_link(); ?>
    							<?php x_portfolio_item_social(); ?>
            				</div>

    					<?php endif; ?>
            		</div>
            	</div>
        	</article>

        <?php endwhile; ?>
    </div>

    <?php get_footer(); ?>

The Global block shortcode is

[cs_gb id=2394]

I would like to include the shortcode to a defined global block (topmost section) on this post template automatically by calling it automatically in the top of this page and then allowing additional content defined on a per post basis below the global block by either using either the standard wordpress post content or additional section of probuilder content…

Is this possible?

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