Answer the question
In order to leave comments, you need to log in
How to make a page with tags at /tags/ in Wordpress? And how to assign an image to tags?
1. I want to display a list of tags on the page /tags/ (standard slug for tags, for example, /tags/one - page for tag one). Now it gives 404 error. How to fix?
2. How to attach an image to a tag? What would display a list of tags with a preview?
Answer the question
In order to leave comments, you need to log in
1. The list of tags can be displayed using a special plugin https://wordpress.org/plugins/cool-tag-cloud/
The standard url for displaying the contents of the one tag is /tag/one
2. Install ACF, create a group of fields for tags in it
Then create the field itself, Field Type - Image.
Next, customize the template for displaying tags in your theme, you need to add the output code for the image field that you created above.
For example, the template for displaying tags in the twentyseventeen theme is contained here:
/wp-content/themes/twentyseventeen/inc/template-tags.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question