• Currently using Andreas 01-12. Is it possible to change the number of blog posts that appears on the main index template? I looked at it and there doesn’t seem to be an obvious place to edit the number of posts, it just has this:

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    <div class=”post”>
    <h2>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>
    <div class=”contenttext”>
    <?php the_content(‘Read more »’); ?>
    </div>

    <p class=”postinfo”>Posted: <?php the_time(‘F jS, Y’) ?> under <?php the_category(‘, ‘) ?>.
    “>Comments: <?php comments_number(‘none’,’1′,’%’); ?>
    <?php edit_post_link(‘Edit this post’,’ | ‘,”); ?></p>
    </div>

    <?php endwhile; ?>

    My preference would be to have only one post on the front page and then a link in the sidebar to the rest of the posts. But even for the rest of the posts there isn’t currently a “page 1” of the blog. When you scroll down the page https://www.borderlinecollective.org and click “previous entries” then you get borderlinecollective.org/page/2 but there is no page/1 or just page/ file.

    Is this something that simply cannot be done with this theme?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter borderlinecollective

    (@borderlinecollective)

    I should also note that I do know where the “reading” option is to change the number but that still affects the number on the front page (and the blurb on top of the main page still shows on each blog page), and how to change to a static main page and posts page instead, but in my drop-down to select a posts page all the options are pages and the current main page (if I could modify it to only show the most recent post) is also not an option to choose for front page.

    I didn’t create this site, I’m just trying to figure out how to modify it. Thanks for any advice!

    Thread Starter borderlinecollective

    (@borderlinecollective)

    Odd…I seem to have figured it out using various Googleable sources. Hopefully it won’t suddenly break on me. For anyone who’s interested, I added some lines to the main index template and uploaded a “blog” template.

    Above this line of the main index:

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    I added:

    <?php $temp_query = $wp_query; ?>
    <?php query_posts(‘showposts=1’); ?>

    …to indicate only one post will show.

    Then created a “blog” template that basically copied the index page but deleted the blurb I had on top. Then above the same line as on the index page, I added:

    <?php $temp_query = $wp_query; ?>
    <?php query_posts(‘showposts=6’); ?>

    Thread Starter borderlinecollective

    (@borderlinecollective)

    Nope, spoke too soon. Definitely broken.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Format change for Andreas Viklund theme’ is closed to new replies.