Archived topic
Display tags below content
7 replies · Started by Anne on April 6, 2021
Hi team,
I'd like to show the tags just below the content of articles. (only on posts, not on category, tags, or other pages)
I understand I should use elements but not sure what php should go in there. I read a few similar requests in the support forums but still feeling confused.
Example page: https://nesslabs.com/optionality-fallacy
Screenshot of where I'd like to show the tags: https://clb.sh/ea7cc6
Thanks so much for your help!
Hi there,
you can enable Tags in Customizer > Layout > Blog --> Single (tab) --> Display Post Tags.
You may need to move the Sign Up form so that appears below the tags... bur first off try the above and then we can look to see if we need to move the form.
Hi David,
I just checked and these are already activated, which makes me wonder why they're not displaying... Any other place I should look?
Aah the entry meta is being hidden using CSS. In Customizer > Additional CSS look for and delete this:
.entry-meta {
display: none;
}
You will then need to enable / disable the meta you do/don't want displayed such as Dates, Categories etc. in the Customizer > Layout > Blog --> Single Settings
For the form - does the plugin provide a shortcode for displaying the form ?
Oops, I'm sorry I didn't remember doing that! All fixed now, the tags are showing just below the newsletter subscription form: https://clb.sh/1334d9
The way I currently use the ConvertKit plugin doesn't need a short code, it pulls directly from the API. However they do offer the option of using a short code. I'll include it in the private information box below.
What's the best way to move the tags above the subscription form and below the content of the blog post?
Thanks so much for your help.
Ok so you would need to use the Shortcode to display the form. As currently the form is filtered into the content and we need it below the meta.
To display below the meta:
1. Create a new Hook Element in Appearance > Elements:
https://docs.generatepress.com/article/hooks-element-overview/
2. Add your shortcode.
3. Check execute Shortcodes.
4. Set the Hook to: generate_after_content
5. Set the Display Rules to Posts > All Posts.
It worked perfectly, thank you so much!
Glad to hear that!