What am i doing wrong here? Wrapper not working... #5326
Answered
by
rica-carv
rica-carv
asked this question in
Q&A Plugins
-
|
I've searched everywhere, even copied code form other plugins, and my wrapper on a menu simply doesn't works... It's getting me crazy.... What am i doing wrong in my code? main_menu.php file code: eforum_menu_template.php file code: foruminfo_shortcode.php file code: Shortcodes is loaded, main template also and renders, but no wrapper.... Can anyone share some thoughts about this weird issue????? |
Beta Was this translation helpful? Give feedback.
Answered by
rica-carv
Aug 28, 2024
Replies: 1 comment 9 replies
-
|
Looks like the code is incomplete? $tp->parseTemplate('{MY_TEMPLATE}', false, $sc)); |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nailed it!!!!!!!!!!!
Just got to use
$SC_WRAPPER['EFIM_ICONKEY'] = "<div class='card col'>{---}</div>";What a headache!!!!
@Jimmi08 You're right, even the shortcodes locations are different, so what would be standard locations and standard names for shortcodes classes?
Plugin root or plugin/shortcodes/batch ???
class plugin_<plugin name>_<shortcode file name>_shortcodesorclass <shortcode file name>_shortcodes???I'm quite lost in space here....
Vary mixed code, and once more, with still support legacy old code, if it won't work anymore??? Anyway, to make old plugins work, they must …