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
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
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.
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.
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
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
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
If you are using WordPress multisite then depending on what blog you are using the database table prefix will be different. By default the WordPress database table prefix is wp_, you can change this prefix in the wp-config.php. To change the database table prefix add a variable of $table_prefix to the wp-config.php file. When you are using WordPress multisite the blog ID will be added to the end of the
Normally if you wanted to programmatically create PDFs you would have to use a server side client such as PDFLib, FPDF, TCPDF, DomPDF. Here is a HTML5 client side solution to creating PDFs called jsPDF. This comes with a number of features including: Add images Add different font faces and change font sizes Convert HTML to PDF Add multiple pages Draw shapes Convert page layout from portrait to landscape. Split
If you are creating your own WordPress plugin you may want to store data inside the WordPress database. There are a few options that you can use for this, you can create a custom settings page using the Settings API, save the data directly in the option table by using set_option() and get_option() or the third option is to create your own database tables and store your data in here.