Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thanks, I’ll look into that!

    I have this same problem, but the above solution is no good. I want to be able to test if a any image size handle exists without having to know its dimensions. i.e.

    does_image_size_exist( 'large')
    does_image_size_exist( 'sm_movie_poster')
    does_image_size_exist( 'sidebar_avatar')

    if the size hasn’t been added with add_image_size() there are some functions I need to call before outputting the image.

    I was having the same problem, and I fixed it like this.

    In my archive.php file, I found an extraneous call to the_post() function, which was essentially ‘using up’ the first post on any page.

    the_post();

    while (have_posts()) : the_post();
    include (TEMPLATEPATH . ‘/post.php’);
    endwhile;

    Once I deleted the solo the_post() call, all 10 posts would get formatted with the post.php template.

    I was having the same problem, and I fixed it like this.

    In my archive.php file, I found an extraneous call to the_post() function, which was essentially ‘using up’ the first post on any page.

    the_post();

    while (have_posts()) : the_post();
    include (TEMPLATEPATH . ‘/post.php’);
    endwhile;

    Once I deleted the solo the_post() call, all 10 posts would get formatted with the post.php template.

    Thread Starter mwolstat

    (@mwolstat)

    Hrm. I was looking at the main query that builds the cat post page and compared it to the main query that builds the feed page and noticed a JOIN on a table created by a poorly built plugin. Disabling the plugin solved the problem.

    Thread Starter mwolstat

    (@mwolstat)

    Argh!

    I just posted a new article to “Cat One” and it shows up in the category page AND the feed. So now the category page shows all legacy posts plus the new post, but the feed only shows the new post. Is there a difference in the way WP queries the DB for category posts? Why expose the ability to change category slugs if it screws everything up so badly?

    The recap:
    /category/cat-one/ Apache 301 to new cat URL
    /category/cat_one/ shows all posts formerly visible at above URL, good
    BUT
    /category/cat_one/feed/ shows only newest posts, all older posts missing from feed.

    Halp? Anyone?

    JSC-
    Confusingly, when you select the Day and Name option under Common Settings in the WP-Admin tool under Settings > Permalinks you change the way permalinks are created for your posts it fails to mention that your category links will change from a query string with an ID passed to the /category/slug/ URLs. It’s also frustrating that if you set out looking how to change just your category URLs look, there’s nothing in the admin tool to suggest that setting is the way to make this happen.

Viewing 7 replies - 1 through 7 (of 7 total)