New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins filtering on the_content do not work correctly #156
Comments
P.S. There is also an in_the_loop function which needs to produce the correct result. |
Regarding point 1. above, in lcp-catlist.php at around line 56 we create the query for the catlist loop. However I think we should probably follow the template shown here to save the existing query, create our own query and then restore the original query once catlist has finished. |
I have tried to make this change, but (so fa at least) it just screws it up. {sigh} |
... so that other plugins work as if this was a blog or archive post. See issue picandocodigo#156. This commit creates the loop. The is_ functions will need fixing too, but that will be in a later commit.
Fixed by #157. I decided that setting the conditional tags was probably not possible - just too many different possibilities for the user to choose to be able to know what to set or clear. |
Can be closed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This plugin applies filters (correctly) on the_content (at lcp-catlist.php line 297), however if these plugins (like simple-tags) want the post-id of the content or check what type of page this is, then they can produce invalid results.
I am still researching, trying to work out how to save, set and reset these, and then I will need to decide exactly what needs to change whilst in the loop. Any help that people can give would be appreciated.
The text was updated successfully, but these errors were encountered: