Author Archives: Doteasy

Tweaking your WordPress Theme (Part 2)

In today’s post, we will be sharing another three tips on tweaking your WordPress theme

Page Navigation

Many themes display all of your pages across the top of your site. But let’s say you’d like to exclude a page from the main navigation. Here’s one way you can do it:

Look for the following code (usually in the header.php file):

<?php wp_list_pages(); ?>

Change it to this:

<?php wp_list_pages(‘exclude=4’); ?>

This will tell WordPress to list all your pages except for the page with ID 4. You can change this number to whichever Page ID you’d like to exclude.

If you want to exclude more than one page, simply separate all the page IDs with a comma, like this:

<?php wp_list_pages(‘exclude=4,5,7,10’); ?>

For more information on WP list pages: http://codex.wordpress.org/Template_Tags/wp_list_pages

Add Something (Anything) to the End of Every Blog Post

Maybe you want to add a link to subscribe to your newsletter, an advertisement, etc. To the end of every blog post. Here’s how you do it:

The file you need to edit is the single.php. This is the template that displays your single articles. Open the file and find a good spot for the content you want to add. For example, to add a “Subscribe to newsletter” link after your post (and before the comments):

<?php the_content(); ?>

[the “subscribe to newsletter” link]

<?php comments_template(); ?>

Changing the Header Image

Websites are often judged by their looks and the first impression comes from the header – it is the first thing that your visitors see.

Your theme’s header is specified in the header.php and the style.css files. In the header.php file, you may see:

<div id=”header”>

<div id=”headerimg”>

<h1>

<a href=”<?php echo get_option(‘home’); ?>”>

</h1>

<div class=”description”>

<?php bloginfo(‘description’); ?>

</div>

</div>

</div>

And in the styles.css file, you may see:

#header {

background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/header.jpg”>

no-repeat bottom center; }

#headerimg {

margin: 10px 8px 0;

height: 192px;

width: 740px; }

To change the image file, replace the “header.jpg” with the name of the new image file you have uploaded to replace it. If it is in a different directory, replace the bloginfo() tag with the address of the image’s location.

If you are using an image that is the same size, then simply replace the image. But if the image is a different size, change the height and width in the #headerimg section.

For more information: http://codex.wordpress.org/Designing_Headers

10 WordPress Plugins for Bloggers Making Money (Part 1)

There are at least two elements that make WordPress become the most popular content management system: themes and plugins. With the vast selection of available themes to install, you can build your WordPress website almost instantly with professional outlooks. Once your WordPress website is set up, you can further enhance the functionality of your website by installing different plugins. You can turn your WordPress website to a personal blog, e-commerce online store, online portfolio, etc by installing different plugins.

Many online individuals use WordPress to create their blogs and make considerable profits. For example, there are many “mommy bloggers” who share their tips on babysitting and frugal living styles, technology savvy putting up their products reviews on the latest gadgets, and travel bloggers posting their memorable pictures for their trips. These kinds of blogs often record massive traffic records. Hence, many related businesses (e.g. supermarkets, tech companies, travel agencies, etc.) approach them to place advertisements or promotion campaigns through their websites. With different plugins, WordPress owners can easily customize their website for different functions.

Although you have a wide selection of plugins to choose from, choosing the right ones is definitely a difficult task. That’s why we would like to highlight 10 plugins can help WordPress bloggers to turn their websites into a “profit-seeking” blog. In this article, we are going to share the first five. These five plugins are mainly for security, traffic and website performances.

Security

CAPTCHA – this plugin significantly reduce the chances of spammers attacking your website by asking a math question when submitting a request to your website (e.g. visitors are asked “what’s the answer for 2+3” when leaving comment). The plugin can work on comment section as well as the login page.

WP-CopyProtect  – this plugin protects your blog posts by preventing others copy your content. What that means is if your visitor tries to select the texts on your website, right click the mouse button, and try to copy the words, the plugin will block the “right-click-copy” function.

