I need to insert tags (of the post) inside post in the exact place. (default: they go after)
As I understand the only way is to use shortcode and write its description in functions. I think its an easy one including "print $tags_list", but I haven't managed to write the whole piece of code needed.
Can you help me? Or advise another way to solve my problem?
PS: Maybe another way is to insert tag code inside post, but wordpress editor doesn't understand
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
You don't really need a shortcode unless the position changes per post.
To render tags in your template (you could just move the code):
If you wanted to make a shortcode:
And use [tags]