WordPress.org

Ready to get started?Download WordPress

Forums

Multiple content blocks
how to install it when the page is built dynamically (2 posts)

  1. nicnack
    Member
    Posted 11 months ago #

    Hi!

    The homepage for my website (Nova theme) uses a template called 'home.php' that pulls in bits and pieces of content from various pages, post and/or portfolios.. in the backend, the home page settings are managed through the 'theme settings',

    So when I place the <?php the_block('blockname'); ?> in to 'home.php' how/where would I expect to see it in the backend, since it's not simply using a wordpress 'page'?

    Thanks!

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

  2. Trendwerk
    Member
    Plugin Author

    Posted 11 months ago #

    That should work, if $post is still intact at the point the_block is called. Do you have other queries than the main query?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.