This Blog Is Written By The Content Authority

CATEGORY: Wordpress

6 Cool Tricks and Hacks for WordPress

wordpressIt’s common knowledge among the online community that WordPress is a very popular CMS. As such, you can always find cool tricks to make it unique or do things beyond its out-of-the box features. Check out these 6 cool hacks you can do to any WordPress site.

Highlight Blog Author Comments on Your Own Website

These little hacks will make it so any comments that you post on your blog will be highlighted in a color of your choosing. The exact configuration of code may vary depending on what kind of theme you have installed, but this should work for you, or at least point you in the right direction.

Look for the CSS that is applied to your author comments. If you are using the default WordPress commenting system, you will be looking for a class like .authcomment. Once you have found it, apply a hex color of your choice. You can find examples of hex colors here

Your CSS should look something like this,



background-color: #YOURHEXCOLOR;


You will also want to define a class in comments.php like this,


$comment_class = (YOURUSERID == $comment->user_id) ? ‘comment-admin’ : ‘comment';


404errorMaking a Custom 404 Error Page

Many WordPress templates come with their own 404 error pages. They are typically named 404.php. You can find this file in your theme folder. You should also be able to find it in your WP backend.

To modify your existing 404 page:

  1. Log into your backend.
  2. Open your theme editor or click “appearance” then “editor”
  3. Look for “404.php”

Open and edit the template by inserting your own text or code to display.

you should see code like this,

<?php get_header(); ?>

<div id=”content”>

<h2 class=”center”>Insert some clever or funny text here that users can see when they hit a URL that does not have a page associated with it.</h2>


<?php get_sidebar(); ?>

<?php get_footer(); ?>

Make All External Links Open in New Window by Default

To do this you will be searching for a file called link.htm; however, it may vary based on your theme. It can typically be found in the wp-includes directory and specifically at wp-includes/js/tinymce/themes/advanced/link.htm.

All you have to do is switch the order of the two lines of code below:


<option value=”_self”>{$lang_insert_link_target_same}</option>

<option value=”_blank”>{$lang_insert_link_target_blank}</option>


<option value=”_blank”>{$lang_insert_link_target_blank}</option>

<option value=”_self”>{$lang_insert_link_target_same}</option>

Now external links pasted into your posts should open in a new window.

Make A Custom Login Page for WP Backend

This is a nice little touch to brand your website even if you are the only one to see the login page. Depending on your version of WordPress, you will be looking for a file called login.css.  In that file, you will be looking for background-color and h1 background image properties. The image will be located in your images folder and may be named logo-login.png or something similar.

You can also change the default link on the page from to your home page. If you want to change the login form, look for a hook like “form” somewhere in login.css. You can change anything you want from the fonts, input fields, links, etc.

Style Individual Posts

This hack allows you to style individual posts apart from the rest of the styling on your WordPress blog. You might want to make one post stand out from the rest such as announcements, or maybe a post that contains a special offer. You will be using this function:

<?php the_ID(); ?>

This function displays the numeric ID of the current post. It can also be used as a unique anchor identifier for each post, allowing you to style posts individually if you want to. The identifier might look like this inside of a post:

<h3 id=”post-<?php the_ID(); ?>”>Your Post Title</h3>

Entire posts are typically contained within divs and use of a div plus the function might look like this.

<div class=”post” id=”-<?php the_ID(); ?>”>post headline, post body, etc</div>

Find your specific post ID and insert style properties in style.css or applicable style sheet associated with your theme. It would look something like this.



background-color: #fff;

font: ‘tahoma’, Arial;


Create a Page That Displays a Random Post

You will need to create a custom page in WordPress, and you can do this pretty easily from your backend interface. Just create a page and install the following code on it:


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; ?>

It is a loop that runs a query to tell WordPress to show random posts. Notice that the number attributed to ‘showposts’ is set to one. If you want to show more than one post on the page each time it is refreshed, increase that number.

There are tons of other hacks you can find around the web. WordPress is an extremely flexible CMS that you can customize in pretty much any way you want.


Are there any special tricks that you use with your WordPress blog that you would like to share?

