How To Exclude Posts Category from Homepage in Thesis Theme

Lets say you have any post categories that you don’t want to showing up on your wordpress blog homepage together with all your other latest posts. There is the steps to do this on your wordpress blog that using thesis theme. If you are using wordpress 2.5 and above, you won’t be able to see the entry IDs on admin pages. However you can install the Reveal IDs plugin and activate it.

1. Assume that you have installed Reveal IDs plugin and able to see your category IDs on WordPress Thesis theme. For example, we will use entry ID 161 and 159.
2. In Dashboard admin –> go to Appearance –> Editor –> Select custom_functions.php.

    Note : Please make sure you have select theme to edit : thesis
    

Add below code at the bottom of custom_functions.php. Click update file to finish.

    /* Exclude Posts categories on the homepage */
    function home_filter_begin() {
    if(is_home()):
    global $wp_query;
    /* Exclude id 161 and 159 from homepage*/
    $exclude = '-161,-159';
    query_posts(array_merge(array('cat' => $exclude ),$wp_query->query));
    endif;
    }
    add_action('thesis_hook_before_content','home_filter_begin');
    
    function home_filter_end() {
    if(is_home()):
    wp_reset_query();
    
    endif;
    }
    add_action('thesis_hook_after_content','home_filter_end');
    

How to Automatically Show Thumbnail in Thesis WordPress Theme

In the thesis theme, we can customize the post image and thumbnail but it need manual work. It is easy if all these things can be done automatically using existing wordpress plugin and modified a bit in custom.css file. Please follow below steps to enable this feature automatically on your blog post.

1. Install the “Thumbnails for Excerpt” Plugin

  • Login to Dashboard, on the plugin menu, click Add New. Search for “Thumbnail For Excerpts”. Then Install the Plugin


2. Configure the “Thumbnails for Excerpt” Plugin

  • Login to Dashboard, on the Setting menu, “Click Thumbnail Excerpts”


3. Add code to Custom File Editor under Thesis Menu Item

  • Login to Dashboard, on the Thesis menu, Click Custom File Editor. It will show you the currently editing: custom/custom.css then add below code at the bottom.
    /* Teaser Thumbnail Image Styling */
    .custom .teaser img {
    
    /* Add Frame to the thumbnail Image, use "border:none;" to disable border. */
    border:5px solid #F2F2F2;
    
    /* Specify the height of the Thumbnail Image*/
    height:150px;
    
    /* Adds margin space to the thumbnail Image. */
    margin:2px 10px 0 0;
    
    /* Specify the width of the Thumbnail Image. */
    width:150px;
    
    }

How to Submit Sitemap to Google Webmaster Tools

Before we start to submit the sitemap to google using webmaster tools, please make sure that you already installed the Google XML Sitemaps plugin in your wordpress blog and already been registered to Google webmaster tools account. Please refer to below pictures and steps:

1. Please make sure that your wordpress blog sitemaps has been generate automatically by Google XML Sitemaps generator.

2. Please log in to Google Webmaster tools account and go to dashboard.

3. Click Submit a Sitemap.

4. Enter sitemap.xml at the provided form then click Submit Sitemap.

5. The message sitemap.xml has been added as a Sitemap will appear at the top of the dashboard and please make sure that the status column is success.

The Most Popular WordPress Plugins for New Blog Installation

After completely installed the new WordPress blog, there are few more steps before you start blogging. You can extend the WordPress blog with the plugins that can be downloaded from wordpress plugin directory. To make your life easier, i would like to recommend you the most popular wordpress plugin that i ever used.

1. Akismet
Akismet checks your comments against the Akismet web service to see if they look like spam or not.

    http://wordpress.org/extend/plugins/akismet/

2. Google XML Sitemap Generator
This plugin will generate a special XML sitemap which will help search engines to better index your blog.

    http://wordpress.org/extend/plugins/google-sitemap-generator/

3. All in One SEO Pack
Automatically optimizes your WordPress blog for Search Engines (Search Engine Optimization).

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

4. WordPress Related Posts
This WordPress plugin provides multiple options to show the via tags related posts of a post (for example via a sidebar widget).

    http://wordpress.org/extend/plugins/related-posts/

5. AskApache Search Engine Verify
This plugin Adds Site Authorization meta tags to your home page, to allow search engines to authoritate your ownership.

    http://wordpress.org/extend/plugins/search-engine-verify/

6. Add to Any
Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg and many more.

    http://wordpress.org/extend/plugins/add-to-any/

7. WP-DB-Backup
On-demand backup of your WordPress database.

    http://wordpress.org/extend/plugins/wp-db-backup/

8. WordPress.com Stats
You can have simple, concise stats with no additional load on your server by plugging into WordPress.com’s stat system.

    http://wordpress.org/extend/plugins/stats/

9. Contact Form 7
Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup.

    http://wordpress.org/extend/plugins/contact-form-7/

10. WP Security Scan
Scans your WordPress installation for security vulnerabilities.

    http://wordpress.org/extend/plugins/wp-security-scan/

Home page does not open in Internet Explorer 7


When you start Windows Internet Explorer 7, your home page does not open. Instead, a blank Web page is displayed. This problem typically occurs after you install Internet Explorer 7, after you install Windows, or after you reset Internet Explorer settings. This problem may occur only for certain users.

To resolve this problem, create and run a Skiprunonce.reg file for each user account that experiences the problem. If you would rather modify the registry directly, see the “Advanced users” section.

To do this, follow these steps:

  1. Start a text editor, such as Notepad.
  2. Copy the following information, paste it into the text editor, and then save the file as Skiprunonce.reg:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]

"RunOnceHasShown"=dword:00000001

"RunOnceComplete"=dword:00000001
  1. Exit the text editor.
  2. Double-click the Skiprunonce.reg file that you created in step 2.When you run the Skiprunonce.reg file, you will receive the following message:
    Are you sure you want to add the information in path of .reg file to the registry?

    Click Yes. Then you will receive the following message:

    Information in path of .reg file has been successfully entered into the registry.

Notes

  • In Windows Vista, when non-administrator users try to run SkipRunOnce.reg they are prompted for an administrator password.
  • To run SkipRunOnce.reg for all users at the same time, modify SkipRunOnce.reg by replacing [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main] with [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] and then running it as an administrator.