When you are writing content on your website there will be times when you want to refer to other content on the internet, this can be to either your own articles or to external sources for other people's content. When you link to external content it's common practice to open this content up in a new tab, this way the reader won't be taken away from there place in the
One of the best things about WordPress development is that not only can you use it as a CMS but as an application framework, it comes with a huge selection of utility functions that make it easy to handle form helpers, validation, file structures, email encoding and more. With WordPress actions and filters it becomes a very extendible framework to work with, another way to extend WordPress is with pluggable
The following code snippet will allow you to style a specific menu item differently to the other items. When WordPress creates a menu it will use the menus setup in the WordPress admin, this interface gives the user full flexibility of the what items go in the menu and where they are positioned in the theme. WordPress will automatically add ID's and Classes to these menus so that you can
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 March 2014. Flat manga 67 purchases at the price of $19. Easy setup Just input some details and with
For theme developers it is important that your theme page displays the correct page title. There can be some confusion in theme developer when they are working on a static page that is being used to display the a list of posts. By default your WordPress site will display a list of the most recent posts on the index.php page of your theme. But this will mean that it will
The WordPress media library is one of my favourite features in using WordPress over other CMS's, when you upload a new image into WordPress it will convert it to a number of a different sizes. These sizes can be defined in the settings -> media page, it will list three different image types where you can define new sizes for these image types. These means that every image you upload
Sometimes I've needed to build a new page outside of WordPress but still have the ability to access the WordPress database from this new page. This would normally use custom tables you've created. To access the WordPress database normally you would just need to use the global variable $wpdb. This object connects to your database using the credentials found in the wp-config.php in the constant variables DB_NAME, DB_HOST, DB_USER, DB_PASSWORD.
In WordPress you can setup scheduled tasks that allow you to run a certain action at a scheduled time in the day. As this runs a set action you can perform a number of tasks at the same time. To setup the scheduled tasks all you have to do is use the WordPress function of wp_schedule_event(). The schedule event function takes 4 parameters. $timestamp - This must be the timestamp