Title: New version, custom fields and conditionals
Last modified: August 21, 2016

---

# New version, custom fields and conditionals

 *  Resolved [m.altieri](https://wordpress.org/support/users/maltieri-1/)
 * (@maltieri-1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/new-version-custom-fields/)
 * 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/](http://wordpress.org/plugins/multiple-content-blocks/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [m.altieri](https://wordpress.org/support/users/maltieri-1/)
 * (@maltieri-1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/new-version-custom-fields/#post-4183002)
 * Ok, i find the solution here:
    [http://wordpress.org/support/topic/plugin-multiple-content-blocks-hide-wrap-div-if-the-block-doesnt-have-content?replies=3](http://wordpress.org/support/topic/plugin-multiple-content-blocks-hide-wrap-div-if-the-block-doesnt-have-content?replies=3)
 * Thank you anyway.
 *  Plugin Author [Trendwerk](https://wordpress.org/support/users/trendwerk/)
 * (@trendwerk)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/new-version-custom-fields/#post-4183182)
 * You can also use the function `has_block`, which has been added in the latest
   version.
 * I still need to update the documentation, sorry.
 *  Thread Starter [m.altieri](https://wordpress.org/support/users/maltieri-1/)
 * (@maltieri-1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/new-version-custom-fields/#post-4183215)
 * Thanks a lot. I love your plugin!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘New version, custom fields and conditionals’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multiple-content-blocks.svg)
 * [Multiple content blocks](https://wordpress.org/plugins/multiple-content-blocks/)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-content-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-content-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-content-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-content-blocks/reviews/)

## Tags

 * [conditional](https://wordpress.org/support/topic-tag/conditional/)
 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)

 * 3 replies
 * 2 participants
 * Last reply from: [m.altieri](https://wordpress.org/support/users/maltieri-1/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/new-version-custom-fields/#post-4183215)
 * Status: resolved