Hello, so i made a custom archive page and managed to get this working The Grid. Now that the search results show in my archive page using The Grid, i want to add below the results some elements i made in cornerstone for the archive but i don’t know how to use cornerstone for that archive-speaker.php or how to link that php to a cornerstone page i made that has a nice template. Can you please provide some insight on this ? Or at least on how i can " beauty " up my archive page using cornerstone or some cornerstone shortcodes that links somehow to some elements from it. I can provide some picture on what i mean if needed.
Hello Alexandru,
Thanks for writing in!
Please be advised that Cornerstone is a page builder. You can use it to edit a page and posts. You cannot use Cornerstone to edit archive pages. You cannot even use WP default editor to edit archive pages. Please go to X > Global Blocks and create a global block. This will enable you to use Cornerstone in creating a block. Once you are done with the block, please take note of the global block shortcode and insert it in the code where you have added TheGrid plugin code in the wp-speaker.php file or the corresponding file in your child theme. To know more about the Global Block, please check this out: https://theme.co/apex/forum/t/global-blocks/24723
Hope this helps.
Exactly what i needed to know thank you so much.
You’re always welcome Alexandru!
Cheers
Hello i’m trying to insert this [cs_gb id=2943] into the archive-speaker.php after the x_get_view( x_get_stack(), ‘wp’, ‘speaker’ ); line but i get an error. Like this " Parse error: syntax error, unexpected ‘id’ (T_STRING), expecting ‘]’ in C:\wamp64\www\dopmotorsport\wp-content\themes\pro-child\archive-speaker.php on line 18 " . What am i doing wrong ?
Hello Alexandru,
Your shortcode should be inserted in the wp-speaker.php file.
Make sure that it looks like this:
<?php echo do_shortcode('[cs_gb id="2943"]'); ?>
If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password
To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288
Best Regards.
This worked perfectly thank you alot !
You are most welcome!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
