A new WordPress theme was missing the featured image at the bottom of the right hand column, when editing posts and pages. This was corrected by editing the functions.php file and adding: add_theme_support( ‘post-thumbnails’ ); I added the above line near the top of the file, to prevent it from being mixed in with the […]
Category: WordPress
Listing Pages with wp_list_pages
In WordPress pages may be listed using the function wp_list_pages For example to list the top level WordPress pages <?php wp_list_pages(‘depth=1’ ); ?> The function can be used to restrict the pages listed. For example placing the function within the template footer to show only the Privacy Statement, Terms of Use and Cookie Policy. If […]
Adding Links in the WordPress Menu
Links to external websites: club or affiliate sites, can be included in the WordPress menu. Adding the links is managed on the WordPress Appearance/Menu page. Adding a Link to a Menu The menu is created from the pages of the website together with links and categories configured from within the menu page. To configure the […]
Setting WordPress Theme via phpMyAdmin
If you are unable to configure the theme from the WordPress Appearance/Themes page, it can be done via the database, using a tool such as phpMyAdmin. Login to your website database using PHPMyAdmin and navigate to the options table. Here change the option_value for the template and stylesheet set the options_name to the template to be […]
The requested URL /index.php Was Not Found on this Server
Recently on a WordPress site had the error: The requested URL /index.php was not found on this server. The site had been moved to another location, different URL and within a sub-directory for testing. See the article Change WordPress Database Site URL References for moving a WordPress website. The error was corrected by editing the […]
Read More… from The requested URL /index.php Was Not Found on this Server
Protecting Against Data Loss
WordPress protects against the accidental loss of data. Protection is in place to prevent the inadvertent deletion of pages and posts, using a trash or recycle bin. Revisions and auto-save help prevent the loss of written content. Plug-ins are available to provide the scheduled backup of files and database. Revisions WordPress keeps one or more […]
Change WordPress Database Site URL References
Transferring your WordPress website from one URL to another, necessitates updating the database entries which reference the old site domain. If you developed your website using a temporary URL then a change will be required when the website is published. For a WordPress website the standard entries in the database, to be amended, are given […]
Read More… from Change WordPress Database Site URL References
Change Default Language to en-GB
The default language for WordPress is en-Us. The value of the DocType language can be modified from the default en-Us to en-GB, but is likely to require the editing of a file rather than through the WordPress administration interface. If the theme supports the setting of the language in the DocType, see the header.php file […]
WordPress Page or Post Revisions
WordPress maintains the revisions for pages and posts. By default the revisions are hidden from view for WordPress pages and posts. However, in the background the revisions are being maintained. To see the revisions, at the top of the web page click on the Screen Options tab and then ensure that the checkbox under Show […]
WordPress Menu
WordPress creates a default menu based upon the order in which pages were created, or by using a custom menu. In this article I’ll cover: modifying and hiding menu items through theme code options creating a theme menu handling theme menus a CSS3 theme style WordPress menu default The menu of pages can be added […]


