Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host

RECENT POSTS

Upgrade MySQL Database from 5.5 to 5.6 on macOS 10.8 Mountain Lion

Remove Mysql Databse Macos

MySQL version 5.6.14 is available for download for OSX, a double click and install is available named Mac OS X ver. 10.7 (x86, 64-bit), DMG Archive. (Don’t worry about the 10.7 naming, Works fine in OSX 10.9 and OSX 10.8) Stop the MySQL Server sudo /usr/local/mysql/support-files/mysql.server stop Download and Launch the DMG There is no upgrade…

Secure the WP Admin Folder in WordPress Using htaccess

To protect your WordPress wp-admin folder from everyone else apart from you, you can add a htaccess file in the /wp-admin folder to allow only access from your IP address and everyone else will be denied and receive a ‘Page Not Found‘ 404 error. This ensures no-one can even get to the login screen which…

Add HTML [br] break tag to a Widget Title in WordPress

By default you can’t add HTML to a Widget Title in WordPress, such as a break tag <br>, you can get around this by adding a filter to allow shortcode to the title area…. In functions.php file in your child theme add: add_filter(‘widget_title’, ‘do_shortcode’); add_shortcode(‘br’, ‘ng_shortcode_breaktag’); function ng_shortcode_break( $attr ){ return ‘<br />’; } Now…

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…

Making 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…

Find 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…

Responsively 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…

Redirect HTTP to HTTPS on Tomcat Server Install

Tomcat Server Https

You’ve bought your SSL secure certificate and successfully installed on Tomcat with the keytool but how do your redirect the entire site to go HTTPS and redirect any HTTP connection straight over to HTTPS. You need to edit the 2 Tomcat configuration files; server.xml and web.xml and then when edited restart the tomcat service. Open…