Posts Tagged ‘tips’

Simple Trick to Hide Tags, Comments widgets from WP-admin Add/Edit Post

Simple Trick to Hide Tags, Comments widgets from WP-admin Add/Edit Post

January 31, 2010 |  by Anish Blon  |  No Comments
32300e733c27138cf06a507f0c19f1af Del.icio.us

I wasn’t surprised when one of my buyer asked me if there’s a way to hide features like tags, comments widgets. Its not uncommon in a simple CMS based projects where tags and comments widgets are seldom needed. Hence, I came up with a simple trick to hide those widgets.

Basically I used help of CSS ‘display:none’ to achieve it. I created a function ‘hide_wp_tags_from_admin’ and then I added this filter to to admin head using add_action. You must either create a plugin and add it to plugins folder or you can use a quick dirty hack by adding below function to function.php of your active theme.

function hide_wp_tags_from_admin() {
    echo '<!--
#commentsdiv, #tagsdiv-post_tag { display:none; }
-->';
}
add_action('admin_head', 'hide_wp_tags_from_admin');

Very simple; isn’t it? Have your say.

Important Tips for Web Design

Important Tips for Web Design

January 24, 2010 |  by S@R0Z  |  Comments Off
118db0b9ef4661c9e9bf027d3277e338 Del.icio.us

webdesign

Website is the best online platform for the promotion of business or services. So the greatest necessity of website is its design. Design needs to be eye catchy and attractive enough so that the visitors stop by to browse through your site. A visitor hardly stays on a website for less than 5 seconds or so if the design is not catchy. So a web designer has to be careful enough to turn the first impression of the site into a good one. Acquiring designing skill is very important for a beginner which can be developed and polished with rigorous practice.

The web layouts, the look and feel of the website as well as many other things are taken into consideration for website designing. A proper knowledge and skill to use the web designing tools are essential for any web designer.

Darn you WordPress AutoP Filter – How to disable AutoP?

November 25, 2009 |  by Anish Blon  |  No Comments
d54b948645d28a5521ad9d217d18f6ff Del.icio.us

WordPress automatically adds <p> tag for each line breaks within a post or page. For some, this filter can be a headache for their particular project.

I quickly googled and fixed it by adding following code in function.php

remove_filter('the_content', 'wpautop');

;)