Hi guys,
Any idea why no posts would be showing on my tags pages?
There are 5 posts with the tag “oil prices”, but no posts are showing:
http://www.patriotenergy.com/tag/oil-prices/
As always thanks for your help!
-D
Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
Josue
Hey!
Site login doesn’t seem to work, please check.
Cheers!
Josue
Hey!
It seems to be caused by one of your plugins, i disabled all now and you can see the tagged Posts are showing:
http://staging.patriotenergy.com/tag/opec/
Cheers!
Josue
Thank you Josue,
It appears that Relevanssi is causing the issues. When the plugin is enabled, no posts show on the tag pages.
I found this post on your forum that discusses the same issue: https://kriesi.at/support/topic/post-tags-not-working-if-relevanssi-is-enabled-another-try/
Do you know if there is any way to keep Relevanssi active and fixing this issue?
Thanks so much for your support.
Dave
Hey Dave,
Try following – go to wp-content/themes/enfold/ and rename tag.php to tag_bak.php. Does this fix the issue?
Best regards,
Josue
Yes that fixed the issue! Thank you! Will this affect anything else? Also, is there any way to avoid making this change each time the theme is uploaded?
Technically, if no tag.php is provided it falls back to archive.php so that means that if you put archive.php contents in tag.php (instead of removing it) you’ll get the same result, the difference is, you can do this from a child theme.
Best regards,
Josue
Ok, yes I would definitely like to use a child theme for this. Should I just add the archive.php contents to the end of tag.php? Or should I insert them somewhere specific?
Create an empty tag.php file in your child theme and put the contents of archive.php (from the parent theme) in it.
Best regards,
Josue
Awesome that worked! Thank you!
You are welcome, glad to help :)
Regards,
Josue