Full Width Template for Posts & Mingle Forum Plugin Issue

resolved (13 posts) (5 voices)

  1. Annisa

    I sent a message on Theme Forest about this but thanks to the awesome new forum (!), I'll post it again here. A commenter, avatar12, asked about the possibility of making posts full width like pages, and the answer was yes. I'd like to implement that option as well and want to know what edits/additions I need to make. :)

    The other thing, I’m using a plugin called Mingle Forum and after installing this theme, it seems every time I edit a thread, HTML codes like < br / > or < p > or </ p> would get added. Apparently, the forum plugin doesn’t like it and sees them as normal text so I would have to remove them before saving the edit, but it happens again every time I go back in to edit. I've asked the plugin author, he believes it is an automatic filter in the theme somewhere. Is there a way to fix this? Any help is much appreciated.


    Posted 7 years ago #
  2. intofotos

    Yes, I'd like to have full page posts also. Keen to see the response.

    Posted 7 years ago #
  3. Chris

    Hi Annisa,

    Replace the following two files on your server:


    With the one in the .zip file attached to this post.

    Now create a new custom field in your 'Custom Fields' post option box and name it 'post_full_width' then as the value enter 'true'.

    The blog post should now be full width.

    In regards to the Mingle Forum plugin I'm not sure what could be causing the extra < br / > or < p > or </ p>

    Do you these extra tags show-up if you have the WordPress default theme activated?


    1. full_width_post.zip (9.2 KB, 15 downloads) 7 years old
    Posted 7 years ago #
  4. Annisa

    Hi Chris,

    Thanks for the directions to get full width posts! I'm upgrading to 1.2 now and will add this additional option afterward. Thanks a lot!

    As for the plugin, no. The extra tags did not show up in my previous theme, the WP default theme, nor the Twenty Ten theme. It's a hassle for my moderators to remove the extra tags every time, so anything you can think of to help fix it would be wonderful.

    Posted 7 years ago #
  5. intofotos

    Thanks Chris .. Worked a treat!

    Posted 7 years ago #
  6. intofotos

    Might be a slight error in one of the templates. I'm now getting the sociables at the top with linked in/myspace/delicious showing where they were'nt previously and the image files can't be found either. See example


    1. Screen_shot_2010-08-03_at_2.06.36_PM.jpg (13.5 KB, 1 downloads) 7 years old
    Posted 7 years ago #
  7. intofotos

    ooops sorry .. duplicate post


    1. Screen_shot_2010-08-03_at_2.06.36_PM.jpg (13.5 KB, 0 downloads) 7 years old
    Posted 7 years ago #
  8. Webtreats


    Open up the following file on you server:


    And comment out line #'s 50 - 56

    /* Remove the 2 main auto-formatters */
    //remove_filter('the_content',	'wpautop');
    //remove_filter('the_content',	'wptexturize');
    /* Before displaying for viewing, apply this function */
    //add_filter('the_content', 'webtreats_formatter', 99);
    //add_filter('widget_text', 'webtreats_formatter', 99);

    Let us know if it resolve your Mingle Forum question.

    Posted 7 years ago #
  9. Webtreats


    Not sure what could be causing this. Do you have a cache plugin installed on the site?

    Also some images may have not been completely upload when you updated the theme.

    I'd recommend renaming the folder of the updated version of Awake on your computer to 'awake_1_2' and then re-uploading it through your FTP client.

    Posted 7 years ago #
  10. Annisa

    Hi Webtreats,

    I did what you instructed and it worked great for the forum issue. However, it basically messed up many other things in the theme like displaying [raw][/raw] on the "Read More" tag as well as staggered the columns shortcode (if images are in them).

    Still, thank you SO much for pointing me to that piece of code. I tried guess-and-check, found that it was mainly the fault of this -> add_filter('the_content', 'webtreats_formatter', 99);

    So I added that to one of my forum plugin's post editing php file, changing the "add" to "remove" and it works like a charm. Again, thank you very, very much for the help (and the theme)! I really appreciate it. :)

    Posted 7 years ago #
  11. Webtreats


    You're welcome.

    Glad we could help to get you going in the right direction to resolve this.

    Posted 7 years ago #
  12. faridwidjaya

    Hey Webtreats,

    I followed the directions to do the full-width posts and it works great. However, now I can't get the posts NOT to do full width at all. If I don't put the custom fields in, it will still render the post as full width AND then dump the sidebar at the bottom of the page, after the comments.

    I am also wondering if there is a way to achieve the full width when viewing archives for posts in a single category?

    Thank you!

    Posted 7 years ago #
  13. Webtreats

    Hi faridwidjaya,

    Not sure what could causing this.

    Try opening up the following file on your server:


    and replace line #'s 781 - 783 with the code below:

    $sidebar = ($get_template == 'template-full.php') ? 'full_width ' : $sidebar;
    $sidebar = ($get_template == 'template-left-sidebar.php') ? 'left_sidebar ' : $sidebar;
    $sidebar = ($portfolio_post && !$portfolio_layout) ? 'full_width ' : $sidebar;
    $sidebar = ($post_full_width) ? 'full_width ' : $sidebar;

    To make the archives page full width open up the following file:


    and replace line # 13 with this:

    <div id="body_block" class="full_width">

    and line # 113 with this:


    Let us know if this works.

    Posted 7 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme