I have assigned prayers by page tags, but am not able to filter them for display. I have used the shortcode to display prayers by author with no problem. I have tried using [amen page=”prayer”], which yields nothing. I have used [amen page=”prayer” author=”whoever”], which displays all of “whoever’s” prayers including the “prayer” tags. This yields the same results as if I just used [amen author=”whoever”]. I am not sure that I understand how to implement the tag filter. I am trying to use it as a filter to filter an authors prayers on any page.
In order to filter by page, you currently need to define the shortcode attribute of page=”PAGE ID” where PAGE ID is the database assigned post id of the page.
So, for example, if you have tagged a prayer for a page titled ‘Sample Page’ that has a post id of 254, then you will want to include the following shortcode on the ‘Sample Page’: [amen page=”254″]. Additionally, you could filter only prayers from a specific author by adding the author attribute.
Hope that helps a bit.
I was using it as you have described except with the page name and not its id. The page tags are working fine.
I am using your example of filtering with both the page=”prayer” and author=”whoever” at the same time, but when I do so it is additive and not excluding. I get all the prayers and whoever’s at the same time, instead of filtering down to only the ones with both variables being met.
Thank you so much.
Ah, good to know … i’ll check that out. Thanks for the feedback.
@amazingynot: Version 0.3.2 should fix the filtering for page and author.
- The topic ‘Tags’ is closed to new replies.