The MU forums have moved to WordPress.org

customisation of post style (2 posts)

  1. kishorebudha
    Member
    Posted 16 years ago #

    Hi I have the following code on my home page (http://subalterncinema.com)

    <div id="introduction" class="item">
    <p class="introhead">Guest Article</p>
    <?php $posts = get_posts( "category=71&numberposts=1" ); ?> <?php if( $posts ) : ?> <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
    <p class="intro">
    <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></p> <?php the_content("Continue reading" . the_title('', '', false) . "'"); ?><?php endforeach; ?> <?php endif; ?>
    </div>

    As you can see I have applied style to the title. How do I customise the post please?

  2. kishorebudha
    Member
    Posted 16 years ago #

    The code is applied to the Guest Article

About this Topic

  • Started 16 years ago by kishorebudha
  • Latest reply from kishorebudha