WP Games Embed Plugin

Date: 28th February 2009 at 1:27 am | Filed under: development, plugins, wordpress | Author: Sam Burdge | Tags: , , ,

Turn your wordpress blog into a games arcade!

This beta version WordPress plugin, WP Games Embed, makes it easy to embed games into your WordPress blog by using shortcodes in your posts and pages. WP Games Embed is intended to be able to support content offered by the various free games sites out there using the codes or downloads they provide.

FEATURES

4 Different views:

  1. Grid view - a grid of thumbnail images linking to each game (can be restricted to a single category or parent category)
  2. Category view - this view includes a medium sized image and a written description of the game
  3. Single page view - the page where you play the game itself
  4. Featured Game view - this view is similar to category view, but allows you to pick the games yourself to create your own 'Featured Games' page.

Different embedding modes:

  1. iFrame embedding - embed iFrame content using code provided by free games sites, or use this method to display games from your own server where an html file has been provided with the free game download.
  2. Flash embedding - embed Flash content using embed codes provided by other sites, or embed flash games directly from your own site. You can even upload them easily using the wordpress 'Add Media' tool.

WORKING EXAMPLE

Visit Zap Gamez Arcade to see an example of the plugin in action.

INSTALLATION

  1. Download the plugin from the link at the bottom of this page
  2. Upload the wp-games-embed.php file to your wp-content/plugins folder.
  3. Activate the plugin from the Plugins page in WordPress.

USAGE

Use shortcodes to embed games into your posts, or to create a grid of thumbnails on a page or your home page.

Embedding a game in a post:

Shortcode: [game /]

Additional attributes:

  • width - the width of the game
  • height - the height of the game
  • src - the url of the game (html file for iframe embedding, swf file for flash embedding)
  • flash - if set to true flash embedding will be used, if set to false iframe embedding will be used. (default=false)
  • thumb - the url of the thumbnail image (70px x 60px)
  • main - the url of the large image (appx 300px wide)
  • title - the name of the game!
  • description - your description including controls etc.
  • featured - whether this should be formatted as a featured game. (default=false)
  • game_url - only to be used in Featured mode (when featured is set to true). See  the shortcode examples below for more details.

Shortcode Example 1 (embedding game as iFrame):

[game width="640" height="480" src="http://www.example.com/games/pacman.html" thumb="http://www.mysite.com/images/pacman-small.jpg" main="http://www.mysite.com/images/pacman-medium.jpg" title="PacMan" description="This is a great game! Use the arrow keys to play." flash="false"/]

Shortcode Example 2 (embedding game as Flash):

[game width="640" height="480" src="http://www.mysite.com/games/pacman.swf" thumb="http://www.mysite.com/images/pacman-small.jpg" main="http://www.mysite.com/images/pacman-medium.jpg" title="PacMan" description="This is a great game! Use the arrow keys to play." flash="true"/]

Creating a grid of thumbnails on a page:

Shortcode: [get_latest_games /]

Additional attributes: list_category - the category id for the games you want to appear in the list.

The list_category attribute makes it possible to display the latest games under a certain category e.g. 'Arcade' or the latest games under all categories. Simply set up a main category called 'games' and then create all your games categories (action,adventure,sports, etc.)  as sub-categories.

Shortcode Example 3 (thumbnail grid):

[get_latest_games list_category="2" /]

Creating a Featured Games page:

Shortcode: [game /]
Additional atrtributes: (see above)

The important attributes for creating a features games list are 'featured' which should be set to true, and 'game_url' the url where the game can be played on your site.

Shortcode Example 4 (featured games):

[game  main="http://www.myblog.com/uploads/pacman-medium.jpg" title="PacMan" description="This is a great game! Use the arrow keys to play." featured="true" game_url= "http://www.myblog.com/games/pacman/" /]

[game  main="http://www.myblog.com/uploads/donkeykong-medium.jpg" title="Donkey Kong" description="This is a great game! Use the arrow keys to play." featured="true" game_url= "http://www.myblog.com/games/donkey-kong/" /]

DOWNLOAD THE PLUGIN


