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

Sign In or Register to comment.