WordPress.org

Ready to get started?Download WordPress

Forums

Network Latest Posts
[resolved] Showing posts within columns (2 posts)

  1. csigncsign
    Member
    Posted 1 year ago #

    Hi,

    I would like to use your plugin within my premium themes, which are using the usual shortcodes for columns:

    [one_third first][nlposts number_posts=1 title_only=false display_type=block blog_id=1 thumbnail=true excerpt_length=300 full_meta=true thumbnail_wh=290x90][/one_third][one_third][nlposts number_posts=1 title_only=false display_type=block blog_id=7 thumbnail=true excerpt_length=300 full_meta=true thumbnail_wh=290x90][/one_third][one_third][nlposts number_posts=1 title_only=false display_type=block blog_id=13 thumbnail=true excerpt_length=300 full_meta=true thumbnail_wh=290x90][/one_third]

    But this is completely impossible.

    a)
    Although I have set your shortcode to display_type=block, it shows (tested with Firebug) a "ul" list. So the layout within each theme is with a bullet in front of each post and the width is of course not right. This makes the output of your plugin not very flexible.

    b)
    Then the shortcodes for the columns are completely ignored, it shows all posts one below each other, although I have put them into the different columns - see code above.

    How can I fix this?

    http://wordpress.org/extend/plugins/network-latest-posts/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The block display is wrapped inside divs, the ul list you see there is for the thumbnails, the thumbnails are wrapped inside a bullet list the way it is used in the Twitter Bootstrap, by default the plugin includes CSS styling from Bootstrap.

    If you want to customize the styles, you may want to take a look at the custom css filename, you can create a css stylesheet inside your current's theme folder, then modify the plugin's visual style to adapt it to your theme.

    Since version 3 I include the CSS styling to help beginners to get something fully functional right away, but for more advanced users it's recommended to create their own styles and override the default ones. That's why I've added the custom css filename parameter.

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.