Support » Plugin: Network Posts Extended » Customize Listing Output

  • Resolved erik

    (@erikwest)


    I am hoping to accomplish the following customization to the network post list:

    1. add class for blog name to each div element “netsposts-content” for ability to style each network blog differently in same list. example: class=”netsposts-content blog1″ & class=”netsposts-content blog2″
    2. add category name to title. my needs are to place the category in front of the title and include a dash. recommendations? example “category – title”
    3. add show_tags ability. similar to show_categories if possible.

    Thanks for being very responsive. Really appreciate any help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    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…

    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

    Plugin Author johnzenausa

    (@johnzenausa)

    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.

    • This reply was modified 4 months, 2 weeks ago by  johnzenausa.
    Plugin Author johnzenausa

    (@johnzenausa)

    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 4 months, 2 weeks ago by  johnzenausa. Reason: Fixed typo
    Plugin Author johnzenausa

    (@johnzenausa)

    One other note: If post like a page has no category it won’t be give a category class. Just the blog-x class.

    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.

    Plugin Author johnzenausa

    (@johnzenausa)

    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.

    • This reply was modified 4 months, 2 weeks ago by  johnzenausa.
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.