12 Responses to “WP Games Embed Plugin”

  • Comment by imad
    Date: March 5th, 2009 at 11:28 am

    good work:) I am going to install it , I have also interest in the wp Mochi plugin..
    Thanx for sharing

  • Comment by Sam Burdge
    Date: March 5th, 2009 at 2:02 pm

    Hi Imad
    Good luck! Don’t forget to post a link to your arcade here as an example…
    The mochi plugin needs a bit more development to integrate the mochi ‘bridge’ which gives the scoreboard functionality etc.
    Sam

  • Comment by The Wordpress Arcade Experiment Has Begun! - Page 2 - Talk Arcades
    Date: March 12th, 2009 at 9:34 pm

    [...] the WP Super Cache plugin, which speeds it up a lot! I have also developed a wordpress plugin WP Games Embed (very much a beta at the moment) which allows you to embed games in a wordpress blog with various [...]

  • Comment by acrylic
    Date: March 19th, 2009 at 9:29 pm

    Hello Sam and thanks for this wonderful plugin.

    I only have a slight problem with the get_latest_games shortcode. Every time I put in and define the category (for example 20) it lists all content from all categories. It might be a bug or might be something that I’m looking over.

    Thanks for your help

  • Comment by Sam Burdge
    Date: March 20th, 2009 at 2:10 am

    Hi Acrylic

    The get_latest_games shortcode will return all posts under a category, and all posts under child categories of that category. So if you have a main category called ‘games’ with an id of 1 and sub-categories of games such as ‘action’ (id =2), ‘arcade’ (id = 3), ‘fighting’ (id =4), etc. if you call category 1 in get_latest_games you will get all games, but if you call category 2 you should just get ‘action’ games.

    If this doesn’t help please comment again as it is this type of feedback that helps me to develop and improve my plugins over time.

    Sam

  • Comment by acrylic
    Date: March 20th, 2009 at 3:20 pm

    Hi Sam!

    I tweaked the code a bit and now it’s doing what I need. My concept was to have the grid system represented on a separate wordpress page rather than in a single post.

    So I created a new page template. The problem that I encountered was that the page template gets the content by running the loop first but the ep-embed.php runs the loop again. So what happens is that the page template loops through all the posts you have and displays the content.

    What I did was that I omitted the while loop and left the if conditional in. In this way the loop only runs when you have a content in your page and retrieves it. Once it happens it activates your function call which loops through the given parameters and retrieves all the game posts.

    I hope I made sense :/

  • Comment by Harri Nyman
    Date: March 26th, 2009 at 11:52 am

    Interesting plugin, no doubt - however I have interesting dilemma, is there some kind of limit how many games is needed before grid appears? On my site it’s not working, at least not yet.

  • Comment by Exam Philippines
    Date: April 1st, 2009 at 4:29 pm

    thank you so much for sharing this plugin. really helpful to my game site

  • Comment by Bilal
    Date: April 11th, 2009 at 7:10 pm

    Hi, great plugin.
    One question, if we use feeds to get mochi games can we use this plugin to show those games in posts?

  • Comment by Create a Wordpress Arcade | I love games
    Date: April 20th, 2009 at 6:15 am

    [...] wp-games-embed-plugin [...]

  • Comment by Eoin
    Date: May 7th, 2009 at 1:41 am

    Hi,
    I’m trying to get this to work, but can’t quite get it right. The plugin is activated - and this is code that I’m trying to use - (I changed example.com and mysite.com to our site)
    [game width="640" height="480" src="http://www.skuzziport.com/games/pacman.html" thumb="http://www.skuzziport.com/images/pacman-small.jpg" main="http://www.skuzziport.com/images/pacman-medium.jpg" title="PacMan" description="This is a great game! Use the arrow keys to play." flash="false"/]
    grateful for tips!

  • Comment by Sam Burdge
    Date: May 9th, 2009 at 9:50 am

    Hi Eoin
    In what way is it not working? Do you have an example I can look at?

Leave a Comment

WP Background Tile Plugin

Date: 3rd February 2009 at 12:47 am | Filed under: plugins, wordpress | Author: Sam Burdge | Tags: , , , ,

The WP Background Tile Plugin for WordPress applies a tiled background image to your blog.  It is as simple as this:

  • Create a background image
  • Upload it
  • Apply it as the background via the WP Background Tile options page

Applying a repeat pattern to the background of a webpage is easily done using css:

body {background-image: url(example.jpg);}

However, if you're not into writing code, or don't know where to insert the css into your wordpress theme, then you will find this plugin much easier. It can also be an easy way of testing out lots of background images before deciding on one you are happy with.

INSTALLATION:

  1. Download the plugin from the link at the bottom of this page
  2. Upload the wp-background-tile folder to your wp-content/plugins folder.
  3. Activate the plugin from the Plugins page in WordPress.

USAGE:

  1. Upload your background image via 'Media => Add New' in Wordpress (or via FTP)
  2. Go to 'Settings => WP Background Tile' in WordPress
  3. Paste or type in the URL of your background image (explained in more detail below)
  4. Press 'Submit'

CREATING A BACKGROUND TILE:

A background tile is an image which is repeated in both directions over the background of a webpage. Look closely at the background of my site and you will notice the green background is not a matte colour, but a subtle texture. Right click on the background of my site and choose 'View Background Image' (Firefox) or 'Save Background As' (IE) and have a look at the image. You will notice that it is small (16 x 16 pixels), as you don't need much of the pattern to make it tile. Stripes and other geometric patterns can work well for a subtle effect.

Tip: Check out the free online Stripe Generator tool, it's a really easy way to create striped background tiles.

Background tiles can also be used for larger images such as a logo repeat. An example of this is www.mrdupes.com. To achieve this type of result using photoshop the 'offset' filter can be very useful.

GETTING THE URL OF A FILE YOU HAVE UPLOADED WITH WORDPRESS:

  1. Go to 'Posts => Add New'
  2. Click on the 'Add Media' button (a little star type icon next to 'Upload/Insert')
  3. Click on the 'Media Library' tab
  4. Click on the word 'Show' next to the file you want the url for
  5. Under 'Link URL' click on the button 'File URL'
  6. The file url should now be in the 'Link URL' text box so you can copy it.