Traffic and Website Performances

Google Analytics – this plugin is pretty much self-explanatory. Google Analytics is a website traffic statistic tool that tells you where your visitors come from and how they interact with your website. To track your website traffic, all you need to do is to sign up at account on Google Analytics, install this plugin, enter your Google Analytics ID on your WordPress dashboard. Without the plugin, you would have to copy and paste the Google Analytics tracking code into each of your website pages.

WassUp Real Time Stat – this plugin is an alternative of Google Analytics. With this plugin you can see a full stats traffic report on the WordPress dashboard and even the real-time visitor activity.

WP-Optimize – this plugin helps you optimize your WordPress databases by reducing the overhead of spams, drafts, tablet, etc. An optimized WordPress website gives you a faster load time, which is benefitial to SEO performance as well as enhancing user experiences.

We will cover 5 plugins in the next article. To give you a headsup, these 5 plugins are mainly for website promotion as well as helping you earning revenue by placing ad banner and PayPal Donation button. Please stay tuned for details.

 

 

Tweaking your WordPress Theme (Part 1)

WordPress is one of the most popular CMS platforms in today’s web design industry, largely because of the vast selection of available themes, free and commercial. But most often a theme is only a starting point – there is no such thing as a perfect theme – many website owners start with a great theme and tweak it to perfectly suit their needs.

Tweaking is not a privilege of those proficient in scripting or programming. There are many “customizations” you can make to your WordPress theme, even if your scripting/design knowledge and experience is limited.

Here are some of the easy customizations you can make to your WordPress theme.

  1. Edit the theme’s CSS
  2. Display post excerpts or full content
  3. Excluding/including a category
  4. Crafting page navigation
  5. Add something (anything) to the end of your blog posts
  6. Change the header image (if theme has a header image)
  7. Change the sidebar
  8. Add contact form
  9. Add Google Analytics tracking code

We will be discussing the first 3 customizations in this post.

Edit Theme CSS

You can tweak colors, fonts, layouts, backgrounds and other visual elements by editing the Cascade Stylesheet, or CSS. Most of the time, you will find the theme’s CSS style in the file style.css. You can access this file via Appearance > Editor in your WordPress admin panel.

How to:

  1. Locate the attribute you want to edit. The attributes are identified by names indicating sections, such as body, header, etc.
  2. Make the changes to the code displayed between the curly brackets { }.
  3. Save the changes

For more information: http://codex.wordpress.org/CSS

Display Post Excerpts or Full Content

By default, your theme will display the full content of your blog posts on your home page. But if you would rather display only a short excerpt from the post as a little “teaser” to click through to the full article, you can tweak your theme to display excerpts.

To do this, you will need to get familiar with two tags:

1) The tag that displays your full post content is <?php the_content(); ?>

2) The tag that displays your post excerpt is <?php the_excerpt(); ?>

All you need to do is replace the content tag with the excerpt tag on your index.php file. Then, when you write a new post, enter in your article summary (or teaser) in the Excerpt field.

*Note* If no excerpt is set, it will automatically display the first few sentences of your blog post.

For more information on excerpts: http://codex.wordpress.org/Excerpt and http://codex.wordpress.org/Template_Tags/the_excerpt

Excluding/Including a Category

Let’s say you want to display posts from only one category on your homepage, or you want to exclude posts from one or more categories. Here’s how you do it:

Add this code where you want the posts to be displayed:

<?php query_posts(‘cat=3’); ?>

This code will display posts only from category ID 3. Change this number to whichever category ID you’d like to include.

If you want to do the opposite, all you need to do is add a “-“ in front of the category ID number, like this:

<?php query_posts(‘cat=-3’); ?>

This will exclude all posts which have the category ID 3.

For more information on query posts: http://codex.wordpress.org/Template_Tags/query_posts

SEO Tips for Your WordPress Blog

seo_tips_for_wordpress

