• hankeester

    (@hankeester)


    Newbie to WP. I’m using lastest version of wordpress and the tastelessly theme. When I add multiple posts it only shows one post on the homepage, then to the right, under “recent posts” it shows the other posts. How do I set it up so it shows 10 posts. I’ve already change it to show 10 posts in the admin area. Do I need to modify the code to be able to show more than one post for this particular theme?

    Also, this theme comes with a nav bar and a default home link. The home link does not show up in the pages under admin area?

    Any help appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • What’s shown is typically controlled by the theme. You should link to your site and a place to download the theme.

    Thread Starter hankeester

    (@hankeester)

    https://www.freecsstemplates.org/preview/tastelessly

    Above is the theme I’m using.

    Here’s my website url: https://www.cockpunches.com

    thisisedie

    (@thisisedie)

    For starters, what you linked to is not a theme for WP. It’s just a standard website template. The theme for WP is here:

    https://www.freewpthemes.net/preview/tastelessly

    As for why you’re getting only one post on the main page — I’m still trying to figure that out.

    The home link does not show up in the pages under admin area?

    It’s not a page. It’s a hardcoded link to the main page.

    Thread Starter hankeester

    (@hankeester)

    Ok,

    Well yes, the theme I downloaded was from the link you provided not the freecsstemplates.com.

    Thread Starter hankeester

    (@hankeester)

    here is the code for the index.php file. I’m not to savvy with php coding but pretty sure I need to change something within this code.
    Anyone??

    <?php get_header(); ?>

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

    <!– start content –>
    <div id=”content”>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h1 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h1>
    <p class=”meta”><small>Posted on <?php the_time(‘F jS, Y’) ?> by by <?php the_author() ?> <?php edit_post_link(‘Edit’, ‘ | ‘, ”); ?></small></p>
    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>
    <p class=”links”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?>     ” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>Permalink</p>
    <p class=”tags”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘ ‘); ?></p>
    </div>
    </div>
    <!– end content –>

    <!– start sidebar one –>
    <div id=”sidebar1″ class=”sidebar”>

      <li id=”recent-posts”>
      <h2>Recent Posts</h2>

    </div>
    <!– end sidebar one –>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    <?php get_sidebar(); ?>

    <!–
    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
    </div>
    –>

    <?php get_footer(); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘only showing one post’ is closed to new replies.