Category: Wordpress

How to Add Category Options for Custom Post Types

Adding category options for your custom post type is so easy. If you want your custom posts and the default posts to share the same categories, simply insert the ff. line of code below:...

How to Style WP Nav Menu

If you’re creating your own theme and use adding a menu using the standard WordPress function wp_nav_menu(), you will have to style it using CSS in order to make it like the usual navigation...

Calling Ajax in WordPress

There are so many ways to call ajax in WordPress, but below is how I do it. 🙂 Add the following functions in PHP file. [insert-code id=1] Add the following functions in JS file....

How to Set Up a WordPress Website

Setting up a WordPress website can be done on your even if you don’t have a background in web development. Whether you want a business website, a blog, or even a ecommerce website, as...

Adding of Custom Fields in WordPress Category

I have created a class that you can use so that you can easily add custom fields to WordPress category. To use it, follow the simple steps below: Step 1: Download the class and...

The Simplest Way to Create Tabs in WordPress

Adding tabs to your WordPress websites is so easy. Just follow the few steps listed below. Step 1: In your php file, add the following: [code] add_action(‘wp_head’, ‘myCustomScriptCSS’); function myCustomScriptCSS() { wp_enqueue_script(‘jquery’); wp_enqueue_script(‘jquery-ui-tabs’); wp_enqueue_script(‘custom-script-id’,...

How to Add Media Uploader to WordPress Dashboard

By following the tutorial below, you can add as many media uploader field on your wordpress dashboard form. Step 1. call wp_enqueue_media() on your php file. Step 2. Create the button field by adding...

How to Add Media Uploader to WordPress Front End

Are you creating a plugin or theme and you want the user to uploaded photos, files, etc. on the front end page of the website? Adding a media uploader in the front end is also as easy as adding it on the backend, but you have to used the codes here: