WordPress.org

Forums

Multiple content blocks
[resolved] New version, custom fields and conditionals (4 posts)

  1. m.altieri
    Member
    Posted 1 year ago #

    Hi,

    I recently update the plugin and I have a question. I used the custom-fields for make the conditionals, something like that:

    <?php if ( get_post_meta($post->ID, 'mcb-TITLE', true) ) { ?> .. <?php } ?>

    But now it's doesn't work anymore. How can I make this? Thanks.

    http://wordpress.org/plugins/multiple-content-blocks/

  2. m.altieri
    Member
    Posted 1 year ago #

  3. Trendwerk
    Member
    Plugin Author

    Posted 1 year ago #

    You can also use the function has_block, which has been added in the latest version.

    I still need to update the documentation, sorry.

  4. m.altieri
    Member
    Posted 1 year ago #

    Thanks a lot. I love your plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple content blocks
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic