Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter dreamnoir

    (@dreamnoir)

    To anyone else that has been having the same problem and is as frustrated as I was, here is what finally fixed it for me:

    #idc-container-parent #idc-container div, #idc-container-parent #idc-container .idc-message, #idc-container-parent #idc-container .idc-clear, #idc-container-parent #idc-container .idc-id, #idc-container-parent #idc-container .idc-toolbar, #idc-container-parent #idc-container p {
    clear: none !important;
    }

    Just add that to your Custom CSS settings and you should be fine.

    Alternatively, if you need it to clear: right instead of left, just change the “none” to “right”.

    It was so simple to fix, I regret asking for support, but maybe my solution will help others?

    Thread Starter dreamnoir

    (@dreamnoir)

    I think I love you. That worked perfectly! It’s funny how one “s” can mess things up 🙁 I’m very grateful for all of your help! I was not looking forward to working this problem out with the other post types I had planned on using later on 🙁

    You guys rule. Thanks so much!

    Thread Starter dreamnoir

    (@dreamnoir)

    I changed what I have to correctly reflect the order that if (have_posts()); goes in after the code, refreshed my permalinks, and still get the same thing.

    @kees, I checked it out and everything you have there is in my post-type declarations. Here is my template for the books.php page, if that helps anyone at all:

    <?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
    query_posts( array( 'post_type' => 'books', 'posts_per_page' => 5, 'caller_get_posts' => 1, 'paged' => $paged ) ); ?>
    		<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
                     ... code to display post here ...
    		<?php endwhile; ?>
    			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    		<?php else : ?><?php endif; ?>
    Thread Starter dreamnoir

    (@dreamnoir)

    I had originally saw this problem resolved; however, now that I’ve started to add my books (from the Now Reading) plugin I find that the second page returns the 404 I received before.

    Things I have tried:
    * Made sure that the suggestions you made about changing the $paged information was correct and still intact.
    * Made sure that I had not changed something in my custom post type register that would cause it to not work.
    * Deleting .htaccess in the hopes that the new one WP created would fix it.
    * Refreshed and reset my permalink structure only about a thousand times in the hope that somehow it would stick.
    * Pulled my brains out and then reinserted them in the hopes that I just wasn’t thinking clearly enough about the problem.

    So far, nothing. Anyone have any fixes that have worked for them? It doesn’t appear to be anything I can find wrong with either WP or my “plugin” so should I cut my losses and just let the page say “last x books” and be done with it?

    Thread Starter dreamnoir

    (@dreamnoir)

    I guess it just goes to show what someone can miss out on when they do give up 😀

    Thread Starter dreamnoir

    (@dreamnoir)

    I did visit the permalinks page and clicked save changes, several times actually, after changing what you had mentioned. And it still gave me the 404 error. HOWEVER, changing it to the default and then back to what I had it at originally fixed it and now I can finally view the content on the illusive page/2! Thank you so much, I was about to give up 😀

    Thread Starter dreamnoir

    (@dreamnoir)

    Same result. It really doesn’t want to display my content on those subsequent pages. I’ve been at this for two days (almost continuous) and I’m about to throw in the towel and change it to display X number of recent books and let people navigate the rest in the aside menus 🙁

    Thread Starter dreamnoir

    (@dreamnoir)

    @keesiemeijer It is using a custom page template to show the “posts” (I have the post_type’s capabilities set to post).

    <?php if (have_posts()) : ?>
    			<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("post_type=books&posts_per_page=1&caller_get_posts=1&paged='. $paged .'"); ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    ...regular post-displaying code here...
    
    		<?php endwhile; ?>
    			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    		<?php else : endif; ?>

    @tpimental I still get the same 404 error 🙁

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