Headroom.js

Headroom is a Javascript plugin that allows you to hide the header until the user really needs it. Many people have websites with a fixed position header bar at the top of the page, this will stay at the top of the page all the time the user is on the site. This is a nice way to make sure that the header is easily accessible all the time the

Read more...

Change Default Theme For WordPress Multisites

When you create a new site in WordPress multisite it will automatically assign a theme to the new site. It does not use the theme that you have activate on the other sites or on the network setup but will use the default theme that is setup in WordPress. Depending on the version of WordPress you are using it will use a different default theme, at the time of writing

Read more...

Remove Protected: From Post Titles

In WordPress you can easily password protect a page from the admin area. All you have to do is under the publish block edit visibility and select password protected. A textbox will appear and you can type in a password for the page. The password is not a password field so it's not hidden from view, this is so admin users can still see what the password for the page

Read more...

Add Button To Editor For All Shortcodes

WordPress shortcodes was introduced in WordPress version 2.5 and is a great way of adding full flexibility and control of certain functionality to the editor of your WordPress CMS. The best thing about shortcodes is that it allows editors to run a certain bit of code within the content area of your site. Having the ability of adding shortcodes means that the editor can also select the position to place

Read more...

Override Parent Theme Functions

Child themes is functionality that allows you to inherit the templates and functions of another theme. Using the child theme to can inherit all the styling of the parent to make small changes to the design. A child theme is the easiest way to modify an existing theme that you didn't develop. If you make changes to the parent theme directly and the theme developer updates the theme then you

Read more...

Free Files For February 2014

Each month the Envato marketplace brings you free premium files. Envato is a web marketplace where you can get premium files for different areas of your website. My favourite marketplaces are the script marketplace CodeCanyon and the theme marketplace ThemeForest. Here are the files which you can get for free for February 2014. Responsive Styled Google Maps Generator 190 purchases at the price of $8. This is a generator which

Read more...

Programmatically Add Menu Item

WordPress comes with a default menu system which gives full control to the admin user of the site to change or create as many menu items as you want. To access the menu system in the admin area you just need to go to Appearance -> Menu. From this screen you will be able to see all the menus that currently exist on your WordPress site, you can select any

Read more...

Trim Post Content Outside Of Loop

The WordPress loop is used in the theme files to display the post content, when you are inside the loop there are two main methods you can use to display the content. You can either display all the content including all images or you can display the post excerpt which will just return the first 55 works of the content. As the excerpt will return the first 55 words, sometimes

Read more...

Stop WordPress Including jQuery Migrate File

In WordPress version 3.6 when WordPress loads the built in jQuery file it will also load in the jQuery migrate file. The jQuery migrate file was introduced in version 1.9 of jQuery, it is used to load any deprecated APIs and functions that were removed in jQuery 1.9. There were a few deprecated functions in jQuery that were hard to use and inconsistent. In 1.9 the jQuery development team removed

Read more...

CSS Loading Spinners

We all know that CSS3 brings a lot of features which allows you to do a lot of cool stuff that we used to need Javascript for. One of the features that we're going to look at today is creating loading spinners with just CSS and show the variety of spinners we can create. In the past we had to create the spinners with Javascript to do the animation for

Read more...

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 68