DOWNLOAD PLUGIN:


10 Responses to “WP Background Tile Plugin”

  • Comment by pressitfor.me
    Date: February 3rd, 2009 at 4:25 am

    WP Background Tile Plugin | Sam Burdge…

    The WP Background Tile Plugin for WordPress applies a tiled background image to your blog. It is as simple as this:

    * Create a background image
    * Upload it
    * Apply it as the background via the WP Background Tile options page

    Get the plug…

  • Comment by baron
    Date: February 3rd, 2009 at 4:57 pm

    hi. Thanks for plugin

    perfect.

    Regards

  • Comment by WordPress Plugin Releases for 02/04 | Weblog Tools Collection
    Date: February 4th, 2009 at 3:18 pm

    [...] WP Background Tile [...]

  • Comment by Satranç
    Date: February 4th, 2009 at 6:32 pm

    Hi,
    This is a nice idea. Thanks for plugin.
    But I want to ask a question.
    Why did you create a table? Can we save tha background image as an option?
    Thanks.

  • Comment by WordPress Plugin Releases for 02/04 | MBConsulting.se
    Date: February 11th, 2009 at 7:17 pm

    [...] WP Background Tile [...]

  • Comment by beauty blog
    Date: February 19th, 2009 at 2:14 pm

    can you make a plugin like this to show post in a magazine like layout.

    http://perishablepress.com/press/2008/08/04/two-column-horizontal-sequence-wordpress-post-order/

  • Comment by Sam Burdge
    Date: February 19th, 2009 at 2:31 pm

    Hi beauty blog,

    I have a plugin which does exactly that! Here’s the link:

    http://www.samburdge.co.uk/wordpress/wp-post-columns-plugin-2

  • Comment by dogday
    Date: March 4th, 2009 at 6:19 pm

    I have this nice plugin running in my blog, but it isnt XHTML compliant, I think because of the ‘&’ signs used to pass varibles.

    Could you replace ‘&’ signs with ‘&’ to correct this?.

    I have tried, but my knoledge about php isnt enought to find where is called the function.

    Thanks in advance.

  • Comment by Sam Burdge
    Date: March 5th, 2009 at 2:03 pm

    Hi dogday
    The plugin doesn’t use any & symbol, this error must be coming from your theme! Also, if your theme already uses a background image then the plugin may not work.
    Sam

  • Comment by technofunk
    Date: March 12th, 2009 at 12:33 am

    great plugin.

    one question; what if i dont want this tiled? just a single image. non repeating.

Leave a Comment

WP Post Columns Plugin 2

Date: 20th January 2009 at 1:09 am | Filed under: development, plugins, wordpress | Author: Sam Burdge | Tags: , , , ,

The WP Post Columns Plugin for WordPress allows you to easily create columns within your wordpress posts and pages. It is ideal for sites with a magazine / newspaper style layout, or if you want text to appear on one side of the post with an image displayed opposite. It is much easier than creating html tables within posts and perfect for users with no coding experience. This plugin is a perfect solution for those using WordPress as a CMS.

As you can see from this example it is also possible to have text, before or after the columns, which spans the full width of the post.

Installation:

  1. Download the plugin file from the link at the bottom of this page and unzip.
  2. Upload the wp_post_columns.php file to your wp-content/plugins folder.
  3. Activate the plugin from the Plugins page in WordPress.

New Features:

  • Have as many columns as you wish
  • Column width and right padding can be set for each individual column

More examples:

Please visit the WP Post Columns 2.0 examples page for more examples of the column based layouts that can be achieved.

Usage:

When writing a wordpress post simply use the following shortcodes to create your columns:

shortcodes2

For example shortcodes you can copy and paste directly into a wordpress post please check the first comment on this post.

Additional Info:

The current version of the plugin is 2.0, it used to only support two columns, but now you can have as many as you like! The idea of adding the code for extra columns was inspired by RickHap who sent me his modified version of the plugin.

The only restriction is that the total width of all columns together does not exceed the width of your WordPress post.

If you have upgraded from an earlier version of the plugin be sure to read the 'Usage' notes again, as the way the columns are implemented has changed in order to incorporate the new features. The latest version no longer supports the original method. If you have been using the plugin since it's first release, or it is working fine for you there is probably no need for you to upgrade. Instructions for the earlier version of the plugin can be found here: WP Post Columns 1.2

The width and padding of each column can be set in any unit of measurement supported by CSS. Absolute units of measurement include: px, mm and relative units include: %, em. 'Padding' refers to the right padding of the column (i.e. the space between its right margin and the left margin of the next column). For this reason it is recommended that you don't apply padding to your final column (set its padding to 0).

The example shortcodes above had to be embedded into this post as an image, else they would be interpreted as column formatting by the plugin. For example shortcodes that you can copy and paste into your wordpress post please refer to the first comment on this post.

Don't forget to close each column before opening a new one. And don't forget use the 'end_columns' shortcode after your last column, or you might get some funky results!

Updates:

