Archive for the wordpress Category

Page 1 of 3123

How to : Create a new WordPress user using PHP function

It's pretty easy to manage users in WordPress when you are logged into WordPress Dashboard as an Administrator. But what if you want to create a user via a PHP function ? The method which we are going to discuss is useful when you are creating a plugin or if you want to create a user by simply execu

Read Full Post

How to: Remove /category/ from your WordPress url

WordPress has awesome way to handle it's URLs with the name called Permalinks. It gives flexibility play around with almost everything in the URLs. Apparently, you can change the category and tag base from your WordPress Dashboard settings page. You can specify a string to replace the default "Categ

Read Full Post

How to use Nextgen gallery using custom php code on theme file

Nextgen Gallery is pretty famous gallery plugin used in WordPress. It provides shortcode to insert gallery in posts,pages, sidebars etc. In this post, we are going to use nextgen's built in functions to show these galleries, albums in WordPress template files. Ideally we show the Nextgen gallery on

Read Full Post

How to create Nextgen gallery custom template

I am sure you have used Nextgen Gallery plugin to display images on your blog. But there are times, when you simply want to display images in your style and not using the pre-defined templates. In this post, I am going to tell you how you can create custom template for nextgen gallery. Follow the be

Read Full Post

Show twitter like X days ago in WordPress for time

Have you fantasized of showing twitter like time on your blog, like posted 2 days ago ? I am sure after twitter showing this kind of time every web application wanted to show the same. WordPress introduced this long back(since v 1.5.0) but is used by very less people in the blogging community. I am

Read Full Post

WordPress : Disable / Remove URL field from the comment area

WordPress  allows commenting by default on the blog post or pages you create using WordPress. The comment area constitutes of the Name, Email, URL and Comment. Name and Email fields are mandatory but URL field is options. However, many automated bots try to exploit this feature and post some automa

Read Full Post

WordPress : Run shortcode in PHP template file

WordPress shortcode is very useful while creating new posts or pages. It is a nifty way to perform certain tasks in the post. For instance, if you want to add a youtube video or image gallery then WordPress shortcodes are quite useful. Many plugins provide their own shortcodes for displaying cert

Read Full Post

WordPress : Display content to registered users only

During WordPress theme, or plugin development there are times when you want to show certain page’s content based upon the user. For instance, you want to display a download link to only registered users and display a Register link to un-registered or new users. So we are going to discuss a way thr

Read Full Post

Empty WordPress trash automatically

Wordpress has an inbuilt trash system which keeps your posts, pages, comments in trash for 30 days by default. However, WordPress has a way to change this default 30 days time period. We can even disable this feature such that WordPress does not empties the trash automatically. In order to change

Read Full Post

Add default content for a new post in WordPress

Most of the bloggers write the blogs in a certain format or at-least have a common signature or a punch line in every post on their blog. For example in my blog posts I always end the posts with Stay Digified!! Sachin Khosla So what if we can automate that type of text such that it shows up aut

Read Full Post

Creating dynamic menu with re-order option in wordpress

WordPress is a powerful CMS for a website and it provides features which makes it easy to use CMS. Navigation or Menu is one of the key point of the website. People tend to change Menu names, links, reorder them ever now & then. In a normal website it is a tedious job to change menu every time y

Read Full Post

WordPress wp_nav_menu separator and First Last Classes

wp_nav_menu is a wordpress built-in plugin that allows you to show navigation in the front-end. This simple function picks the menu defined in the wp-admin dashboard and displays it as the list. Just like other wordpress functions this is also powerful. It takes various parameters to customize the o

Read Full Post

Display WordPress post content outside the WordPress

Everyone knows that WordPress is an awesome tool tool for blogging and as well as for website. It can be a powerful CMS to work with. There are times when you need to pull your WordPress content and display it some where other than the blog site. WordPress framework is very powerful and with very fe

Read Full Post

Change WordPress admin language with just one click

I got a different requirement for Wordpress blog this time. The client’s requirement was to change Wordpress admin’s language but not to change the blog’s language. The first thing that struck me  was to use WPLANG function of wordpress, and use the desired language. But that way it changes t

Read Full Post

Optimize your WordPress blog for Android, iPhone and other SmartPhones

SmartPhones gave a new face to the internet. A smartphone let’s you browse the internet instantly, no matter where you are. Today, every website has its separate mobile site for better usability. But it is very difficult for someone to develop a complete different mobile site. But if you are us

Read Full Post

Page 1 of 3123

Get Adobe Flash playerPlugin by wpburn.com wordpress themes