Okay, I have tried another attempt and I think I am close. Can you please provide some assistance?
I followed the suggestion here:
and was able to create a custom post type called records. I have tried to add the shortcode from my desired page into the wp-single-records.php. But it does not display correct.
My goal is to create a post template based on my page and import the csv data into it with wp-all import.
Here is the code:
<?php
// =============================================================================
// VIEWS/ETHOS/WP-SINGLE.PHP
// -----------------------------------------------------------------------------
// Single post output for Ethos.
// =============================================================================
$fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true );
?>
<?php get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php x_get_view( 'ethos', 'content-records', get_post_format() ); ?>
<?php x_get_view( 'global', '_comments-template' ); ?>
<?php echo do_shortcode('[cs_content][cs_element_section _id="1"][cs_element_row _id="2"][cs_element_column _id="3"][cs_element_image _id="4"][x_share title="Share This" share_title="" facebook="true" twitter="true" google_plus="false" linkedin="false" pinterest="true" reddit="false" email="true" email_subject="Hey, thought you might enjoy this! Check it out when you have a chance:"][/cs_element_column][cs_element_column _id="6"][cs_element_headline _id="7"][cs_element_text _id="8"][cs_icon_list][cs_icon_list_item title="Apple Music" type="apple" link_enabled="true" link_url="https://itunes.apple.com/us/album/boogie-chillun-live/162338729" link_new_tab="true"]Apple Music[/cs_icon_list_item][cs_icon_list_item title="Amazon" type="amazon" link_enabled="true" link_url="https://www.amazon.com/Boogie-Chillun-John-Lee-Hooker/dp/B000000XF2" link_new_tab="true"]Amazon[/cs_icon_list_item][cs_icon_list_item title="Spotify" type="spotify" link_enabled="true" link_url="https://open.spotify.com/user/pontusadolfi/playlist/1OWnp6k4KGmZlrYx15EJG2" link_new_tab="true"]Spotify[/cs_icon_list_item][/cs_icon_list][x_button size="global" block="false" circle="false" icon_only="false" href="javascript:history.back();" title="" target="" info="none" info_place="top" info_trigger="hover" info_content=""]GO BACK[/x_button][/cs_element_column][/cs_element_row][/cs_element_section][/cs_content]'); ?>
<?php endwhile; ?>
</div>
<?php if ( $fullwidth != 'on' ) : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>
Perhaps I am copying the shortcode from the wrong place?
Here is the page I want to use as template:
http://concordportal.staging.wpengine.com/albums/john-lee-hooker-boogie-chillun/
and here is what that looks like with the custom post with added shortcode and a different image:
http://concordportal.staging.wpengine.com/records/test-record/
Thanks