How can i add a custom shortcode to core shortcodes? #5280
Unanswered
rica-carv
asked this question in
Q&A Themes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can i add a custom shortcode to core or other plugins shortcodes, at theme level rendering?
For instance, i want to add a counter to the news, but i can't make it work inside the theme.
How can i do this?
$parm is always 0, because i can't get the category_id from current news template at rendering time, but the shortcode output is rendered in the news_template that is inside the theme.... weird...
Beta Was this translation helpful? Give feedback.
All reactions