WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
[resolved] wrapper="div" not working (2 posts)

  1. mortod
    Member
    Posted 1 year ago #

    When I set wrapper="div" in the shortcode it has no effect. If I examine the page with firebug, the inner wrapper remains as 'li'. The only way I can get this to work is to explicitly edit the plugin such that:

    if( 'div' == $wrapper )
    $inner_wrapper = 'div';
    else
    $inner_wrapper = 'div';

    The outer wrapper gets set OK by the filters. Very odd.

    Any thoughts on what is going on?

    http://wordpress.org/extend/plugins/display-posts-shortcode/

  2. mortod
    Member
    Posted 1 year ago #

    Got it - my fckeditor was converting quotes into ". Changed the editor to ckeditor and all OK. Spotted this as the shortcode was working OK in a sidebar.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic