Home page

  • HI all

    I am new to wordpress and I have a question about the homepage.

    Currently it shows the latest posts in their entirety on the home page.

    Is it possible to just show the titles and category and maybe the posted date of the posts with the exception of the first one which could have just the first paragraph and a view more link.

    example as follows

    Title of the post would be here

    The first paragraph of the latest post would be underneath the heading. It would have a link at the end of it so you could read ther full article …..Read More

    category 1 Title of post date of post
    category 2 A different article title its posted date
    category 1 another title date of post

    etc etc etc

    I hope this makes sense and I look forward to learning more about wordpress and maybe helping others when I get the chance

    Many Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator keesiemeijer


    Please provide a link to to your theme if possible.

    I havn’t settled on a theme yet, should I do that before I start making any changes?

    Moderator keesiemeijer


    It’s more convenient to know how your index.php is structured so that we can integrate it in your theme. I can also show a bare-bones example that you have to integrate into your theme later.

    Thanks for your reply

    I have been away for a few days. I have found a site that has the their posts laid out in a similar way to the I would like. Its http://www.thecheckeredflag.co.uk/. It has the posts just how I want it although I had not thought about the comments column. I would like the date posted in there too if possible.

    I also like how they have a changing image at the top of the page although I think their may be a plug-in that does that which I am currently trying to find.

    The following is my index.php, is that enough for you to help me out?

    <?php get_header(); ?>
    <div class="art-content-layout">
        <div class="art-content-layout-row">
            <div class="art-layout-cell art-content">
    			  global $post;
    			  if (have_posts()){
    				while (have_posts())
    								'id' => art_get_post_id(),
    								'class' => art_get_post_class(),
    								'thumbnail' => art_get_post_thumbnail(),
    								'title' => '<a href="'.get_permalink($post->ID).'" rel="bookmark" title="'.get_the_title().'">'.get_the_title().'</a>',
    								'before' => art_get_metadata_icons('date,author,edit', 'header'),
    								'content' => art_get_excerpt(), // 'content' => 'My post content',
    								'after' => art_get_metadata_icons('category,tag,comments', 'footer')
    				art_pagination();// previous_posts_link | next_posts_link
    			  } else {
    							'title' => __('Not Found', THEME_NS),
    							'content' => '<p class="center">'
    							.__( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', THEME_NS)
    							. '</p>' . "\r\n" . art_get_search()
              <div class="cleared"></div>
            <div class="art-layout-cell art-sidebar1">
              <?php get_sidebar('default'); ?>
              <div class="cleared"></div>
    <div class="cleared"></div>
    <?php get_footer();

    I really do appreciate your assistance. I am more than happy to try this out for myself but I am having trouble finding any tutorials on the subject. Mainly because I don’t really know what terms to search for.

    Many Thanks

    I should maybe add that I only need to display the most recent 30 posts

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Home page’ is closed to new replies.