Like Quertime on Facebook!

Attention WordPress Professionals: Soup up Highly Imperative Tips and Tricks

Updated on by in WordPress

The bloggers might have come across a plethora of WordPress blogs which might not appear with very huge differences. So, in order to tweak it, a user needs to know the uniqueness among them. Tweaking it means digging out the blog theme and PHP code clearly. So, those WordPress professionals who really want to acquire an expertise on WordPress or those aspirants who want to become a master can go through the following mentioned tips and tricks.

professional_wordpress_tips_tricks

Pin The Lucrative WordPress Tips and Tricks:

Plugins:

It is a well-known fact that WordPress bestows the plugins that can serve almost everything and this is the reason that makes WordPress an amazing platform. Just do not get started with downloading all the plugins as at the very basic, you need to work only on the essential ones. The user can avail only Akismet and Google XML Sitemaps. In case, Akismet already exists on your desktop, so better get it activated. To activate it, a Akismet key is required. This aims at eliminating the spams at the minimum level. Google XML Sitemaps is also highly lucrative as it is for SEO that enables all the search engines to dig-out the blogs easily. There are a few vital plugins as well including All in One SEO Pack, WP Optimize and WP Database backup.

Random Posts:

Have you ever visited a website and saw amazing cool features? Usually, they have a link at the top such as Stumbe or Read Random Articles and there might be sometimes a creative text as well. Whenever you will tap the link, it will be redirected a user to a page that will display one random page. Whenever, it will be refreshed; a new post will be delivered. Create a custom page template by simply pasting the code:

<?php
query_posts(array('orderby' => 'rand', 'showposts' => 1));
if (have_posts()) :
while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<?php the_content(); ?>
<?php endwhile
endif; ?>

The above mentioned code is nothing, but simply a WordPress Loop which will execute a query in order to display a random post and the numbers will reflect the number of posts.

Footer Area:

At the lower end of the WordPress website, you can easily recognize a footer area. It is recognized very rarely, but it plays a very vital role in keeping the readers and visitors engaged. This is therefore, deemed as a forgotten-footer-area that aids in adding information about the website’s owner as well as for any copyright and link as well. One can also use premium themes in order to expand the area so that one can avail information about this. A very précised biography can also be added or opt-in as well to the email list. Just keep in mind that there are a few people that scroll down just to have a glance of such information.

Taxonomy Functions:

There is a wide range of taxonomy functions that handle a wide range of custom taxonomies in order to build the tags and categories. There is also a Codex’s reference of functions that will contain the complete list of taxonomy functions. People usually prefer employing get_term(), wp_get_object_terms() and get_terms(). In order to make the things a bit modular, just employ all these functions as much as you can even for the categories as well as tags.

Twitter Follower Count:

There are many users who hate buttons such as Feedburner and Twittercounter buttons. If you are one of them, then you must display the Twitter count in text format so that it can blend within your new designs. In order to get started, just craft a twitter.php file and paste the below listed code:

<?php
$tw = get_option(“twitterfollowerscount”);
if($tw[‘lastcheck’] < (mktime() – 3600))
{
$xml=file_get_contents('http://twitter.com/users/show.xml?screen_name=wpbeginner');
if (preg_match('/followers_count>(.*)</',$xml,$match)!=0) {
$tw['count'] = $match[1];
}
$tw['lastcheck'] = mktime();
update_option("twitterfollowerscount",$tw);
echo $tw['count'];
?>

Being a developer, you need to make sure that you have replaced wpbeginner with the twitter name. So, place the following code anywhere wherever you want to display:

<?php include(“twitter.php”); ?>

Tracking:

Most of you, might have heard “You can never manage it, if you are not able to measure it”. Just track your visitors in order to improve your website. Using Jetpack stats and Google analytics, you can easily do it. However, a self-hosted WordPress user can easily benefit from all Google Analytics as well as from Jetpack stats for further advantages. Google Analytics will also teach you to filter the own visits which is also highly imperative.

Gravatar Button:

Switch the default Gravatar button as the mystery many will also make the users annoying. Additionally, those who want to promote their brand must use it. The below mentioned snippet will change your default Gravtar.

Open functions.php that is available within template folder. In case, you are not having it, just develop one and insert the following code:

add_filter(‘avatar_defaults’, ‘newgravtar’););
function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo('template_directory') .'/images/gravataricon.gif';
$avatar_defaults[$myavatar] = &quot;WPBeginner&quot;;
return $avatar_defaults;
}

In the below mentioned code, the image will be extracted directly from the theme directory and it will be named as gravataricon.gif which can be changed to a desired name.

Themes:

No doubt, WordPress theme will make your blog highly attractive. The reason being is that they are tools based and make the customization very facile no matter, whatever you do. Thus, spend some time for pondering over it. WordPress is well-known for bestowing a wide range of choices in aspect of themes which a blogger can choose. A user can also choose them. Since, there is a wide range, so a user must always select a premium, unique and a different look theme. This will aid in making the theme a bit catchy. Themes are also a important elements and reflects one’s tastes and content of the blog. Therefore, it must always be chosen as per the blog’s niche. It is also noteworthy that blog themes are not a lifetime commitment so; you can change it as well. However, if you are paying for a particular theme, then better make sure that it is really worth-full.

The above mentioned tips and tricks must always be remembered by all the aspirants and experts associated with WordPress so that they can bestow an outstanding performance.

Author: Edword Jones

Edword Jones is a web developer by profession and a writer by hobby and works OSSMedia Ltd. company. He loves sharing information regarding WordPress, Magento, Drupal and Joomla development tips & tricks. If you are looking for hire WordPress developers then just get in touch with him.

Tags: , , , ,

Comments are closed.