If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Ok, so I officially love Kriesi’s themes, and have 5 of them at he moment.
But right now the project that I am working on is based on the Coherence theme. but I would like to add the Sidebar tab and Bigbox shortcode from the Choices theme.
I know that this is outside of the theme support ‘concept” but am just asking for a few pointers to do this myself.
Any help would be appreciated.
You can find the code for shortcodes on framework > php > avia_shortcodes > sc > big_box.php and sidebar_tabs.php. Then you can locate register shortcodes on includes > admin > register-shortcodes.php. Just find big_box and sidebar_tabs. Another file you need is the shortcodes.css on your css folder.
This is the files that you need to make the shortcode work but there may still be some points that I am missing. This will get you started.
So I just spent the last day trying to get this to work.
I used a mix of directory and file comparisons, and well here is the verdict
That was a wasted day.
I wonder if Kriesi can shed some light because I am stumped!!
You also need to add following code to functions.php (add it at the very bottom) to activate the new shortcodes:
* add shortcode editor functions
* allowed positions: inline, small_box, content, widget
add_theme_support( 'avia-shortcodes', array( 'content' => array('sidebar_tabs'=>'Sidebar Tabs', 'table'=>'Table'), 'small_box' => array('iconbox_top'=>'Icon Box (Icon on Top)', 'big_box'=>'Superbig Content Box') ) );
The topic ‘Add shortcode form Choices to Coherence’ is closed to new replies.