As far as number one goes it would be smarter I think if I add the dynamically created class to each listings wrapper div. Then you can customize all aspects of the listing including titles etc…
Thread Starter
erik
(@erikwest)
Hi @johnzenausa, sounds like you may be able to add unique classes to each netsposts-content element. Hope to use this soon if possible!
I no longer need #2 from my initial message and am sticking with your current implementation of categories under the title. Possible to use pretty urls here?
Still need #3 tags if possible to be added right after categories.
Lastly, I was looking for target=”_blank” on urls but could not find in your documentation. Possible to add?
Thanks
Hi @erik;
The argument to open all links in a new window is: link_open_new_window='true' and if you would like to only open specific posts in a new window just add their post ids as follows:link_open_new_window='5,8,16,657' will only open those specific posts in a new window.
Hi @erikwest;
I have included two classes that wrap around the entire post listing.
Added post css classes: blog-{i} and category-{slug}.
So you can now target each area by putting it inside the above in your css file.
So the div wrap is listed as:
<div class="nets-posts-content"> will now look like <div class="nets-posts-content blog-x category-x"> so you now may target each sub div separately.
Let’s say you want the title link to have a different color for a given category like green instead of the theme’s default. This would be the css code.
.category-x .netsposts-posttitle-link { color: green; } then every listing that belongs to the given category will have the title link color green.
-
This reply was modified 7 years ago by
johnzenausa. Reason: Fixed typo
One other note: If post like a page has no category it won’t be give a category class. Just the blog-x class.
Thread Starter
erik
(@erikwest)
Thank you so much. Tags are working great as well as the keyword filter! Is there a way to contact you directly for more specific questions that may not be useful to others? Let me know.
I’m in the process of creating a membership site where people can have access to my premium plugins plus customized requests for a small annual fee.