Hide Specific Category Posts at Home page

To hide specific category posts at home page simply place this below single line code before the main loop start at home page. <?php if ( is_home() ) {query_posts( ‘cat=-1’ ); } ?> Complete loop with this above code will look like: <?php if ( is_home() ) {query_posts( ‘cat=-1’ ); } ?> <?php if ( have_posts() […]

Change read more in wordpress theme

To add read more text in wordpress theme without plugin, use this below small code in theme functions.php file. function bn_excerpt_more() { function custom_excerpt_more($more) { return ‘<span class=”continue-reading”> <a href=”‘ . get_permalink($post->ID) . ‘” rel=”nofollow”>Read more…..</a></span>’; } add_filter(‘excerpt_more’, ‘custom_excerpt_more’); } add_action(‘after_setup_theme’, ‘bn_excerpt_more’); This code is working with latest version of Wordpress.

Commonly used header code in wordpress theme

In wordpress theme, header.php file plays a vital role for theme developer. Every web developer who develop WordPress Theme they must use some common wordpress header codes in header.php file which are come from wordpress.org website. This header.php file contains all the necessity information such as document type, title, Meta tag and many more. In […]

Add favicon in wordpress theme

Favicon in Web Browsers represents a unique visual identity to website. When too many tabs are open in same browser a stylish favicon makes a clear view to identify a particular website. Although most of the new web developers don’t pay attention to this small fact but few developers who pay attention to this in […]

Custom login page in wordpress theme

To develop a Wordpress custom login page without plugin follow this steps: Part One: Create a new folder inside the active wordpress theme folder and name it “login” Create a new css file inside login folder and name it login.css Inside this login.css file add this below code and apply the css rule to fulfil […]

Helpful WordPress Theme Development tools

A list of Wordpress Theme Development kits that need a web developer to develop a new or existing wordpress theme: WebMatrix WebMatrix is free web development tools from Microsoft Corporation and helps you to install and configure more than 76 free open source software including WordPress, Joomla, PHPBB and many more in Local Computer. Wordpress […]

Webmatrix wordpress installation in local computer

Microsoft free web development tools WebMatrix comes with all in one package including top languages like jQuery, PHP, HTML5 and popular database system called MySQL. Besides this you can easily install popular CMS software such as Wordpress, Drupal and Joomla in your local computer and upload them to public server when it’s ready through WebMatrix. […]

Htaccess WordPress Basic Security

As an open source CMS platform, Wordpress source code and template files are open to everyone. So as a hacker, it’s become very easy to know about wordpress security weakness to damage wordpress based website. Wordpress Developers trying their best to make its security much harder as they can. Beside this wordpress developer effort, as […]

HOW TO USE ROBOTS DOT TXT FILE FOR SEARCH ENGINE

Robots dot txt files plays an important role in search engine result page (SERP). It gives direction to search engine crawlers what to index and not. This file must be placed in root directory of website and easily accessible by crawlers. HOW TO CREATE ROBOTS DOT TXT FILE? Creating robots.txt file is very easy. Just […]