SEO WordPress

SEO WordPress Helps Set Your Site Much Higher

The seo wordpress story of success began nearly a decade ago with a single line of computer code. From this humble beginning, it now boasts of being the planet’s biggest platform for self-hosted blogs. WordPress is used to design and prepare millions of sites for millions of daily viewings. Its incredible adaptability enables its use for blog applications that range from a favorite pet’s home page to a Fortune 500 business site. As WordPress is an “open source” project, users do not pay a single penny for license fees.

Following are just a few advantages of the WordPress All In One SEO Plug-in:

  • Supports Customized Posting Types
  • Fine-Tuning of Website Navigational Links
  • API incorporation for easy access to and greater functionality of complementary themes and plug-ins
  • EXCLUSIVE means of SEO integration for WordPress e-commerce websites
  • Automated content title SEO
  • Automated adjustable META tag generation
  • Eliminates content duplication between WordPress blogs
  • Backward compatibility facilitates easy integration into similar plug-ins.
  • Flexible template customization makes whimsical blog design changes easy.
  • Search engine spiders crawl wordpress sites with ease.

As an all-in-one plug-in, seo wordpress Pack 1 offers more working tools within a single centralized platform than any similar software. Various automated page rank enhancements also save you substantial time.

Following are eight basic components of a competent seo wordpress strategy:

1.    A Compelling Subject

Distinguish your content from the mass of mundane online mumbo-jumbo with fresh perspectives and novel approaches to a particular subject. Do not waste your time with further efforts until this initial task is completed.

2.    Be a keyword watcher

Beware of personal bias, as this is strictly business at its most serious level. Conduct frequent checks to confirm sufficient usage levels of your chosen keyword in pertinent search engine queries. Filter by aligning them with relative purchasing intentions of your targeted audience.

3.     Choose keywords wisely

High search engine rankings result from limiting keywords to a maximum of three per page. Blog postings should have one primary keyword and two or three variations.

4.    Discern keyword-ranking trends

A keyword or phrase that is used only 15 times an in average month is not worthwhile. Follow key phrase trends for monthly query volumes, relative competitiveness, and competitor rankings.

5.    Enhance Page Optimization

Page optimization is critical for boosting search engine visibility. Insert key phrases within content areas where search engines are likely to look for page data. Common locations are the URL, H1, H2, title tags, image alt tags, and any text emphasized within the body of blog posts. The WordPress All In One plug-in is very useful for managing this SEO aspect of overall site strategy.

6. Facebook, Twitter, and other social network syndication

Conduct external blog syndication by sharing links and content contained within via social network sites such as Facebook and Twitter. Also, make conduct frequent comment postings along with your blog post link on pertinent external articles to generate hits back to your blog.

Utilize content focus keywords in your blog syndication campaign efforts by including them in Facebook updates and tweets. Enhance efficient content sharing by the audience by including appropriate buttons in your blog such as “tweet,” “Like”, “share”, and “add this.”

Think about adding the new Facebook “comments” plug-in to facilitate reader sharing and enticement. Also, use RSS feeds, so that subscribers can easily view your blog content updates via any desired newsreader.

7.    Get the best links

Inbound links are indispensable tools to boost your website page search engine rankings. Just a few highly relevant links can boost your rankings dramatically. Utilize link suggestion tools to ascertain high-potential websites holding the greatest promise for requesting back links to your own page.

8.    Heighten your keyword IQ

Conduct frequent surveillance of your blog posts stats to monitor relative hit rates, search engine rankings, and keyword lead generation. By so doing, you will quickly discern what content and keyword aspects have the most audience impact and what areas need improvement. Analyze what does and does work, then duplicate successful scenarios in subsequent content and SEO campaigns.

In summary

Optimal seo wordpress benefits does not occur overnight. With a meager time investment of one hour per week, you will realize major long-term progress, however. Well-done seo wordpress strategies offer much longer-lasting sustained results than do paid searches. The duo of ease and efficiency pack a powerful punch. With these twin attributes on your side, you cannot go wrong in constructing a high quality, effective seo wordpress campaign.

There are no more results.