Smart WYSIWYG Blocks Of Content
Not all smart blocks are displayed in dropdown when adding (3 posts)

  1. tonylisanti
    Posted 4 years ago #

    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?


  2. tonylisanti
    Posted 4 years ago #

    I changed

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


    <?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.

  3. Coen Jacobs
    Plugin Author

    Posted 4 years ago #

    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! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Smart WYSIWYG Blocks Of Content
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic