adamohern
Forum Replies Created
-
Forum: Plugins
In reply to: htmlspecialchars not working in filters for the_content?Oh shucks. It seems to be something to do with the custom theme I’m using, as disabling the theme makes things work as expected. Drat. Sorry folks, thanks anyway.
Forum: Plugins
In reply to: Media-ready WP forumFor example, one idea might be to create a multi-site network and use a second site as the forum. But this seems prohibitively complex. I really want something as simple as possible.
Forum: Themes and Templates
In reply to: query posts with 'cagetory__and' AND 'category__not'?Anyone have any thoughts on this? Pretty please?
Forum: Fixing WordPress
In reply to: Nested Categories to TagsSorry to keep harping on this one, but it’s a big deal for me! Maybe another way to say this is that I want to “flatten” my category tree, as described above. Does NOBODY have any idea how to do this? Please? It would be a huge help!
Forum: Fixing WordPress
In reply to: Nested Categories to TagsIt would be fine if I could somehow just do an SQL query that would take all posts in the “Bowser” category and also assign them to the “Dalmations”, “Dogs”, “Mammals”, and “Animals” categories. If I could do that, then it would be easy to do a simple cats-to-tags. Anybody know how to do this?
Forum: Themes and Templates
In reply to: list of related postsAh, looks like I need to do a custom query with tag=$tag1,$tag2,$tag3 etc, and then go thru the loop again.
I think I’ve got it. Thanks anyway!
Forum: Themes and Templates
In reply to: list of related postsReally? Nobody? Seems like this would be a common thing to do, doesn’t anybody out there know how to do this?
Forum: Plugins
In reply to: rebuild thumbnails?I’ll take a look at that. Thanks!
Forum: Themes and Templates
In reply to: Attachments in 2.6?Ah, looks like get_children is what I was after. Much obliged!!
Forum: Themes and Templates
In reply to: Attachments in 2.6?Sounds perfect! How would I access attached posts (“child” posts?) from a theme? Do I need a custom query, or is there an easier way?
Thanks again!
Forum: Themes and Templates
In reply to: Page Pagination Not Working with PagesThis tutorial did the trick. Perfect!
Forum: Themes and Templates
In reply to: Page Pagination Not Working with PagesFor some reason it’s not working for me. I’m using
<?php $limit = get_option('posts_per_page'); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('cat=8&showposts=' . $limit=6 . '&paged=' . $paged); $wp_query->is_archive = true; $wp_query->is_home = false; ?> <?php if (have_posts()) { ?> <div class="navigation"> <?php posts_nav_link(' · ', 'previous page', 'next page'); ?> </div> <?php $i = 1; ?> <?php while (have_posts()) { the_post(); ?> <?php //if (in_category('8')) { ?> <?php if ($i == 1) { ?> <?php include TEMPLATEPATH . '/includes/focus.php'; ?> <?php } else { ?> <?php include TEMPLATEPATH . '/includes/posts.php'; ?> <?php } ?> <?php $i++; ?> <?php }//} ?> <div class="navigation"> <?php posts_nav_link(' · ', 'previous page', 'next page'); ?> </div> <?php } else { ?> <?php include TEMPLATEPATH . '/includes/error.php'; ?> <?php } ?> </div><!-- /home -->
The front page works as expected, but the “paged” results are returning 404 errors. Any ideas as to what could be the culprit?
Adam
Forum: Plugins
In reply to: Post from Theme IndexHelpful stuff! Thanks!
Forum: Fixing WordPress
In reply to: duplicate file names in imagesClearly, but I would expect the WP upload script to automatically rename uploads to a unique filename. Can this be implemented?