WordPress.org

Forums

Posts for Page
not working last request for help deleted? (5 posts)

  1. Totalomega
    Member
    Posted 2 years ago #

    I am using the following code:

    [blog_in_blog category_slug='booking' template="bib_post_template.tpl" thumbnail_size=<100x100>]

    and my code is working all but the pagination. It only shows 1 page of results when there are 60 posts.

    I had asked previously for help but didnt get anywhere. I need to figure this out asap it is keeping my entire site and 6 months of work from completing and launch. I am willing to pay a bit if needed for help.

    http://wordpress.org/extend/plugins/posts-for-page/

  2. Totalomega
    Member
    Posted 2 years ago #

    for more explanation I believe this is the template code also:

    <?php
    /**
     * Page Template
     *
     * This template is the default page template. It is used to display content when someone is viewing a
     * singular view of a page ('page' post_type) unless another page template overrules this one.
     * @link http://codex.wordpress.org/Pages
     *
     * @package WooFramework
     * @subpackage Template
     */
    
    get_header();
    ?>
    
        <!-- #content Starts -->
    	<?php woo_content_before(); ?>
        <div id="content" class="col-full">
    
        	<div id="main-sidebar-container">    
    
                <!-- #main Starts -->
                <?php woo_main_before(); ?>
                <div id="main">
    <?php
    	woo_loop_before();
    
    	if (have_posts()) { $count = 0;
    		while (have_posts()) { the_post(); $count++;
    			woo_get_template_part( 'content', 'page' ); // Get the page content template file, contextually.
    		}
    	}
    
    	woo_loop_after();
    ?>
                </div><!-- /#main -->
                <?php woo_main_after(); ?>
    
                <?php get_sidebar(); ?>
    
    		</div><!-- /#main-sidebar-container -->         
    
    		<?php get_sidebar( 'alt' ); ?>
    
        </div><!-- /#content -->
    	<?php woo_content_after(); ?>
    
    <?php get_footer(); ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  3. Totalomega
    Member
    Posted 2 years ago #

    n/m I was wrong this is the proper template code I am using:

    <!-- fragment of html for post template. This file will be deprecated... -->
    <!-- blog-in-blog Version: %bib_version% -->
    <div class="post">
    <!-- Post Headline -->
    <div class="post-headline">
    <div style="float:left; margin:7px"> %post_thumbnail% </div>
    <h2>
    <a title="Permanent Link to %post_title%" rel="bookmark" href="%post_permalink%">%post_title%</a>
    </h2>
    <small>%post_date% %post_time% : %post_categories%</small>
    
    </div>
    <!-- Post Body Copy -->
    
    <div class="post-bodycopy clearfix">%post_content%</div>
    <div class="post-comments">%post_comments%</div>
    </div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  4. rubieruben
    Member
    Posted 2 years ago #

    Just add this num='5' or replace 5 with the number of post you want to show on the page.

  5. Totalomega
    Member
    Posted 2 years ago #

    I use this code:
    [blog_in_blog category_slug='booking' template="bib_post_template.tpl" num='10' thumbnail_size=<100x100>]

    with same results it does control how many posts show on that page. But that is not the problem. The issue is that at the bottom after the 10 the :

    « Page 1 »

    is what shows when there are 60 or so posts its only showing an option for the first.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts for Page
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic