How to Create Custom WordPress Template Posts, Pages, Headers, Footers and Sidebars
How to create new WordPress templates for your theme including posts, pages, headers, footers and sidebars. To change the WordPress home page edit the index.php in the main theme if using a child theme, just copy and then edit the file in your child theme folder alternatively you can create/edit front-page.php – this will take priority over the index.php To make a…
Read MoreMaking Full Width Headers and Footers in WordPress TwentyTwelve Theme
How to create a full width header and footer in WordPress’s responsive Twenty Twelve theme. Example Site. Create a Child Theme First up you should really create and work from a Child Theme Make Header and Footer Copies to Child Theme Copy your header.php and footer.php files from twentytwelve to your twentytwelvechild theme folder. Your…
Read MoreFind and replace text across a whole WordPress web site using phpMyAdmin
You can do a find and replace for text or html code on a post or page across a whole WordPress site by using the mysql database that the site stores all its data in. First up you need to connect to the database, if you have a cPanel/Plesk style hosting typically you will have…
Read MoreResponsively Removing Width and Height Attributes on Images and wp-caption on WordPress
If you are looking to go responsive for images on your site and want a theme that responds to various devices such as tablets and mobiles there are a couple of issues to sort out with existing hard coded images that have hard coded inline style width and height attributes. In WordPress not only do you…
Read MoreMaking RSS Feed Links no-follow in WordPress Sidebar
If you use the RSS widget in WordPress to bring in a Feed with multiple external links that go to external content and that update in the sidebar. You may notice that all these links have the attribute set to ‘follow‘ by default. This can be detrimental to your page’s SEO status in terms of…
Read MoreHow to change the header size in TwentyEleven and TwentyTen
To change the header size in width or height or both of the TwentyEleven or TwentyTen theme in WordPress you need to add a snippet of code to the ‘functions.php’ file in your parent theme or child theme – the preference is to make a child theme and create/change the functions.php file in there. The reason for this is…
Read MoreAdding a Footer Menu to Twenty Eleven Theme WordPress
To add a menu to the footer of the WordPress Twenty Eleven, Twenty Ten or other themes, you need to register an additional menu, create it, position it and style it. This is best done in a child theme as when the theme is updated then any changes you make are lost but if you have…
Read MoreExtend the TwentyEleven Theme Menu Navigation to Full Width
How to get the WordPress TwentyEleven Theme Main Menu Navigation to go full width screen like the page below. Both the CSS and ‘header.php‘ files need to be edited, the issue is that the theme is fluid and the ‘nav‘ div sits inside the div of the page which has a max-width of 1000px. We…
Read MoreSwapping WordPress SEO Plugins from Platinum SEO to Yoast SEO
Changing WordPress SEO OK the time has come to change my WordPress SEO plugin , I want to change over to use the Yoast SEO Plugin. I have been using Platinum SEO up until now, but I can’t help noticing more bells and whistles that the Yoast plugin comes with. The developer Joost de Valk…
Read MoreDelete Author and Date Information under WordPress Posts for the Twenty Ten Theme
Delete author and date credits for posts in the TwentyTen WordPress theme – for rolling posts edit loop.php and for single page posts edit loop-single.php Comment out or (delete) twentyten_posted_on as below on the second line. <div class=”entry-meta”> <!– <?php twentyten_posted_on(); ?> –> </div> <!– .entry-meta –>
Read More