Newspaper Style Posts

By Alex on June 17 2008 | Listed under Downloads, Plugin, WordPress | 41 Comments

This is a very simple plugin that splits your post into two columns, as you find in newspaper articles, which when used with a ‘News Theme’, adds that finishing touch.

The plugin will only work on single post pages, so your archives and homepage etc will remain as they are now.

There are currently no configurable options, however, in future versions it will be possible to define the amount of columns.

Download it here: Newspaper Style Posts (1283)

31 Days to Build a Better Blog Affiliate Link

Did you enjoy this post? If you did, so might others! Please share it!

22 Comments - Add Yours!

  • WordSkill wrote on June 24 2008 at 1:20 pm | Permalink

    Do you have an example of this plugin in action?

  • hello wrote on June 24 2008 at 5:57 pm | Permalink

    Please a hint at how you find the options or a way to use the plug…

  • Chad wrote on June 25 2008 at 2:01 am | Permalink

    What a great plugin idea! I’m sure I’ll find a good use for something like this. Lookin forward to any future updates as well. Thanks!

  • Chad wrote on June 25 2008 at 2:15 am | Permalink

    Ok. After playing with this, here are my 2 suggestion for a future release.

    1. The paragraph formatting gets killed. So, if its a really long post, its gonna be 2 huge columns with no paragraph breaks. I think this is the only real issue.

    2. Different ID tags for the 2 columns. I know that I use #left, and #right sometimes when coding sites. I suggest something like #2col-left, and #2col-right.

    Other than that, its great. Looking forward to more!

  • vr wrote on June 25 2008 at 5:29 am | Permalink

    This sounds cool. Is there a demo anywhere?

  • Alex wrote on June 25 2008 at 12:40 pm | Permalink

    Thanks for the comments guys, sorry for the delay in replying.

    @WordSkill, vr – You can find a demo at my test site and then by clicking on a post.

    @hello – There are currently no options for this plugin, it is just an activate and use plugin. It only works on single post pages. In future versions, there will be options available.

    @Chad – Thanks for the heads up on the paragraph issue. The plugin uses the_content as its filter, so it should still use them, but I’ll look into it when I get home.

    I’ll also change the div ids to something more unique, good point.

  • Mr N wrote on June 25 2008 at 5:46 pm | Permalink

    I am interested but would like to see a,demo please.
    Thank you.

    Demo site is not working.

  • Monika wrote on June 25 2008 at 11:04 pm | Permalink

    Hi thanks for this plugin.

    I have tested it. If you have images in a post, it kills sometimes the img tag. One image is Ok another is broken .. I see half of the html code in frontend.

    regards
    Moniks

  • Alex wrote on June 29 2008 at 11:37 am | Permalink

    @Mr N – The demo site should be working, I checked it straight after you said, and I had no problems. If you still can’t access it, let me know and I’ll get another demo up.

    @Monika – I just updated the demo to include an image, and it is working fine, maybe you deleted a closing > by mistake or something similar? If the problem persists, let me know and I’ll see what I can do.

    @Chad – I’ve just been playing around with paragraphs in the posts on my test site, and it seems that if you actually put in a

    tag, then it works fine, the problem is when you just press enter for a new line. I’ll see what I can do to fix that.

    Thanks for the feedback everybody.

  • Monika wrote on June 29 2008 at 12:09 pm | Permalink

    Hi Mr N
    I figured it out,
    if there is only an image in a post or/and if there are not enough text after the image your plugin splits the img tag, so I can see width and height in the second column or the class and so on.

    and I can see waht I type in your input fields here..please change the color of the input text ;)

    thanks for this plugin, no I translate your instructions and promote it at texto.de

    ;)

    regards
    Monika

  • Kugelblitz wrote on July 8 2008 at 9:40 am | Permalink

    - Is there a way to define how many columns are shown?
    - How can I get columns on the front page (not on a single Post page?)

  • Chad wrote on July 8 2008 at 5:23 pm | Permalink

    @Alex – Yup, the <p> tags work for me as well. Problem is that nobody wants to have to type the paragraph tag. I had to also replace your paragraph tag in the plugin with another div tag, to avoid embedding a paragraph in a paragraph.

    The image issue happens, if you put the image in the center of the post, and the plugin splits the code up. If we can get the plugin to read past or before any html, that’d be sweet.

    @Kugelblitz – In the plugin file, you’ll need to replace both instances of

    if(is_single()) {

    with

    if(is_single() || is_home()) {

  • Anonymous wrote on September 8 2008 at 12:21 pm | Permalink

    Good post. Thank you!

  • Patrik wrote on November 16 2008 at 10:46 am | Permalink

    Great idea, I’ll check this one out once I get the chance. It’s always a great idea to post a demo by the way so that people get a quick overview of how the plugin behaves…

    Take care

  • Internetagentur München wrote on December 4 2008 at 7:59 pm | Permalink

    Great plugin! Just have installed it on my blog and it works fine. Thanks a lot!

  • Vikram wrote on December 4 2008 at 8:03 pm | Permalink

    Would have been good if you would have posted a screenshot :)

  • Mike@ best log splitter wrote on January 10 2009 at 11:12 am | Permalink

    Thanks for this plugin, I might be using it on some of my sites. Once again thanks.

  • Torben wrote on May 7 2009 at 2:34 am | Permalink

    Thanx…a few fixes…really great!

  • Selbständige wrote on June 20 2009 at 7:51 am | Permalink

    Great plugin i test it at one of webpage projekt and i works fine.

  • bryan williams wrote on July 17 2009 at 12:28 pm | Permalink

    I found this post useful.Thanks for sharing.

  • LaPetitLapin wrote on October 25 2009 at 8:55 am | Permalink

    I use a lot of images in my posts. Any way to divide the posts based on the length or the total line height? I used to have columns on my site before I used WP, but that involved manually styling divs for each page– so annoying, lol.

  • Psychology Degree wrote on November 9 2009 at 3:42 pm | Permalink

    Great plugin i test it at one of webpage projekt and i works fine. I found this post useful.Thanks for sharing.

Post a Comment

Your email is never published nor shared.

*
*
User Gravatar