multiplier
Forum Replies Created
-
Forum: Themes and Templates
In reply to: how to wrap widgets inside a div, conditionally?Wondering if anyone has a suggestion for this?
Forum: Themes and Templates
In reply to: Adding a conditional for HEADER_IMAGE (WP 3.0)Sorry guys – just found my answer –
Forum: Themes and Templates
In reply to: how to wrap widgets inside a div, conditionally?Anyone else know how to write the conditional properly?
Forum: Themes and Templates
In reply to: how to wrap widgets inside a div, conditionally?Thanks, but unfortunately that still leaves an empty “footer-widgets” div if no widgets are activated.
Any other ideas?
Forum: Themes and Templates
In reply to: how to wrap widgets inside a div, conditionally?I want the entire widget region wrapped in one large div called “footer-widgets”.
Forum: Themes and Templates
In reply to: how to wrap widgets inside a div, conditionally?That doesn’t wrap all the widgets within the “footer-widgets” div, though. That’s the main thing I’m trying to achieve.
Forum: Themes and Templates
In reply to: Putting wp_head in the footerStylesheets can still be called from the footer, though, no?
Forum: Themes and Templates
In reply to: adding filter to rss widget?Hmm, I’ve tried other filtering like this with different functions (ex: wp_page_menu) and it worked fine. Any idea why wp_widget_rss would be any different?
Forum: Fixing WordPress
In reply to: adding pagination to custom archives page?I know in index.php, the pagination traditionally goes between the endwhile and the else. But the example above is not a traditional Loop and there is no endwhile, so I’m still not sure where to insert the pagination. Everywhere I’ve tried inserting it has broken the page.
Forum: Fixing WordPress
In reply to: adding pagination to custom archives page?Thanks Michael. Actually according to the Codex, it looks like get_posts will take some of the same arguments as query_posts, so I was able to limit the number of entries like this –
$myposts = get_posts('orderby=post_date&order=DESC&showposts=50');The issue is that I don’t know where in the template to insert the next_posts/previous_posts hooks – any ideas?
Forum: Fixing WordPress
In reply to: Getting 1 excerpt 3 headlines with query_postsAny ideas on this?
Forum: Fixing WordPress
In reply to: Multiple conditionals without using echo?Brilliant, thank you! It was the curly brace before the elseif I had neglected.
Forum: Fixing WordPress
In reply to: Trouble with Multiple Loop and PaginationActually Kafkaesqui, your reponse in this other thread is what ended up saving me — you’re a huge asset to this forum, thanks mate!
Forum: Fixing WordPress
In reply to: Getting blog to paginate properly in ‘blog.php’ templateHallelujah — SimonJ, I owe you (and Kafkaesqui, as usual) a beer, that worked like a charm! Situation resolved.
Forum: Fixing WordPress
In reply to: Getting blog to paginate properly in ‘blog.php’ template“Then, if they click on “blog”, they go to the full blog, displayed as usual.”
Exactly. All I’m experimenting with is a way to separate the homepage and the blog, but without the configuration step. Maybe it’s not possible, but worth learning about.
Use query_posts($query_string); instead.
Thanks, Otto. I actually just read a bit about this. But when I replaced my previous query_posts with this…
<?php query_posts($query_string . '&orderby=date'); ?>…the pagination still did not work correctly, it just repeated the same posts.