WordPress.org

Ready to get started?Download WordPress

Forums

Multiple content blocks
[resolved] blog page not seeing additional content boxes (3 posts)

  1. nicnack
    Member
    Posted 2 years ago #

    Hi!

    I have installed this widget to allow for extra content areas, and they work on all pages except for the blog page.

    The blog page by default seems to use index.php for my theme but when I inserted the code for the additional boxes, they wouldn't show up in the blog page in the wordpress backend

    Then I tried duplicating index.php and saved it as a custom template page and had my blog page point to this template page.. now the two boxes do show up in the wordpress backend, however the website ignores whatever content I put into the two new content boxes.. so essentially its still same problem..

    code:
    <div id="header_img_container"><?php the_block('header_img_container'); ?></div>

    <div class="slidersidebar" id="blog_slider"><?php the_block('slidersidebar'); ?></div>

    <div style="clear:both;"></div>

    link:
    http://100eight.com/projects/wp/blog/

    Help??

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

  2. nicnack
    Member
    Posted 2 years ago #

    hm. anyone?

  3. Trendwerk
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin doesn't work on archives. And it shouldn't! The plugin is meant as an extra content field (like a column) in every post, page or custom post type post.

    I think you're looking for a global content block. You can use plugins like Reusables or Content Molecules. We're also creating a slightly better version of this, so you can wait for that as well.

    Any other suggestions? Please tell us on Git!
    https://github.com/trendwerk/multiple-content-blocks/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.