Here are some SEO tips for your WordPress blog:

1. Alter the Permalink structure

Set your permalinks optimally for SEO. The permalink of your WordPress blog, by default, looks like http://yourdomain.com/?p=N, where N is the Post ID number. While it works on all server environments, it is not SEO-optimal.

You can easily change your permalink structure by clicking on the “Settings” tab and then “Permalinks” menu on the dashboard of WordPress. You can choose from the “common” structures provided or you can enter your own in the “Custom Structure” field using the structure tags. Make sure your do not put your domain URL in the permalinks field. You must use structure tags.

Structure tags:

  • %year% – displays the 4-digit post year in the link (ie. 2013)
  • %monthnum% – displays the 2-digit post month in the link (ie. 05)
  • %day% – displays the day of the post in the link
  • %postname% – displays the post name in the link
  • %category% – displays the category of the post in the link
  • %author% – displays the author name in the link

For example, if you want to display the post’s category and the title in the permalink, you will need to enter the following in the Custom Structure field: /%category%/%postname%/

2. Add a comprehensive SEO Pack

You can install the All in One SEO Pack plug-in. The plug-in allows you to optimize meta tags, keyword tags, description and add a custom title for your blog.

3. Optimize the home page and site title of your blog site

Use a keyword research tool to find good keyword phrases for your home page. Include the keyword phrases in the meta description, title tags and the content of your home page.

Also, the title of your site is one of the single most important factors in terms ranking in the search results. This article provides useful tips on how to write a good title for your page and post. Check this out.

To change your WordPress blog title, go to Settings and click “General”. Quick and easy.

4. Optimize your blog’s images

You can optimize your images by using keywords in the “Alt” attribute and the names of the images. Also, include an image description in the image title tag.

Images with huge file sizes will cause slow load time. Please remember that load time is one of the factors that determine your search rank. Check out this article about the 10 tips to speed up your WordPress load time.

5. Freshness

Have you ever asked yourself this question: “Why do I need to spend so much effort on SEO?” Well, it’s a pretty obvious answer: To Get More Visitors! So, here comes the million-dollar question: What is THE MOST important factor that can attract more visitors to your website? A beautiful website layout? Photo albums with clear description and “alt tag”? Certainly, these are important, but definitely not THE MOST important reasons.

Content is the king.

Your website content is the most influential factor that drives traffic (and search engine robots) to visit your website. If you want your visitors to come to your website on a regular basis, you will have to provide content on a regular basis, too. But, quantity will only get you so far. You have to make sure that your content is in good quality (e.g. How reliable is your source of the content? Does your content provide a valid argument? etc.).

A website with high quality content that is updated regularly can create visitor loyalty. Returning visitors can then bring in more new visitors by sharing your blog post on their social media channels and their blogs. The more readers that post your website on their personal blogs, the more backlinks you will get, which as a result, can further enhance your SEO performance.

We hope these 5 useful tips can help you achieve better SEO performances. If you have any comments and thoughts on SEO techniques, please feel free to drop by the SEO section on our Forums and share your ideas there.

7 Common WordPress Mistakes (Solutions Provided)

7_common_wp_mistakes

We all make mistakes. But, learning from our mistakes makes the lesson meaningful.

Below are 7 common mistakes that WordPress users often make. By outlining them, we hope this list can help prevent other WordPress users from running into the same problems in the future.

1. All about “username”

There are mainly 2 types of popular mistakes under this category and let’s go over each of them in detail. The first common one we see is: clients using “admin” as username. Recently, WordPress has been attacked by a massive botnet of tens of thousands of computers and the attack was mainly targeting websites with “admin” as the usernames. “Admin” is the most common username that people choose to create. It would make sense for hackers to attack the websites with “easy-to-hack” usernames first.

Solution: don’t use “admin” as your username when you install WordPress. However, if you’ve already used it, check out this article to see how you can change the WordPress username (by default, WordPress does not allow users to change their usernames).

