• How can I have a second post page?
    For example, the home page usually is the main post area but I would like to add an extra page with the same possibilities to add different posts, not just a single one.

    Also can I remove the date only from my sticky post?

    Profile click here

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter michaelwillow

    (@michaelwillow)

    I tried from the settings but nothing worked…

    How can I have a second post page?

    Not in the sense where you specify in Settings->Reading, but you can create Templates that present different list of posts. You will want to review Stepping Into Templates and Template Hierarchy to understand the process.

    Also can I remove the date only from my sticky post?

    Read Nathan Rice’s article on that subject and know that your theme likely uses the_date(), or the_time(), to display the date of posts, so you will want to put some “if logic” around that code.

    Thread Starter michaelwillow

    (@michaelwillow)

    Thanks for that
    I knda understand that
    I have searched for a lot of solutions and all seems that I am gonna mess up my profile which I don’t need it as I get a lot of visits per day.

    The codes in my php main index are different than those the solutions provide.

    Here it is

    In order to remove the footer from the sticky post I don’t know what I have to change here…

    <?php get_header(); ?>
    <div id=”content”>

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

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

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <div id=”title_back”>
    <div class=”post-date”><span class=”post-month”><?php the_time(‘M’) ?></span> <span class=”post-day”><?php the_time(‘d’) ?></span></div>
    <div class=”post-title”>

    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <span class=”post_arr”> Posted by: <?php the_author() ?> in <?php the_category(‘, ‘) ?></span> <span class=”post_arr2″><?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></span>
    </div>
    </div>
    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>
    </div>
    <!–/post –>

    <?php endwhile; ?>

    <div class=”navigation”>
    <span class=”previous-entries”><?php next_posts_link(‘Previous Entries’) ?></span> <span class=”next-entries”><?php previous_posts_link(‘Next Entries’) ?></span>
    </div>

    <?php else : ?>

    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn’t here.</p>

    <?php endif; ?>

    </div><!–/content –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    The following plugin may do what you want.

    https://www.ads-software.com/extend/plugins/sideposts/

    If is not sticky do your date thing…

    <?php
    if (! is_sticky()) { ?>
    <div class="post-date"><span class="post-month"><?php the_time('M') ?></span> <span class="post-day"><?php the_time('d') ?></span></div>
    <?php }
    ?>

    Hi,

    This may help you out!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can I have a second post page?’ is closed to new replies.