How to Get Started With WordPress

WordPress, Getting Started with

Now, you might have decided to start your own self-hosted website with WordPress. Just follow these 7 steps and you start your own website with WordPress and manage it effectively within a week. Get your own blog at WordPress.com Get a good hosting and buy your domain Install WordPress Add content Publicize your content Track … Continued

Why use WordPress to build your website?

Why WordPress - Reasons to Choose WordPress

Well, this is a question which might pop up to your mind, that why should you use WordPress to build your website. The right question would be : How WordPress can help you build a successful website (that is worth for its value) ? You might also be considering other tools available in the market … Continued

What is WordPress?

What is WordPress

If you are here, than you are looking for the answer of this question. What is WordPress? Well, simply speaking, WordPress is a tool (software) that will help you build your website in 5 minutes. It is powerful , popular, easy , quick to deploy and is very easy to learn that is why WordPress … Continued

How to style avatars in WordPress

There are two ways to customize the avatars in WordPress. 1. Defining the avatar size in the comment list. <?php wp_list_comments( array( ‘avatar_size’ => ’50’ ) ); ?> 2. Using CSS to style the avatar .commentlist .avatar { /*Insert Your Styling Here */ } 3. Add a Custom default avatar <?php add_filter( ‘avatar_defaults’, ‘new_default_avatar’ ); … Continued

How to hide the page titles using css only

If you want to hide the page titles using CSS only. You just need fire-bug installed on your firefox browser (or you can use inbuilt tool of Google chrome). In WordPress we have a concept called body class. So the pages will have a class type page. If you check with firebug you will see … Continued

How to remove fields from the "Your Profile" Page

In case you want to remove a few fields from the user menu, you can have this sample code which works fine.The following sample code will remove the default, AIM, Jabber and YIM fields from the user profile menu. function remove_fields_contactmethod( $contactmethods ) { unset($contactmethods[‘aim’]); unset($contactmethods[‘jabber’]); unset($contactmethods[‘yim’]); return $contactmethods; } add_filter(‘user_contactmethods’,’remove_fields_contactmethod’,10,1);  

WordPress htaccess

# Protect the .htaccess file <Files .htaccess> Order Allow,Deny Deny from all </Files> # Protect wpconfig.php <Files wp-config.php> Order Allow,Deny Deny from all </Files> # Disable directory browsing Options All -Indexes # Protect from spam comments <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post.php* RewriteCond %{HTTP_REFERER} !.*YOURDOMAIN.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ … Continued

Display Post Archives as a drop down menu

I was looking for an option by which I could display the post archives as a drop down menu. I was using the custom walker for my bootstrap theme. It is quite easy to display the posts archive using the following snippet.   <ul class=”dropdown-menu”> <?php wp_get_archives(); ?> </ul> Hope, it works for you