littlepete
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Themes and Templates
In reply to: The correct way to show page content?It is a custom theme. The whole code is:
<?php get_header(); ?> <div id="main"> <div id="main-content"> <?php if( is_front_page() ) { ?> <img id="home-img" src="<?php echo get_template_directory_uri(); ?>/images/main.jpg"> <?php } ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="main-content-inner"> <?php the_content(); ?> </div> <?php endwhile; endif; ?> </div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Themes and Templates
In reply to: The correct way to show page content?On my homepage (index.php) I am seeing all my pages, not sure the one I am on. All on top of each other in a column. This only happens in PHP 5.5 not on PHP 5.3, I am using WordPress 4.0.
Forum: Themes and Templates
In reply to: The correct way to show page content?Thank you, Stephencottontail.
Is there any reason this would like all pages rather just the page it is on?
Forum: Fixing WordPress
In reply to: Making a theme smaller?I guess using javascript to change all values in your css to 75% of there original value is out of the question?
Forum: Fixing WordPress
In reply to: CodingChange this in your CSS
#header-bottom {
background-color: #18adb5;
}to
#header-bottom {
background-color: red;
}
Viewing 5 replies - 1 through 5 (of 5 total)