Tagged: layout
Dear kriesi enfold team,
this workaround to make a whole column clickable works perfect:
https://kriesi.at/support/topic/make-entire-block-clickable/#post-610712
Is it possible to have this in a child theme, so that the main theme could be updated without a hassle?
I tried to place this in the child theme in different ways and directories, but it didn’t work.
Is there a way to do this properly?
best regards
Daniel
you have to create a folder in your child-theme folder – call it “shortcodes”
put in the columns.php of josue in that folder and
place this to your child-theme functions.php:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
function avia_include_shortcode_template($paths)
{
$template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.'/shortcodes/');
return $paths;
}
Dear Günter,
thx, that worked like a charm!
best regards
Daniel
Hi!
Glad it worked!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit