From the category archives:

Thesis

Show latest posts from selected/random sites in the footer using thesis theme

Share this

by michael

Thesis theme - the best wordpress theme - flexible and SEOThe idea of this is shown in the footer of Engadget and TUAW, I think it’s great to have a quick look of what other sites latest topics (by grabbing them from RSS feeds). I decided to make it display 6 random sites from my favorites.

[click to continue…]

Create social media sharing in thesis theme

Share this

by michael

Thesis theme - the best and flexible wordpress themeI have seen this social media sharing on a site (sorry I forgot which site it is) that also use thesis and I like it. I am using it on my site.

[click to continue…]

Exclude certain categories from home page

Share this

by michael

Here is the code that you need to insert into thesis custom_functions.php to exclude certain categories from the home page

function exclude_cat_from_home() {
global $query_string;
if (is_home()) {
query_posts($query_string . ‘cat=-5′);
}
}
add_action(‘thesis_hook_before_content’, ‘exclude_cat_from_home’);

Find you categories ID from the Categories section in wordpress, then place your mouse over the category and you will see in the status bar on your browser cat_ID=x at the end or you can just press edit on the category and you will see it stated in the address bar and grab the cat_ID=x at the end as well.You can add more than one category to be filtered by adding more to it.

query_posts($query_string . ‘cat=-5,-7,-8′);

If you want to do it the other way around, say too many categories to exclude from, you can just write the code the other way (just without the ‘-’ sign) and it will only show that particular categories in the list.

query_posts($query_string . ‘cat=2,3′);

If you filter out a parent category, it will also filter out all posts under its child categories, so you have to target the specific child category if you still want to show the posts in the parent category.

About thesis theme and its customizable factor

Share this

by michael

Thesis theme for wordpressIf you haven’t heard about thesis theme for wordpress, you are missing the most customizable theme for wordpress ever. Maybe you are wondering why would I and a lot of other people pay $87 for a theme where you can get lots of other themes available for free (or even $164 for developer version that you can use it in multiple sites and sell it to your clients if you are into web design business). The answer is simple, after a while you might want to add something to your site but not available on your current theme, then you have to switch to another theme that actually have, but what if you prefer the previous theme layout and design? I myself have done this switching themes stuff a lot of times just to find a perfect one, but there isn’t. Some might find the solution through plugins, but do you know that plugins take resources? and what if the plugin is no longer supported and updated to support the latest wordpress version? As web technology progresses, there is always going to be interesting new stuff to implement and I believe by using thesis theme is definitely the right choice.

[click to continue…]