-
JMGParticipant
Hello,
First of all, thanks for this great theme!
However, it looks like there is a bug with the search form: it only works from the home page π I always get a 404 error or an empty category when I run a search from anywhere else.
Also, when I try to add extra features such as post navigation (previous and next) and related posts to single posts, I cannot have them appear where I want, that is below the Meta Utility, they always display betaeen the post content and the Meta utility… The template editor does not help in this case. The easy fix would be to add the piece of code these plugins provide in my templates so they appear where I want, but I have not found them yet, do I miss something?
Thanks!
EDIT: after some more testing, it seems that the search issue arises when you use permalinks, the search does work when you use the default “ugly” URLs.
- This topic was modified 10 years, 3 months ago by JMG.
Daniel TaraKeymasterIf the issue is related to permalinks it probably has to do with your server configurations and not the theme or WordPress. Are you using nginx by any chance?
Try using priorities to add your post navigation and related posts. To make them appear below the meta utility try this code:
add_action( 'enlightenment_entry_footer', 'my_post_navigation', 12 ); add_action( 'enlightenment_entry_footer', 'my_related_posts', 12 );
JMGParticipantThank you for your reply Daniel.
Regarding the search issue, I do not think it is server-related as everything works perfectly with Pinboard π
The problem is that when you are on a page other than the home page and you run a search, the “?s=xxx” part is appended to the URL of this page instead of being appended to the home page URL, so when you are in a category, it returns results in this category only, and when you are on a single post page, it returns a 404 error…Here is my site address in case you want to try : http://www.lecoinduson.fr
Thanks for your help!
Daniel TaraKeymasterYou are right, there is a bug with the search form. It will be fixed in the next version.
You must be logged in to reply to this topic.