0
Php

WP-CLI – The Command Line Tool For WordPress

Probably the WordPress is one of the most used CMS and blogging platform on the web and also it’s probably the most criticized one in the PHP community as well, because the way it works but not sure about that so pardon me if I’m wrong. Anyways, so whatever it’s but it has dominated the […]

7
Php

Advanced Date Queries in WordPress – 3.7

On October 24, 2013, WordPress Version 3.7, named for Count Basie, was released. It has some cool new features and one of those is that, developers can now query for posts within a date range, or that are older than or newer than a specific point in time using date_query . For example, to get […]

ob-image
6
Php

Headers Already Sent Error in WordPress

In WordPress admin/back end it says : Warning: cannot modify header information – headers already sent by (output started at /home/…../header.php:3) in /home/…. on line xxx Well, this is a very common problem and old too, which has been discussed/resolved in so many places on the WEB (IMO) and it happens, when developing a plugin […]

4
Php

Pretty Url in WordPress Search Result

In WordPress, the search url is not pretty, I mean it’s not search engine friendly (uses query string), it looks something like http://example.com?s=foo and it’s doesn’t look very professional. So, if you want to change the url to something like http://example.com/search/foo then it’s possible and very easy, just 2 steps. Step 1 : Create a […]

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. […]

4
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 […]