WordPress.org

Ready to get started?Download WordPress

Forums

Flexible Posts Widget
[resolved] last post in the list (2 posts)

  1. Elvis
    Member
    Posted 1 year ago #

    Nice plugin!
    But there is some thing that would be great, how to add class="last" to the last post title in the list?

    http://wordpress.org/extend/plugins/flexible-posts-widget/

  2. DaveE
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Elvis,

    As the plugin documentation states, you can create you own templates with whatever output you'd like. See the section titled "To use a customized HTML output template" here: http://wordpress.org/extend/plugins/flexible-posts-widget/installation/.

    Alternatively, if you're looking to style the last post differently, you can accomplish this with CSS using the last-of-type selector: http://www.w3schools.com/cssref/sel_last-of-type.asp.

    Hope that helps,

    DaveE

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic