Support » Plugin: Smart WYSIWYG Blocks Of Content » [Plugin: Smart WYSIWYG Blocks Of Content] Not all smart blocks are displayed in dropdown when adding

  • Your plugin Smart WYSIWYG Blocks of Content is what I’m looking for and almost works except for one minor issue. I have added 5 smart blocks and then when I try to add a widget to the side bar I’m only given the option to select the first three of the five smart blocks that I have added. The other two smart blocks are never shown in the drop down. I’m using Smart WYSIWYG Blocks of Content v0.3 and wordpress 3.0.5. I’ve deactivated all other plugins. Any thoughts/suggestions?

    http://wordpress.org/extend/plugins/smart-wysiwyg-blocks-of-content/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tonylisanti

    (@tonylisanti)

    I changed

    <?php query_posts('post_type=Smart Block&orderby=ID&order=ASC'); ?>

    to

    <?php query_posts('post_type=Smart Block&posts_per_page=-1&orderby=ID&order=ASC'); ?>

    in the file smart-wysiwyg-blocks-of-content.php and that seems to have fixed it. Might should use get_posts() instead of query_posts() but I’m not sure.

    Plugin Author Coen Jacobs

    (@coenjacobs)

    Thanks for the report. It is fixed in the next version, v0.4, that I’ll deploy later today. Some other little bugfixes made it into the next version as well, so this is right in time! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Smart WYSIWYG Blocks Of Content] Not all smart blocks are displayed in dropdown when adding’ is closed to new replies.