April 21, 2019 at 4:51 pm #8877
Sorry if this has been asked elsewhere, but I have a question regarding posts that are marked with multiple categories…
If I set up a page and I want to use a WPShowPosts list to display all of my posts that fall under a certain specific category — but yet all of my posts are marked under several different categories — is there a way — either already built into the plugin or by way of CSS code — to display (show) just the specific category I want on the front end for the user (and hide the other categories in which those posts also fall under)?
Please let me know if I’m not making sense.
Thanks for your help,
April 22, 2019 at 5:36 pm #8894
- This topic was modified 2 years ago by Eric.
I’m not sure I fully understand. Which posts would you want to hide? Ones that have multiple categories? Do the posts you want to show only belong to one category?April 22, 2019 at 7:57 pm #8899
Yeah, sorry, it’s a bit of an odd question:
Here is a link that currently shows what I am talking about:
The posts that are listed on this page each have three categories assigned to them.
On this page (at the link above), I am listing — using your plugin — all posts marked with the “Living Book” category.
On the front end page it is currently displaying/showing all three categories that are assigned to each post.
The question is: Would there be any way to display/show just the “source” of the quote, which in this case is “Vernon Howard,” even though the list I am displaying are posts within the “Living Book” category.
So to explain further, there could be other “Sources” of a quotation within this “Living Book” list (which there will be once I begin to enter the data), such as quotations by Ralph Waldo Emerson, Baruch Spinoza, etc., and I would just want to display/show the person/source/author who said the quotation.
Hope that makes sense.
Thanks for your help,
April 23, 2019 at 6:38 pm #8937
- This reply was modified 2 years ago by Eric.
Hmm, I’m not sure categories are the best way to do this.
What if you used a custom field instead? So for each post you could add an “author” (or whatever) custom field which you could then display. Would that work better for you?April 23, 2019 at 6:47 pm #8941
I’m open to doing it a different way, but I don’t know what a “custom field” is?
How do I create a custom field such as “author,” then how would that work with the Show Posts plugin?April 24, 2019 at 12:28 pm #8969
Please disregard my last question. I figured out how to go about what I want to do…
EricApril 24, 2019 at 4:37 pm #8977
Awesome! Glad you got it working 🙂
- You must be logged in to reply to this topic.