Support » Plugin: Display Posts Shortcode » wrapper="div" not working

  • Resolved mortod

    (@mortod)


    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/

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘wrapper="div" not working’ is closed to new replies.