• I’m new so don’t know too much & shy to show my page πŸ™‚

    I have a page template with the following code that makes the page look like there are 3 columns.

    <?php get_header(); ?>

    <div id=slideshow>
    <?php echo do_shortcode(‘[pe_estro_slider id=”1″]’); ?>
    </div>

    <div id=home_box_1>
    <h2>News</h2>

    </div>

    <div id=home_box_2></div>
    <div id=home_box_3></div>
    <div style=’clear:both;’></div>
    <?php get_footer(); ?>

    I want to start putting content in the 3 columns but not sure how to do this?
    In my dashboard, i click add page, write some stuff and it doesn’t appear. Any advice on what to look for? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter qffkfrvu

    (@qffkfrvu)

    If it helps to add to the above, ‘NEWS’ would be one column

    another box column 2
    another box column 3

    I want NEWS to be a page I can update and edit with content.
    I want box 2 to be a page I can update and edit with content
    etc.

    Thread Starter qffkfrvu

    (@qffkfrvu)

    I’ve narrowed it down to some code that pulls out a POST but i can’t find a way to change WHAT post to display

    <div id=home_box_1>
        <h2>test</h2>
      	<?php query_posts(array('posts_per_page'=>1)); if (have_posts()) : while (have_posts()) : the_post(); ?>
      		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
      			<h2><a>"><?php the_title(); ?></a></h2>
      			<?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
      			<div class="entry">
      				<?php the_content(); ?>
      			</div>
      			<a>">> Read more</a>
      		</div>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. The above code has now been permanently damaged by the forum’s parser.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modified page template, how to start blogging?!’ is closed to new replies.