WordPress has a command line tool which operates similar to what Drush does for Drupal, it is called wp-cli and runs on OSX/Linux operating systems with a minimum of PHP 5.3.2 or later and WordPress 3.5.2. Install wp-cli on OSX curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Make it executable chmod +x wp-cli.phar Move it into your Path mv wp-cli.phar /usr/local/bin/wp In the above …
Read More
Set Up Development Site only for Certain IP Addresses
To allow only certain IP addresses access to a development website and direct all other traffic to a maintenance or other page you can achieve this with the .htaccess file in your webroot directory. The following code can be used in a root level .htaccess file of the web site. Create a ‘maintenance.html‘ or other named file …
Read More
Adding a Widget Area at the bottom of every post in Genesis WordPress Theme
With the release of Genesis 2.1.1 their is an additional ready to go widget that sits just below the end of each single post, this is a great location for an optin form or reader message that needs to be added to the bottom of each post. This was previously possible but with a custom …
Read More
Socialising your Author Box in Genesis WordPress Theme
The Author Box in WordPress is sometimes overlooked and underused and it doesn’t display all the contact information entered such as Social Media contacts, this guide goes through turning it on, editing the contact meta info, using a new AuthorBox with the new contact info and using icon fonts to display those social media accounts. Turning on …
Read More
How to Create a Responsive Facebook Like Box in WordPress
You can create a responsive Facebook like box in WordPress or any other CMS platform or framework so that it sits in the sidebar or parent container at the correct 100% width which will just adjust to various device widths – all done in the CSS. This is the CSS declarations to add in your CSS …
Read More
Add a Slider to the Home Page in Genesis Theme WordPress using Cyclone Slider
Sliders have been slammed a lot recently, notably for their effectiveness and usability, however within certain contexts they are still relevant and more importantly still popular with clients, their use may be more relevant to certain industries, their usage may be better suited to subtle areas of the page. That said, here is a guide …
Read More
Adding in Google Plus Authorship and Publisher Profile to Genesis WordPress Theme
To get your Google Plus Authorship profile active on a Genesis Theme on a WordPress site you need to set yourself up as a contributor to that site via your Google plus profile, then include your Google Plus profile URL in your sites <head></head> section wrapped in a link tag with the rel=”author” or in …
Read More
Use Bootstrap Modals in WordPress Themes
Bootstrap has some nifty Javascript plugins in their library for the Bootstrap framework including Modals, which are pop up window dialog prompts. These modal pop up windows can be generated without writing javascript by using Bootstrap’s API data-attribute values which are inserted into the HTML markup and and can control which HTML element can control the …
Read More