Just the title of this post will seem confusing to many, let alone the reason for wanting to manipulate a WordPress database in such a fashion. WordPress is the leading content management system. Big companies and organisations as well as people with free blogs use the same system. It has plenty of free themes to choose from as well as a dazzling array of premium (paid-for) themes. However, there are limits to the publication platform. Even if you are an ace with php and css and go into the theme code you still find yourself hitting a wall on occasion. The more you use WordPress the more you see its limitations. That is one reason why they are constantly updating the management system.
Having cut my teeth on HTML I like the freedom of making unique pages. Things like a different header on each page, a change in layout, different links in the footer etc. can be easily done when coding straight into HTML. Such variation is very difficult (and sometimes impossible) with WordPress.
Recently I was asked to make posts in a WordPress theme (advanced newspaper) full width. There is no option in the theme options or the post options to do this. There is, however, a template option when composing pages. Just as an experiment I took a post and copied and pasted it into a page with full width option chosen. To my surprise, the link on the category list when clicked produced the full width page. Here is how it is done.
If it doesn’t work the likely problems are:
This is not a very elegant solution. I suspect that the WordPress team will eventually tackle this limitation making it easier for theme developers to offer full width options for posts as well as pages. The fix rests upon the fact that the WordPress database chooses a page for showing if both a page and post have the same address.