WordPress Multisite With Nested Folder Paths

When you setup a new site with WordPress multisite you have the option to create your site as sub domains or into sub folders. site1.domain.com site2.domain.com site3.domain.com Or using sub-folders your sites URLs will look like this. domain.com/site1 domain.com/site2 domain.com/site3 But one limitation of using sub-folders is that by default you can't have sites in sub-sub-folders, this is normally used as a way of groups sites together as you can't

Read more...

Re-render Prism.js On New Code

I recently switched to use a new syntax highlighter called Prism.js, unlike other highlighters Prism.js is extremely lightweight by default and you can append additional add-ons to library for more options or new themes. There are currently 6 different themes that you can choose from, you can select which themes to include with the package at download. You can choose to just download the default theme or include all themes.

Read more...

Remove Blog Prefix For Custom Post Types

This is a problem I've seen a couple of times and it sometimes tricks people out of using custom post types in WordPress. When people first create a WordPress site I've seen most of the time they will just install WordPress as an add-on to their existing site and just use it as a blog, with the intention of moving the entire site over to WordPress. Having an existing site

Read more...

Hide WordPress Update Notice To All But Admins

When you have built your site on an open source project like WordPress one of the benefits you get is continuous updates and improvements to the core code. WordPress aims to release a couple of versions per year, when there is a new version of WordPress available to download there will be a notification bar at the top of your admin area. This notification bar will let you know that

Read more...

Setup A WordPress Multisite

One of the best things about using WordPress is the multisite feature. This was introduced in WordPress version 3.0 and gives you ability to create a network of sites on the same install of WordPress. There are many other CMS's that provide this feature but WordPress makes them very easy to manage by allowing you to switch between different sites, share themes and share plugins. When you have turned on

Read more...

Free Premium Files For October 2013

Each month the Envato marketplace brings you free premium standard files. Envato is a web marketplace where you can get premium files for different areas of your website. My favourite marketplaces is the script marketplace CodeCanyon and the theme marketplace ThemeForest. Here are the files which you can get for free for October 2013. Simple Stock Manager 70 purchases at the price of $12.

Read more...

Multiple Users With WordPress Multisite

When you are using the WordPress multisite it's very easy to create a new site and straight away start using it just like your other WordPress sites. In WordPress when you create a new site you are asked for the email address of the admin user for the site, if this email address is already in the user database then this user is added as the admin for the site.

Read more...

WordPress Dropins

To extend the functionality of WordPress most people have only heard of the use of plugins. Not many people have heard of the term Dropins. WordPress has it's core functionality which can be added to by the use of plugins which take advantage of multiple WordPress hooks and actions, but it also allows you to replace functionality with the use of Dropin files. Unlike a plugin the Dropin file will

Read more...

CRUD Queries For WordPress Custom Tables

In a previous tutorial we learnt about how you can create your own custom tables in WordPress, this went over the basics of how to use the dbDelta() function to create tables in database. This tutorial also explained how you can use the $wpdb object to insert data and get results from your custom tables. In this tutorial we are going to be using the $wpdb object and create a

Read more...

PHP Include All Files In A Folder

If you want to instantiate a class in PHP the class must be loaded into your application before you can use it. There are 4 ways you can load a class into your application include, include_once, require or require_once. But when you use this you must define all of the classes that you want to use in your application. Another option is to use an autoload function which will be

Read more...

1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 65