Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter zweetpeaz

    (@zweetpeaz)

    I cahnged the appearance..menus.. main menu to latest news”category” and that worked like a charm!
    thanks SOOOOOO much!

    Thread Starter zweetpeaz

    (@zweetpeaz)

    Hi crobbs- Hmm I don’t completey understand what you mean.
    I was thinking I would just link the “blog” menu item to the “news” category. I’m sure php is a more correct way to do this, but I’m not that familiar with php

    Thread Starter zweetpeaz

    (@zweetpeaz)

    What is happening- when clicking on the blog page in the menu (changed news page) I come to a page with only 1 post.
    what I expect-when I click on the blog page all the post should be there.

    I have the reading setting correct (posts go to blog page) Blog page is the default template. I have it set to show 5 posts- but still only 1 shows:(
    I think I may just change the coding of the menu item “blog” to go to the latest news category, instead of the ‘blog’ page itself

    Thread Starter zweetpeaz

    (@zweetpeaz)

    @Chip- Yes- the home.php was the solution to the widgets being correct THANK YOU! Still wondering why posts are not going to page that i designated they should go to

    Thread Starter zweetpeaz

    (@zweetpeaz)

    I was able to get the sidebar where it is supposed to be on the “news” page, but it’s kind of squished. Guess I’ll have to edit the css for that

    Thread Starter zweetpeaz

    (@zweetpeaz)

    GRR- the “news’ page had comments enabled, and when I disabled it, the sidebar flew out of the content area between it and the footer

    Thread Starter zweetpeaz

    (@zweetpeaz)

    well, i put is little bit
    </div><!– #content –>
    </div><!– #container altright –>
    </div>
    <?php get_sidebar(‘altright’); ?>

    in the category.php, and that worked! (YAY!)

    Now, HOW do I get the blog post to go onto the “news” page where they are supposed to be?

    Thread Starter zweetpeaz

    (@zweetpeaz)

    well, if you need to see it, here it is
    <?php
    /**
    * Template Name: home
    *
    * A custom page template with a right sidebar and alternate widget area.
    *
    * The “Template Name:” bit above allows this to be selectable
    * from a dropdown menu on the edit page screen.
    *
    */
    get_header(); ?>
    <div class=”right-alt”>
    <div id=”container” class=”wvr-altright”>
    <div id=”content”>
    <?php the_post(); ?>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php if ( is_front_page() ) { ?>
    <h2 class=”entry-title”><?php the_title(); ?></h2>
    <?php } else { ?>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php } ?>

    <div class=”entry-content”>
    <?php the_content(); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, TTW_TRANS ), ‘after’ => ‘</div>’ ) ); ?>
    <?php edit_post_link( __( ‘Edit’, TTW_TRANS ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
    </div><!– .entry-content –>
    </div><!– #post-<?php the_ID(); ?> –>
    <?php comments_template( ”, true ); ?>
    </div><!– #content –>
    </div><!– #container altright –>
    </div>
    <?php get_sidebar(‘altright’); ?>
    <?php get_footer(); ?>

    Thread Starter zweetpeaz

    (@zweetpeaz)

    well, I hadn’t done that, so i did and uploaded it again. Now, in the idex php, do I have the get sidebar call to the home php i just added?

    Thread Starter zweetpeaz

    (@zweetpeaz)

    Yup- that’s where i put it. i also just recehecked it.. and that is where it is- well, that is where I see it when I look at the files through ftp

    Thread Starter zweetpeaz

    (@zweetpeaz)

    ok- so i copied the alt right sidebar php onto notepad, saved it as home.php, and uploaded it through ftp to my site files where the rest of the php files are. I did not see a change on the website, and when i looked in the editor, the home.pho file was not there.. sigh.. what do I do?

    Thread Starter zweetpeaz

    (@zweetpeaz)

    I want all of the pages other than the “news” page to be static pages. I want the ‘news’ page to show latest posts.
    I do not have a home.php file.

    Since the post page pulls from the home.php, then if I create a home.php copying the altrightsidebar.php, that should work, right? The “news” page is the only page that will us the sidebar

    Thread Starter zweetpeaz

    (@zweetpeaz)

    Thanks for the reply.
    I changed the index php to call the the alt right sidebar- but it’s not working

    I added this in

    <div id=’right’>
    <?php get_sidebar(‘sidebar-altright’); ?>
    </div>

    Apparently this is not correct 🙁
    Please help me- or point me inthe correct direction.. I’m still learning.

Viewing 13 replies - 1 through 13 (of 13 total)