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

  1. mortod
    Posted 3 years 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';
    $inner_wrapper = 'div';

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

    Any thoughts on what is going on?


  2. mortod
    Posted 3 years 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

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic