0
Php

Ajax Helper Functions in WordPress 3.5

On December 11, 2012, WordPress team has released latest version 3.5 with some cool new features. Amongst them WordPress has also introduced some new functions, among those functions there are three brand new Ajax related functions too and these are wp_send_json, wp_send_json_success and wp_send_json_error. These functions would be very useful when dealing with Ajax requests. […]

6
Php

Customize Admin Bar in WordPress

WorPress adds a fixed menu bar (Admin Bar aka Toolbar) at the top of the screen when user is logged in and the menu bar is visible even when you are at the front end of the site so it’s very helpful to access some admin pages quickly. WordPress allows us to customize the bar […]

6

WP-Fiddle WordPress Plugin

Well, this is not an article about how to use jsFiddle instead it’s about a WordPress Plugin which has been developed to embed jsFiddle in WordPress Blog. Although, it’s really easy enough to embed the jsFiddle in to your blog without any plugin but this plugin simplifies the whole process by using a shortcode which you don’t […]

4
Php

Redirect To Single Post Page

This article is about template redirecting in WordPress using template_redirect hook. This is a very simple but very handy for a WordPress blogger who wants to redirect the user to the single post template/full post view (even if there is only index.php) when there is only one post in the archive/category/tag. It’s helpful to a […]

11
Php

Show Video In Excerpt

A few days ago I’ve developed a WordPress site and used Viper’s Video Quicktags plugin. The plugin works fine and it’s really awesome but on my site I wanted to use WordPress’ the_excerpt function instead of the_content and also I was trying to show video clips on my index page and that was a problem, […]

0
Php

Remove Categories From WordPress

Recently I’ve developed a WordPress site and I’ve added a custom post page to insert, edit and delete some specific types of post easily without going to WordPress native post page for non-admin users. In that case I had to remove those categories from WordPress native post page only for those who were able to […]

4
Php

Insert A Post With Custom Fields

To insert a custom post from WordPress without using it’s native post page you can use WordPress’ wp_insert_post() function from a plugin or an individual page. In WordPress wp_insert_post() is being used to insert a post programmatically but what if you want to add some custom fields with the post that you are going to […]