Hi there,
I found this thread explaning the same issue:
Maybe it isn’t a good way to use code, but i’m building my portfolio page / template like this:
content-portfolio.php in my child-theme (first part of it, just to explain):
<?php echo do_shortcode ('[cs_content][cs_section bg_image="https://www.nl/wp-content/uploads/2017/02/IMG_2885.jpg" parallax="false" separator_top_type="none" separator_top_height="50px" separator_top_angle_point="50" separator_bottom_type="none" separator_bottom_height="50px" separator_bottom_angle_point="50" class="color-overlay" style="margin: 0px;padding: 25px 0px;"][cs_row inner_container="true" marginless_columns="false" style="margin: 0px auto;padding: 0px;"][cs_column fade="false" fade_animation="in" fade_animation_offset="45px" fade_duration="750" type="1/1" style="padding: 0px;"][x_custom_headline level="h1" looks_like="h3" accent="false" style="color: hsl(0, 0%, 100%);"]' . $titel . '[/x_custom_headline][x_gap size="40px"][x_custom_headline level="h4" looks_like="h5" accent="false" style="color: hsl(0, 0%, 100%);"]Handig om meteen te weten[/x_custom_headline][cs_block_grid type="two-up"][cs_block_grid_item title="Links" style="color:white;"]
So:
- I made a page in cornerstone
- I placed the wordpress code of it as a shortcode
- I added some custom post types as ’ . $titel . ’ in the text. So i fill in the unique content in the pages with ACF.
Now it are the [cs_element_content_area_off_canvas _id=“30”] shortcodes, it doesn’t work anymore. You explain in the mentioned post you’re placing all information of this id ‘30’ in the post meta. How could i place it in my code?
Do you have a solution to accomplish the same I always did before with V2 elements?
Thanks a lot!
P.S. I found the id’s in the database. Is there a way to add this information directly into the shortcode?
