2 Added more info
source | link

I'm working on my first wordpress blog site and I think I'm doing pretty good. This is my site so far but I need some help with a couple things as I'm not sure why this is happening. I've styled my blog the way I want to (with the clickable title and the dark red background for the "POSTED ON:" date stamp, however when I styled that, ALL my pages got that styling too (I only want that styling on the blog not).I want my pages to just look like regular pages. I understand CSS & HTML, and a SMALL bit of PHP but I'm not understanding why my index is picking up that styling. I do understand, through using firebug, that the styling class is the same as the blog posts but I don't want that. How do I change it is the only code on my index page is this...

<div id="main">
        <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'content', 'page' ); ?>
        <?php endwhile; // end of the loop. ?>
</div><!-- #main -->

I don't understand where it's picking the styling up and which php page to change it on. If anyone can help me I'd appreciate it.

@Brad Farleigh (or really anyone who can help me):

I made a copy of the index.php page and called is page.php

PAGE.PHP

<div id="main">

        <h1 class="entry-title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>


    <?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); ?>    
               <?php the_content(); ?>
               <?php endwhile; ?>
     <?php endif; ?>

</div>

A referenced page in the index page like this.

<div id="main">


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

                <?php get_template_part( 'page' ); ?>


                <?php endwhile; // end of the loop. ?>


        </div><!-- #main -->

So my pages seem to be working the way I want them to. Calling the content and titles, however now when I got to my blog it's all messed up. Understandably content-page.php has to be called from somewhere but where?

I very much appreciate the help.

I'm working on my first wordpress blog site and I think I'm doing pretty good. This is my site so far but I need some help with a couple things as I'm not sure why this is happening. I've styled my blog the way I want to (with the clickable title and the dark red background for the "POSTED ON:" date stamp, however when I styled that, ALL my pages got that styling too (I only want that styling on the blog not).I want my pages to just look like regular pages. I understand CSS & HTML, and a SMALL bit of PHP but I'm not understanding why my index is picking up that styling. I do understand, through using firebug, that the styling class is the same as the blog posts but I don't want that. How do I change it is the only code on my index page is this...

<div id="main">
        <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'content', 'page' ); ?>
        <?php endwhile; // end of the loop. ?>
</div><!-- #main -->

I don't understand where it's picking the styling up and which php page to change it on. If anyone can help me I'd appreciate it.

I'm working on my first wordpress blog site and I think I'm doing pretty good. This is my site so far but I need some help with a couple things as I'm not sure why this is happening. I've styled my blog the way I want to (with the clickable title and the dark red background for the "POSTED ON:" date stamp, however when I styled that, ALL my pages got that styling too (I only want that styling on the blog not).I want my pages to just look like regular pages. I understand CSS & HTML, and a SMALL bit of PHP but I'm not understanding why my index is picking up that styling. I do understand, through using firebug, that the styling class is the same as the blog posts but I don't want that. How do I change it is the only code on my index page is this...

<div id="main">
        <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'content', 'page' ); ?>
        <?php endwhile; // end of the loop. ?>
</div><!-- #main -->

I don't understand where it's picking the styling up and which php page to change it on. If anyone can help me I'd appreciate it.

@Brad Farleigh (or really anyone who can help me):

I made a copy of the index.php page and called is page.php

PAGE.PHP

<div id="main">

        <h1 class="entry-title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>


    <?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); ?>    
               <?php the_content(); ?>
               <?php endwhile; ?>
     <?php endif; ?>

</div>

A referenced page in the index page like this.

<div id="main">


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

                <?php get_template_part( 'page' ); ?>


                <?php endwhile; // end of the loop. ?>


        </div><!-- #main -->

So my pages seem to be working the way I want them to. Calling the content and titles, however now when I got to my blog it's all messed up. Understandably content-page.php has to be called from somewhere but where?

I very much appreciate the help.

1
source | link

whats happening with my index page?

I'm working on my first wordpress blog site and I think I'm doing pretty good. This is my site so far but I need some help with a couple things as I'm not sure why this is happening. I've styled my blog the way I want to (with the clickable title and the dark red background for the "POSTED ON:" date stamp, however when I styled that, ALL my pages got that styling too (I only want that styling on the blog not).I want my pages to just look like regular pages. I understand CSS & HTML, and a SMALL bit of PHP but I'm not understanding why my index is picking up that styling. I do understand, through using firebug, that the styling class is the same as the blog posts but I don't want that. How do I change it is the only code on my index page is this...

<div id="main">
        <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'content', 'page' ); ?>
        <?php endwhile; // end of the loop. ?>
</div><!-- #main -->

I don't understand where it's picking the styling up and which php page to change it on. If anyone can help me I'd appreciate it.