Full Width on posts

About this forum
These forums have not been active for several years. They're available for search and reference, but a lot of this information is likely out of date.

For current information, try visiting our Knowledge Base.

Home / Support / Beaver Builder Theme / Full Width on posts

This topic is: not resolved
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #91435

    andrewpeters
    Participant

    Hey there,

    Using BB theme + plugin, also I am using the ‘portfolio post type’ plugin, and I’m trying to create a custom portfolio. Currently I am having an issue with the CSS on the single portfolio page that I can’t figure out.

    Here’s what I’m looking to figure out: 1) make all the content full width, 2) hide the title area and the bottom post meta (I have them set to display: none; but I can’t get rid of the area entirely.

    Here is the URL of one of the portfolio items: http://cmd.creativeministrydesign.com/portfolio/circuit-riders-rising/

    #91446

    Ben Carlo
    Keymaster

    Hey Andrew,

    Try checking the thread below. He’s trying to do the exact same thing, just a different CPT name. 🙂
    http://forum.wpbeaverbuilder.com/support/q/custom-post-types-2/

    You can remove post meta data under Theme Customizer > Content > Blog Layout.

    Hope this helps! 🙂

    Ben

    #91461

    andrewpeters
    Participant

    Hey there, I followed these instructions and added this code:

    <?php
    /*
    Template Name: Portfolio
    */
    ?>
    
    <?php get_header(); ?>
    
    <div class=”fl-content-full container”>
    <div class=”row”>
    <div class=”fl-content col-md-12″>
    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
    <?php get_template_part(‘content’, ‘page’); ?>
    <?php endwhile; endif; ?>
    </div>
    </div>
    </div>
    
    <?php get_footer(); ?>

    The builder shows on the page but it won’t actually let me add content? I tried adding one of BB’s saved templates with no luck.

    #91463

    andrewpeters
    Participant

    He’s using a premium portfolio plugin. Not sure if he switched to that after his post, but I can’t get it to work with the ‘Portfolio Post Type.’

    #91627

    Ben Carlo
    Keymaster

    I’ve replied on the thread above. Let’s take it from there. 🙂

    Ben

    #115341

    Cheng Zong
    Participant

    Hello, I am facing a challenge similar to what Andrew mentioned on January 8, 2016 at 11:21 am (above).

    In particular, I have created a custom post using ‘Pods’ plugin, and after looking through a few replies on the forum, I have managed to copy ‘single.php’ to my BeaverBuilder Child Theme folder, replaced the contents inside with ‘page.php’ (from the main theme). Then, I renamed the single.php as ‘single-mdwevent.php’. My CPT is called ‘mdwevent’, which I created with the plugin.

    My objective here is to simply enable full content width and no page title on a custom post type (Basically, a clean page without any formatting). I have done this using Weaver Theme before as that theme provided the option of ‘blank post templates’. This is my first time meddling with .php files so I’m quite cautious.

    The problem here is this: When I open the custom post using Beaver Builder, and try adding rows/modules, nothing can be added. I suspect it has something to do with the ‘single-mdwevent.php’, as well as the <?php get_template_part(‘content’, ‘page’); ?> below.

    I hope somebody can spot my errors here. Thanks!

    Sample Page URL: http://themdw.com/mdwevent/high-performance-academy/

    This is the code on my ‘single-mdwevent.php’:`
    <?php
    /*
    Template Name: MDW Event
    */
    ?>

    <?php get_header(); ?>

    <div class=”fl-content-full container”>
    <div class=”row”>
    <div class=”fl-content col-md-12″>
    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
    <?php get_template_part(‘content’, ‘page’); ?>
    <?php endwhile; endif; ?>
    </div>
    </div>
    </div>

    <?php get_footer(); ?>`

    #115386

    Danny
    Keymaster

    Hi Cheng Zong,

    Have you selected your Post Type from the Page Builder settings via WordPress Admin Dashboard > Settings > Page Builder > Post Type?

    If you haven’t, check your post type and save the settings. Then see if this resolves your issue.

    If that doesn’t resolve your issue, can you replace everything your single-mdwevent.php file with the following, please?

    <?php
    /*
    Template Name: MDW Event
    */
    ?>
    
    <?php get_header(); ?>
    
      <div class=”fl-content-full container”>
        <div class=”row”>
          <div class=”fl-content col-md-12″>
            <?php if(have_posts()) : while(have_posts()) : the_post();
              the_content();
              endwhile; endif; ?>
          </div>
        </div>
      </div>
    
    <?php get_footer(); ?>

    Thanks,
    Danny

    #115449

    Cheng Zong
    Participant

    Thanks Danny, the second solution worked. It was the code inside the .php file that was making it impossible to see/insert rows or modules.

    Everything is working fine now, and I can design custom posts as if they are pages now! This will definitely help my client’s workflow without having to create pages to style their posts.

    Thanks,

    Cheng Zong

    #115488

    Cheng Zong
    Participant

    Oh dear, it seems that the ‘Posts’ Module doesn’t seem to be able to filter out the custom posts that I have created using the Pods plugin. I have tried by creating new custom posts, and assigning them to new categories.

    The problem is that the module can detect the new categories, but the posts are not showing up.

    Does anyone have any solutions? Or should I try another plugin that can create custome posts? I’m not experienced at meddling with the theme php files yet at this point in time…

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Beaver Builder Theme’ is closed to new topics and replies.