• So I want to use one of my pages or whatever it’s called as a blog. How do I connect the posts and the pages?
    Please help….

Viewing 15 replies - 1 through 15 (of 30 total)
  • Under settings/reading, just select “Your Latest Posts” as your home page. Although that’s ussually default.

    If you don’t want your blog as your home, just select another static page for your latest posts, you just have to create the page.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    Thanks! I got it to work but the sidebar is all messed up. Any suggestions?

    Describe ‘messed up’??

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    It’s at the end of the post rather than to the sidebar. It makes the page extra long.

    need more info.

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    So on a page that I made a blog by connecting the posts to it works great, but the sidebar usually visible on the side of the post (that contains Categories, Archives, etc.) is at the bottom of the page after the posts. I was wondering how to move them to the sidebar so there is a more fluid user experience.
    You can see this here:
    Scroll to the bottom.

    My guess is you’re missing a closing </div> in your index.php file

    yeah, did you do anything other than assign your posts to a static page?

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    I will look at the index file. I only assigned them to the “news” page. I wouldn’t know any other place to assign them.

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    I dunno, I looked at it, but I wouldn’t know what the true issue with the file could be.

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    `<?php

    // calling the header.php
    get_header();

    ?>

    <!– generated with index.php –>

    <div id=”content”>
    <div class=”notable”>
    <!– begin post –>

    <?php
    if (! empty($display_stats) ) { get_stats(1); echo “<br />”; };
    if (($posts & empty($display_stats)) ) {
    while ( have_posts() ) {
    the_post();
    ?>

    <div class=”entry <?php $cat = get_the_category(); $cat = $cat[0]; echo $cat->category_nicename; ?> notable-post”>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <!–POST TITLE–>
    <h2 class=”post-title”><a title=”‘<?php the_title_attribute(); ?>’, posted on <?php the_time(‘F jS, Y’) ?>” href=”<?php the_permalink() ?>”><?php the_title(”); ?></a></h2>
    <!–END POST TITLE–>

    <h4 class=”notable-date”><a href=”<?php the_permalink() ?>”><?php the_date(‘F d, Y’, ”, ”); ?></a></h4>
    <?php the_content(‘continue…’); ?>

    <?php wp_link_pages(array(‘before’ => ‘<p class=”link_pages”><strong>Pages:</strong> ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>

    </div> <!– #post-id –>

    <h5><?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’), __(”), __(”)); ?> <?php the_tags(‘| Tags: ‘,’, ‘,”); ?> | More: <?php the_category(‘, ‘); ?> <?php edit_post_link(‘edit this’, ‘<span class=”edit-link”>’, ‘</span>’); ?> <!–USER EDIT LINK–></h5>

    </div> <!– .category-nicename, .notable-post–>

    <!– <?php trackback_rdf(); ?> –>
    <?php }} else{ _e(‘Sorry, no posts matched your criteria.’, ‘wpfolio’); }?>

    <div class=”prevnext”>
    <div class=”prev”><?php previous_posts_link(‘Previous’) ?></div>
    <div class=”next”><?php next_posts_link(‘Next’) ?></div>
    </div><!–.prevnext –>

    </div><!– .notable –>

    <div id=”sidebar”>
    <ul>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘sidebar’) ) ; ?>
    </ul>
    </div><!– #sidebar –>
    </div>
    <!– #content –>
    <!– end post–>

    <?php // calling footer.php get_footer();?>

    Did your theme come with the News page already set as the main posts page? or did you have to mannually assign your latests posts to it through settings/reading?

    try making a new page, then assign your posts to it instead of your news page.

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    I made the news page myself, but I will try that method. I had to assign it to that page myself.

    Thread Starter Chainsaw Buddha

    (@irbypaceyahoocom)

    Creating a new page and assigning it as the post page and even leaving the setting to have the front page display post still has the same issue.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Blog’ is closed to new replies.