syber90
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show a specific category on homepagehere’s another hack to show what category you want on homepage
<?php if (have_posts()) :query_posts($query_string .'&cat=3'); while (have_posts()) : the_post(); ?>And if you want to exclude a specific category from homepage, instead of
'&cat=3', put'&cat=-3'.Forum: Fixing WordPress
In reply to: Show a specific category on homepageDone it!
Here’s the code I used:
<?php if (is_home()) { query_posts("cat=3"); } ?>It should be placed before the Loop.
Forum: Fixing WordPress
In reply to: Show a specific category on homepageThat might be a solution but it won’t work for me because I won’t be able to order the posts from that specific category the way I want on the homepage.
That’s why I need to show only category 3 on the homepage and with the help of AStickyPostOrderER plugin I will be able to order them how I want.
So, I’m looking for a function to display the category 3 on the homepage and not posts from category 3.
Any help would be appreciated.
Forum: Fixing WordPress
In reply to: Posts order on different pagesI actually found a way to do it. I found AStickyPostOrderER plugin that does exactly what I need. I also found your plugin on your blog (not so sure if you are also the admin of moshublog.com. If you are, salutari din Romania) here: http://moshublog.com/2007/10/30/custom-query-string-reloaded-for-wordpress-23-with-tag-support/
but, since the first plugin does exactly what I need, I didn’t tried your plugin.
Forum: Plugins
In reply to: how to Add nofollow to some in-house linksanyone ?