-
AuthorPosts
-
December 23rd, 2015 at 03:09 #34925
Tadh
I’m wondering if it is possible to somehow use columns from presentation page inside a post with a shortcode? I’m using Tempera version 1.3.3
Thank you 🙂
December 26th, 2015 at 19:16 #34955Zed
Cryout Creations mastermindWordpress.org doesn’t accept shortcodes functionality in themes (anymore) so we can’t include such functionality.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.December 28th, 2015 at 01:08 #34963Tadh
Hi, thanks for your answer.
Is there any “hack” way around this? I’ve tried putting the following code into single.php but it didn’t work..
<div id="front-columns"> <?php foreach($columns as $column): if($column['image']) : $counter++; if (!isset($column['blank'])) $column['blank'] = 0; $coldata = array( 'colno' => (($counter%$nr_columns)?$counter%$nr_columns:$nr_columns), 'counter' => $counter, 'image' => esc_url($column['image']), 'link' => esc_url($column['link']), 'blank' => ($column['blank']?'target="_blank"':''), 'title' => wp_kses_data($column['title']), 'text' => wp_kses_data($column['text']), 'readmore' => wp_kses_data($readmore), ); tempera_singlecolumn_output($coldata); endif; endforeach; ?> </div>
January 5th, 2016 at 22:47 #35039Zed
Cryout Creations mastermindJust that will not work. More code is required to include the columns in pages.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.January 25th, 2016 at 01:58 #35323Tadh
Any chance for some help with this? I’ve tried many things but couldn’t get to anything that works 🙁
February 23rd, 2016 at 12:57 #35746Corine
Hi Zed,
I have the same question. I would love to use the columns on different pages or in posts. I am no programmer so I really don’t know if this is asking too much, but if there is some code available to use I would love to get it as well…
Thanks for all your hard work!
Corine
-
AuthorPosts
The topic ‘Using columns inside a post with a shortcode’ is closed to new replies.