Also, you have the option of inserting your first name and last name when creating an account for your WordPress login.  If you manually insert a name for your account, all your posts will no longer display your username as the author of the posts. Instead, it will display your first name and last name (Note: you are NOT required to insert a GENIUNE first and last name!). Differentiating your username from your “account display name” decreases the chances of hackers successfully guessing your login-name.

Another common mistake in regards to WordPress username is keeping the unused user account. For example, if you hire a contract webmaster to take care of your WordPress website, you should always remove the account once the service ends. Remember, the more user account you have on your site, the greater chance the hackers can access to your website.

Solution: if you don’t need an account, delete it right away.

2. All about “password”

Did you know that the most common passwords are actually “password”, “123456”, and “12345678”? Compiled by a password management company, these results were gathered using the data that hackers have previously posted online.

So, imagine you have a username “admin” with a password “password”, what is the level of difficulty for hackers to attack your website?

Solution: Create a stronger password (e.g. contains at least a letter, a number, and a symbol). Also, regularly update the password!

3. Never backing up your website

Myth: “Why should I back up my own site? Doesn’t my web hosting service provider backup my website anyways?”

Answer: Yes, we do backups of your website, but the backups are mainly for our benefits. All the backup files we make (e.g. in one particular server) are jumbled together. Also, when we perform our backups, it may not be the moment you make changes to your websites. So, chances are, we may not include the latest changes of your website.

Solution: Log in to cPanel and do a full backup of your website regularly. If you don’t know how, read this blog post.

4. Too many categories

The architecture and planning of a website greatly affect its SEO performance. Moreover, leaving excessive categories will slow down your website load time.

Solution: One of the greatest features of WordPress is the capability of using “tags”. “Tag” is very similar to category and it helps WordPress owners to group posts based on the keywords they manually set. So, try to limit the usage of categories and make use of tags to group different posts.

5. Ignoring WordPress and plugin updates

WordPress regularly releases updates for security reasons. If you ignore them, you would probably know the consequences right? The same problem goes to plugins too. Remember this: there are reasons why plugin developers release updates. So when you see the update signs, give them a click immediately!

Solution: Besides regularly logging in to your WordPress Dashboard to see if there are any updates available for download, you may consider using Softaculous to install WordPress. The benefit of using Softaculous to install WordPress is that it will send out email notifications for users when there are new updates release for the installed scripts. For full details, check out our article in our Scripts Library.

6. All about plugins

Speaking of plugins, one of the most common mistakes a WordPress user makes is: missing out the great features of certain plugins. For example, you have a photo WordPress website and you often experience slow load time. You never have the time to investigate the reason behind it. In fact, your high quality images slow down the website. To solve this problem, you can simply install a caching plugin as well as other tools that can help you reduce the file sizes of your website while keeping the quality of the images. To learn more how these plugins help you increase the load time of your WordPress website, check out this article.

While many WordPress users miss out the great features of plugins, on the contrary, there are other WordPress users who like keeping the unused plugin files on the website. Remember: the more files you have on your website, the longer time it takes to load your website. It makes sense to store the files on your website if you are actively using them. But for those that are not in use, why not remove these unnecessary plugins and have a faster website load time?

7. Unfriendly Permalink Structure

By default, WordPress has this setting for permalink:

/?p=123

If you see a blog post with this URL (e.g. YourWordPressBlog.com/?p=123), can you guess what this post is about? If you can’t tell what this blog post is about, your readers (including search engine robots) will have the same experience too.

Solution: login to your WordPress Dashboard. Go to “Settings” and click “Permalinks”. There are 6 settings for you to choose and you can decide which one that fits your need the most.

We hope this article gives you an opportunity to review some of the settings on your WordPress website as well rectify any mistakes. If you need help in solving the problems, our Customer Support Team is happy to assist you. Simply contact us by our live chat, telephone, or customer support ticket system.