WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. m.altieri
    Member
    Posted 9 months 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 9 months ago #

  3. Trendwerk
    Member
    Plugin Author

    Posted 9 months 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 9 months ago #

    Thanks a lot. I love your plugin!

Reply

You must log in to post.

About this Plugin

About this Topic