I want to clone and modify one of the shortcodes, how to do it properly?
Hi,
I want to reuse Timeline shortcode with most of the elements stripped. I don't need post-head, post-excerpt, post-footer and instead of the date I want a post tag.
I know that there's a betheme\functions\theme-shortcodes.php file. Is it enough to clone this section and rename it properly? How do I add post tag instead of the date?
Regards,
Rokas
Comments
if you want to modify shortcodes, you must do this in functions/theme-shortcodes.php file. This is the only way to edit shortcode items. But please notice that we do not offer code customizations so you need to make those customizations on your own.
Thanks for understanding!