24/4/2008 - Minor update to version 1.1 - Added extra preg_replace code to remove implicit <p> tags inserted by wordpress

27/4/2008 - Minor update to version 1.2 - Added priority of 13 to add_filter to make compatible with 2.5.1 - preg_replace is called after shortcodes have been processed (priority 11)

19/1/2009 - Major update to version 2.0 - Added shortcodes support so that the column widths can be configured within each post. Added the potential to allow as many columns as required, so long as the overall width does not exceed the width of the available space.

9/2/2009 - Minor update to version 2.1 -added do_shortcode() function to allow nesting of other shortcodes within the columns

20/4/2009 - Minor update to version 2.2 - removed original 'curly bracket' shortcode functions from the plugin as a bug fix.

Download Plugin:


109 Responses to “WP Post Columns Plugin 2”

  • Comment by Sam Burdge
    Date: January 20th, 2009 at 1:20 am

    More shortcode examples:

    2 column layout:

    [column width="47%" padding="6%"]
    Column 1 content goes here.
    [/column]
    [column width="47%" padding="0"]
    Column 2 content goes here.
    [/column][end_columns]
  • Comment by Sam Burdge
    Date: January 20th, 2009 at 1:28 am

    3 column layout:

    [column width="30%" padding="5%"]
    Column 1 content goes here.
    [/column]
    [column width="30%" padding="5%"]
    Column 2 content goes here.
    [/column]
    [column width="30%" padding="0"]
    Column 3 content goes here.
    [/column][end_columns]
  • Comment by Sam Burdge
    Date: January 20th, 2009 at 1:28 am

    4 column layout:

    [column width="22%" padding="4%"]
    Column 1 content goes here.
    [/column]
    [column width="22%" padding="4%"]
    Column 2 content goes here.
    [/column]
    [column width="22%" padding="4%"]
    Column 3 content goes here.
    [/column]
    [column width="22%" padding="0"]
    Column 4 content goes here.
    [/column][end_columns]
  • Comment by Sam Burdge
    Date: January 20th, 2009 at 1:29 am

    Copy and paste any of the above examples into a WordPress post or page, edit the text and hit preview!

  • Comment by pressitfor.me
    Date: January 20th, 2009 at 2:17 am

    WP Post Columns Plugin version 2.0 - Sam Burdge…

    The WP Post Columns Plugin for WordPress allows you to easily create columns within your wordpress posts and pages. It is ideal for sites with a magazine / newspaper style layout, or if you want text to appear on one side of the post with an image disp…

  • Comment by RickHap
    Date: January 20th, 2009 at 5:51 pm

    Great work on this plug-in! Beer is on me!

  • Comment by ovidiu
    Date: January 22nd, 2009 at 7:43 am

    great. using it on my site now, example here: http://pacura.ru/blog/site-server-optimization/

  • Comment by ovidiu
    Date: January 22nd, 2009 at 8:22 am

    unfortunately this plugin causes invalid xhtml because the column shortcodes can break tags apart that wordpress inserts into the_content :-(

    in other words, it breaks paragraphs :-(

    any solutions to this?

  • Comment by Sam Burdge
    Date: January 22nd, 2009 at 3:08 pm

    Hi Ovidiu,
    This is an example of how wordpress (particularly if using tinyMCE advanced) inserts extra html such as ‘p’ tags into the post. many people are complaining about this at the moment: http://wordpress.org/extend/ideas/topic.php?id=437

    Try bunching your column shortcodes up, without any line breaks, like so:

    [column width="47%" padding="6%"]Column 1 content goes here.[/column][column width="47%" padding="0"]Column 2 content goes here.[/column][end_columns]

    Sam

  • Comment by ovidiu
    Date: January 23rd, 2009 at 8:51 am

    thx, but its the other way around: actually I needed to do it like this:

    [column width="47%" padding="6%"]Column 1 content goes here.
    [/column][column width="47%" padding="0"]Column 2 content goes here.
    [/column][end_columns]

    to give tinymce space to insert its - aka p closure tag

  • Comment by Pierre
    Date: January 23rd, 2009 at 5:07 pm

    Hi
    How can I use your plugin for a page like my homepage? Your fabulous plugin works very wel in my pages (articles,etc) but not on my homepage… :-(
    Tx for your help
    Pierre

  • Comment by WordPress Plugin Releases for 01/23 | Weblog Tools Collection
    Date: January 23rd, 2009 at 8:02 pm

    [...] WP Post Columns [...]

  • Comment by Sam Burdge
    Date: January 23rd, 2009 at 10:13 pm

    Hi Pierre
    Maybe to do with your homepage template? can you send me a link please so i can have a look…
    Sam

  • Comment by Michelle
    Date: January 24th, 2009 at 12:13 am

    I am having trouble with the plugin. (Possibly the same as Pierre?)

    1) I have a homepage that uses the_excerpt. The plugin appears to be overriding this and printing out the full article. (It doesn’t affect the list of headings which uses neither the_excerpt or the_content)
    2) It is also repeating posts on single pages (I haven’t added column shortcode to any posts yet). In the repeat it prints out the shortcode for captions etc. But it does not do this in the original i.e article one (caption) article repeat (caption shortcode)

    I’ve currently deactivated the plugin on the website. So, I can’t show you an example.

    Hopefully you can shed some light on this?

    Thanks.

  • Comment by albo
    Date: January 24th, 2009 at 4:47 am

    Hi
    im testing this plug in but it doesnt work.
    i substitute the content where it says “content goes here ” but nothing happes it just looks like a normal post.it doesnt separate columns

  • Comment by WordPress Plugin Releases for 01/23 | FOX-CUB.COM
    Date: January 24th, 2009 at 7:54 am

    [...] WP Post Columns [...]

  • Comment by Pierre
    Date: January 24th, 2009 at 8:41 am

    Thank you for your answer. Here is the link. The problem is that we use Qtranslate to translate our Website. But Q Translate can’t translate the Widget in this version of Wordpress. So the idea to preserve the three columns on the homepage is the creation of a template in the template with the three columns. We have 2 options :
    1) Create three columns in the template of the homepage and call for a content automatically
    2) Create a page with 3 columns and integrate it dynamycally in the homepage.
    In the 2 cases, I’m not skilled in PHP to integrate it dynamycally but if you can help me, it’s very kind of you.
    Best Regards
    Pierre

  • Comment by Sam Burdge
    Date: January 24th, 2009 at 1:21 pm

    Hi Michelle
    As far as I can tell, shortcodes aren’t supported in the_excerpt. See this wp support topic:
    http://wordpress.org/support/topic/205246
    there is a suggested solution:
    add_filter(’the_excerpt’, ‘do_shortcode’);
    which i will put to the test, and see if there is a way to integrate this into the plugin.
    Sam

  • Comment by Sam Burdge
    Date: January 24th, 2009 at 2:38 pm

    Hi Pierre,
    Unfortunately I haven’t used Qtranslate, but I will get it and install it, and see why my plugin is not compatible with it.
    In WordPress under ‘Settings -> Reading’ you can set a static page as your homepage, this may solve your problem?
    Sam

  • Comment by Sam Burdge
    Date: January 24th, 2009 at 2:41 pm

    Hi albo
    The problem may be that your theme uses ‘the_excerpt’ on the home page. Have you tried the columns out on another page?
    Sam

  • Comment by Pierre
    Date: January 24th, 2009 at 4:54 pm

    Hi Sam,
    How can I replace the 3 widget “bottom left -middle and -right by your colums. I need translate the texts… Tx
    Pierre

  • Comment by Links for 24th January 2009 | Velcro City Tourist Board
    Date: January 25th, 2009 at 12:02 am

    [...] WP Post Columns Plugin version 2.0 [...]

  • Comment by Pierre
    Date: January 25th, 2009 at 9:20 am

    To complete this : Qtranslate seems to be incompatible with the Widgets of my theme. So I need a solution to give the same aspect with 3 columns and a translation… So the problem is’t an incompatibility between my theme, QTranslate and your plug-in but wel a problem to integrate your plug-in in my home page.
    Regards
    Pierre

  • Comment by Sam Burdge
    Date: January 25th, 2009 at 2:28 pm

    Hi Pierre
    I’m guessing your homepage uses the_excerpt code (See Michelle’s comment). I am working on a solution to this at the moment…
    Sam

  • Comment by Pierre
    Date: January 25th, 2009 at 8:21 pm

    Hi Sam,
    We ‘ve not used the_exerpt code. The code under “Plus d’infos” is hardcoded on HTML…

  • Comment by Sam Burdge
    Date: January 26th, 2009 at 11:28 am

    Hi Pierre
    The plugin is for formatting WordPress posts and pages, it can’t be used to format hardcoded html.

  • Comment by Pierre
    Date: January 26th, 2009 at 12:46 pm

    Hi Sam,
    I understand but my question is very simple: how can I put your plug in on my home page?
    Tx
    Regards
    Pierre

  • Comment by FLYHYPERSONIC » Simplistix Theme and Multiple Columns in a Wordpress Page
    Date: February 7th, 2009 at 11:51 pm

    [...] in the UK who created a Wordpress plug-in which allows one to make posts with multiple columns. wp post columns 2.0. This is a very useful plugin if you want to separate information into multiple columns (you could [...]

  • Comment by Lan Lan
    Date: February 9th, 2009 at 2:40 am

    Hello Sam. Thanks so much for this useful plugin (I’ve been looking everywhere)!

    I was wondering if you could offer some tips as to how to set a default width and padding in the plugin for the different column configurations (2col, 3col, 4col) so that these won’t need to be typed each time? I am making a blog for someone else so I’m hoping to keep the shortcode as simple as possible (version 1.2 was actually really nice for that reason though I found your site too late and can’t reference the code there). Thank you so much for your help!

  • Comment by WordPress: Version 2.0 von Burdges 'WP Columns Plugin' erschienen | Paperholic
    Date: February 9th, 2009 at 12:52 pm

    [...] Burdge: WP Post Columns Plugin version 2.0 (Blog-Eintrag, 20. Januar, dort Link zum Download des Plugins) By Gris-Gris | Category: Blogs, [...]

  • Comment by ken
    Date: February 9th, 2009 at 4:59 pm

    I am having trouble with nesting other shortcode within this plugins shortcode? Is there a reason for this?

  • Comment by Sam Burdge
    Date: February 9th, 2009 at 6:47 pm

    Hi Ken,

    Well spotted! I found this info from WordPress:

    http://codex.wordpress.org/Shortcode_API

    The shortcode parser correctly deals with nested shortcode macros, provided their handler functions support it by recursively calling do_shortcode():

    [tag-a]
    [tab-b]
    [tag-c]
    [/tag-b]
    [/tag-a]

    However the parser will fail if a shortcode macro is used to enclose another macro of the same name:

    [tag-a]
    [tag-a]
    [/tag-a]
    [/tag-a]

    I have made a minor change to the code and updated to version 2.1 (you can download it from the link above, or do an auto update via your plugins page in WordPress)

    Sam

  • Comment by Cat
    Date: February 11th, 2009 at 1:43 am

    how to avoid the short codes from showing up in the feeds?

    thanks in advance

  • Comment by Sam Burdge
    Date: February 11th, 2009 at 2:13 am

    Hi Cat
    The shortcodes don’t seem to be showing up in my feeds…
    http://www.samburdge.co.uk/category/plugins/feed

    What version of WP are you using? Do you use feedburner?

    Sam

  • Comment by Alain Delmont
    Date: February 14th, 2009 at 3:38 pm

    Hi,

    I have been looking a long time for a plug in like this. I have problem when i use the plug in on pages, the text of the page shows up on top of the page You can see what i meen here : http://wp8.facilitech.fr/?page_id=7

    Hope it can work with this website.
    If you hae an idea of what the proble is that would be great

    Thanks in advance

    Alain

  • Comment by Cindy
    Date: February 14th, 2009 at 8:01 pm

    Hiya,

    I installed the plugin and it works great on the pages. However it breaks the rest of my blog by putting two columns and duplicating the content off the side of the page.

    It is this way for internet explorer and firefox.

    You can click my name to view my blog, but I deactivated the plugin because it made the blog unreadable.

    I really like the plugin and hopefully there is an easy solution!

  • Comment by Cindy
    Date: February 14th, 2009 at 9:50 pm

    Btw, the problem is in the right side column under where it says, “recent posts”. Instead of following the rules and posting just a thumbnail, title and exceprt, it reposts the entire post in the column including all of the full size photos from the post.

    I hope you will have a solution.

    Thank you!

  • Comment by Cindy
    Date: February 14th, 2009 at 10:20 pm

    Oh my gosh!!! I’m so sorry to spam. I do not mean to but I removed this line from the plugin code and now everything works ok. Please tell me if this will cause any problems. Again, my apologies.

    add_filter(’the_content’, ‘wp_post_columns’,13);

  • Comment by Sam Burdge
    Date: February 15th, 2009 at 1:22 pm

    Hi Alain
    I just looked at your page, the problem seems to be with your meta description tag. In your meta description I can see the code:
    <meta name=”description” content=”<p id=”top” />

    I suggest you edit the page in wordpress, go to the html view and remove the code: <p id=”top” />

    This should solve it. I don’t think it is the plugin which is causing the problem.

    Sam

  • Comment by Sam Burdge
    Date: February 15th, 2009 at 1:28 pm

    Hi Cindy

    I think this problem is due to an incompatibility with your theme. Specifically with the way recent posts are displayed in the sidebar.

    Removing the line:
    add_filter(’the_content’, ‘wp_post_columns’,13);
    from the plugin code should actually work for you. It won’t affect the plugin’s performance either.

    Sam

  • Comment by Alain Delmont
    Date: February 18th, 2009 at 11:09 pm

    Hi Sam,

    What code can you see ? What should i take off. Sorry i am not at ease with cooding.

    Alain

  • Comment by Sam Burdge
    Date: February 18th, 2009 at 11:26 pm

    Hi Alain,
    Sorry I didn’t notice that the code didn’t show up in my previous comment. I have updated it.

    In your meta description I can see the code:
    <meta name=”description” content=”<p id=”top” />

    I suggest you edit the page in wordpress, go to the html view and remove the code: <p id=”top” />

    If you are using an SEO plugin it might be causing it.

    Sam

  • Comment by Joan
    Date: February 19th, 2009 at 7:40 pm

    Hi and thank you for this plugin. I am using it on a school site to publish staff photos in columns. It seems the second column is lower than the first but I don’t see the cause for it in the html code or css - any ideas how to fix it?

  • Comment by CatCat
    Date: February 20th, 2009 at 9:49 am

    hi I’ve try out your great plugin, it’s what I’m looking for ages.

    but the problem is breaks the “PHPlist 1.5″ plug in, I use that for people register to my Phplist.

    when your plug in is activate, the “PhPList” disapeared.

    any idea how to fix it?

    many thanks in advance.

  • Comment by Englinger
    Date: February 20th, 2009 at 4:48 pm

    Great plugin but here’s my little problem by using your plugIn with the_excerpt: it doesn’t show an excerpt on the mainpage but the full article. You can see it on may site in the middle (right:-) column. The left column (”Wortberge”) uses the_content, shows another problem… Why? - Its a great little plugin and I think I only have to add a little code segment, but where and what??? Any idea? - No, I’m no programmer or php-specialist…

  • Comment by Joan
    Date: February 24th, 2009 at 3:06 pm

    Hi again, I solved my problem with columns not aligning correctly because of the p tags added by tinymce.
    I created a new template and added the code to remove p tags;
    Use this template for the pages using columns and they align correclty.
    Thanks again for this great plugin.

  • Comment by Stefan
    Date: February 25th, 2009 at 11:53 pm

    I’m using the K2 theme. I have the plugin activated and I copy paste the default code and the columns does not show up - what can possibly be wrong?
    Check out the page: http://stefanboman.se/hallbar/store/find-a-qrs-distributor/

  • Comment by mouli
    Date: February 26th, 2009 at 2:44 am

    Hi
    I was having the same problem as a few folk dealing with the extra break tags wordpress was adding between the columns causing the second column to be stepped down from the first.
    Open includes/formatting.php
    line 116
    change $br=1 to $br=0
    That worked for me :)

  • Comment by Euphoria
    Date: February 28th, 2009 at 10:57 am

    Hello, nice plugin. Is there any way you could make it working with Wordpress 2.7.x?

  • Comment by Sam Burdge
    Date: February 28th, 2009 at 3:56 pm

    Hi Euphoria, It is working fine on 2.7

  • Comment by Sam Burdge
    Date: February 28th, 2009 at 4:01 pm

    Hi stefan
    Are you sure you have activated the plugin? perhaps your theme doesn’t support shortcodes, try it out by inserting the [gallery] shortcode using the Add Images tool in WP
    Sam

  • Comment by Dave
    Date: March 4th, 2009 at 8:11 am

    I took Cindy’s advise and removed the following line of code:
    add_filter(’the_content’, ‘wp_post_columns’,13);

    This fixed most of the problems.

    However, using two columns, the top line of the text in the right column is one line or so lower than the top line in the left column. No obvious line breaks, etc. Any ideas as to how to fix?

  • Comment by Reix
    Date: March 5th, 2009 at 1:30 am

    well, this plugins works excellent.. but…
    i have this weird error with internet explorer..
    help me pleeease..
    i don’t know much about coding.. or english..

    http://chilepolitik.freehostia.com/blog/noticias-regionales/

  • Comment by dogday
    Date: March 5th, 2009 at 9:28 am

    Hi! and thanks for your plugins. If I activate the columns plugin, it duplicates every post content.

    I mean: all the content and images of the post appears twice into the post content. Im using wordpress 2.7.1

    Any ideas?

  • Comment by Sam Burdge
    Date: March 5th, 2009 at 2:05 pm

    Hi Dave
    Are you using the tinyMCE plugin? It has been known to insert unwanted line-breaks in shortcodes…
    Sam

  • Comment by Sam Burdge
    Date: March 5th, 2009 at 2:07 pm

    Hi Reix
    Your page won’t load for me… what exactly is the problem?
    Sam

  • Comment by Sam Burdge
    Date: March 5th, 2009 at 2:09 pm

    Hi dogday
    If you could send a link to a page where this error is occurring I will try to solve it for you.
    Sam

  • Comment by Reix
    Date: March 5th, 2009 at 5:14 pm

    please try again.. i’m having some server issues..

    and the error happens only with internet explorer..

  • Comment by dogday
    Date: March 5th, 2009 at 5:24 pm

    Thanks a lot Sam!. Here is the link: http://www.dempalmada.com/wordpress/barra-libre-su-minuto-de-gloria/

    Anyway it occours every posts in my blog. Just activating the plugin all posts get its content duplicated.

  • Comment by dogday
    Date: March 5th, 2009 at 7:12 pm

    Ok. It conficts with YARPP, a plugin to insert related posts after the post: http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/
    or plugin home page: http://mitcho.com/code/yarpp/

    I have deactivated yours, till finding a solution.

    If you want me to activate both to try to solve this just tell me.

    Thanks a lot anyway.

  • Comment by Ray
    Date: March 18th, 2009 at 8:22 pm

    Sam, thanks for the plugin, I’m trying to use it but I’m experiencing that when you have a lot of content on the post, when you click on “Publish” or edit the content and then click “Update Post”, everything disappears from inside the tinymce editor. The post is indeed updated and it appears on the site, but I can no longer access the post from editor. It’s just blank whenever I go to the edit page of that post.

    I’m not sure if it’s because it has too much content or not, but once I deactivate the plugin and then go back to the edit page, all the content is there again. meaning, it must be something with the plugin I believe. Have you experienced this? And would you have a fix?

    Please respond as soon as you can. I appreciate your help.

    Thank you

  • Comment by btreece
    Date: March 29th, 2009 at 1:24 pm

    I’m using 2.7.1 and this plugin does not work at all for me. I can do everything that I need to do with it, however no columns actually show up regardless of how I try it.

    I’m figuring such a lack of effect must be theme related, which begs the question … how will you make this plugin work on all themes?

  • Comment by Eike
    Date: April 1st, 2009 at 11:17 am

    I like your plugin but it seems that it conflicts with Lightbox2 (http://www.stimuli.ca/lightbox/)
    When it is enabeled the pictures in my blog doesnt load anymore in a lightbox.

  • Comment by Sam Burdge
    Date: April 2nd, 2009 at 11:49 pm

    Hi Eike
    You could try removing this line of code from the plugin file:
    add_filter(’the_content’, ‘wp_post_columns’,13);

    I haven’t had much time to work on plugins lately but an upgrade for wp post columns is in progress. Compatibility with other plugins is one of the main issues I am addressing in the upgrade.

    Sam

  • Comment by Eike
    Date: April 3rd, 2009 at 9:11 am

    Many thanks
    Seems to work
    Eike

  • Comment by ixley
    Date: April 10th, 2009 at 3:57 am

    nice plugin. Would be nice to have more custom control over class & id tags so we could control widths and padding via external style sheets rather than having to set them inline. The inline option is of course a nice option to have to override when necessary, but I prefer having the defaults set via stylesheet…

  • Comment by Ami @ Elizabeth Anne Designs
    Date: April 11th, 2009 at 4:01 am

    lovely plugin. having the same issue with YARPP. hopefully this can get worked out soon because i love both plugins. thanks for your hard work!

  • Comment by Pranav
    Date: April 14th, 2009 at 11:39 am

    Thanx a lot!needed this badly…am a newbee with php but am hardworkin, so if i could help you with any programmin pls lemme know.will do it for free…!

  • Comment by Scrib
    Date: April 15th, 2009 at 1:13 pm

    Not sure but I think there is a problem in that your function wp_post_columns (which is called by add_filter(’the_content’, ‘wp_post_columns’,13)) echoes the content rather than returning it.

  • Comment by baron
    Date: April 20th, 2009 at 3:02 pm

    Works great, thank you

  • Comment by Sam Burdge
    Date: April 20th, 2009 at 3:59 pm

    The latest update to 2.2 should solve all your problems (well, problems related to the plugin anyway!). Unfortunately it no longer supports the very original column codes ({column} - from before the days of shortcodes), but for 99% of you that won’t apply.

  • Comment by Ami @ Elizabeth Anne Designs
    Date: April 29th, 2009 at 12:19 am

    works perfectly with YARPP now! thank you!!!

  • Comment by Cómo utilizar columnas en posts en WordPress | Kaos Klub - Comunicación Audiovisual e Informática
    Date: May 6th, 2009 at 1:04 pm

    [...] WP-PostColumns [descargar] [...]

  • Comment by Lance Laytner
    Date: May 14th, 2009 at 10:58 pm

    When I add more than seven photos all my content disappears from display. It exists in the HTML, but does not show up on the actual post. This appears to be the same trouble that was described before the update to 2.2. If I disable wp post columns, the content returns so it definitely is something to do with the plugin. Any help you could give me would very much be appreciated.

  • Comment by Lance Laytner
    Date: May 14th, 2009 at 11:20 pm

    The above problem seems to only happen when the 2nd column starts immediately next to the first. If I have the 2nd column start a paragraph down, the error does not occur. Weird.

  • Comment by Sam Burdge
    Date: May 14th, 2009 at 11:35 pm

    Hi Lance
    Do you have an example I can look at? send me a link in a comment, I won’t publish it ;)
    This sounds weird, are the widths of the columns set wide enough to accomodate the images? perhaps the combined widths of the columns exceed the overall post width as set in your theme? If you send me an example I may be able to solve it for you.

  • Comment by Jeni
    Date: May 15th, 2009 at 11:09 am

    Hi, this plugin works for me using IE8 and Firefox 2.0. but it doesn’t work in IE7, the columns won’t show in the single post page. is it incombatible with IE7? what can I do?..thanks

  • Comment by Pardo Verduzco
    Date: May 17th, 2009 at 7:00 am

    Hi Samburdge, great solution, now im thinking how can i add to my proyect because im using custom fields and maybe need a version in php to separate my custom image in 1 column & the text content in the column 2…. this is posible??? Salute!

  • Comment by Sam Burdge
    Date: May 17th, 2009 at 11:41 am

    Hi Pardo
    You would have to code it into your theme if you are using custom fields. It shouldn’t be too hard to do.

  • Comment by Sam Burdge
    Date: May 17th, 2009 at 11:44 am

    Hi Jeni
    Have you triedtesting different column widths / padding in IE7. If making the columns a bit narrower doesn’t work, send me an example page to look at and I will try to solve it for you.

  • Comment by joe
    Date: May 18th, 2009 at 10:50 pm

    Does anyone know if it is possible to but a border line between the columns and how I can do that if it is possible.

  • Comment by Multiple Columns In A Single WordPress Post
    Date: May 26th, 2009 at 12:38 am

    [...] WP Post Columns Plugin, by Sam Burdge at http://www.samburdge.co.uk/wordpress/wp-post-columns-plugin-2 [...]