ifelse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Diffrents url:sYou need to either setup domain forwarding from matrix.dzygn.com to henrik.abuseadam.com or make DNS changes. Your webhost will be able to help you with this.
Forum: Fixing WordPress
In reply to: note pad no wrap+1 for notepad2. My main development tool for WP and one of the first things I download on a new PC.
Thanks guys. Good to know.
Forum: Plugins
In reply to: query postsHere’s roughly what you would be doing:
if (have_posts()) : while (have_posts()) : the_post();
the_title();
endwhile;
//now run a new query
query_posts('category_name=site&showposts=10');
//as $wp_query is reinitialise, let's run the_loop
while (have_posts()) : the_post();
the_title();
endwhile;
endif;Forum: Plugins
In reply to: query postsYou shouldn’t need to rewind. The loop counter is reset upon execution so it acts as an implicit rewind.
Forum: Your WordPress
In reply to: actionBERG.com (Feedback please)The slowdown isn’t specifically down to your implementation. The work down by the browser is slightly computationally expensive and can result in slowdown on less spec’ed systems.
I don’t experience it but I remember noticing perceptible slowdown about 2 years ago on someone else’s system (Mozilla on a pentium 3 600 if I recall correctly) when that effect was employed. It’s really just something to be aware of.
Forum: Plugins
In reply to: query postsAh crap, I remembered seeing it somewhere. For future reference, see here.
Forum: Plugins
In reply to: query postsBy parameters, I mean you would call query_posts as such:
query_posts(‘category_name=your_category&showposts=10’);Forum: Plugins
In reply to: query postsquery_posts allows you to reuse the $wp_query object. By passing in parameters to query_posts, that query will be performed.
This will reset the loop counter and rebuild the collection of posts allowing you to go back through the_loop again.
Anyone know what’s the cause of this bahaviour?
Forum: Your WordPress
In reply to: Aphrodite atthe404Great work Root!
Going a bit off topic here, this may be useful.With this, you’ll be able to apply an offset to your second dynamic loop so that it doesn’t also return the lead article.
Forum: Themes and Templates
In reply to: Single.php how can I make it go to comments box not to the titleNo prob:-) BTW, the website in your profile is pointing to a URL which doesn’t exist. It took me a bit of time to find your actual domain.
Forum: Fixing WordPress
In reply to: Detect more than 1 published post?[Removed by IfElse] Alphaoide’s little snippet is actually closer to what you’re looking for.
Forum: Themes and Templates
In reply to: Design problemsForum: Installing WordPress
In reply to: Titles for last 6 articles on another non-WP pageYou don’t even need to do as much work as that.
Just add the following to your home page.
<form id="searchform" method="get" action="http://yourdomain.com/sub/index.php">
<input type="text" name="s" size="20" value="search" />
</form>