Forum Replies Created

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

    (@benmoseley)

    This is what I have. It’s outputting actual php into the page now.

    <ul class='latest'>
    	<?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args = array(
       'paged' => $paged,
    );
    query_posts($args);
    if (have_posts()) {
    
    if(have_posts()) : ?>
    			<?php while(have_posts()) : the_post() ?> 
    
    		<li><h4><a href="<?php the_permalink(); ?>" title="Permanent link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
    		<span><?php the_time('F jS') ?></span>
    		</li>
    	<?php endwhile; ?>
    </ul>
    	<?php else :?>
    			<h2>Faith has no recent posts.</h2>
    		<?php endif; ?>
    	<p class='latest'><a href="blog">Browse more journal entries from Faith</a></p>
    Thread Starter BenMoseley

    (@benmoseley)

    I got it to work with the Phark Method with some help.

    Changing the selector to h1 a did the trick. Also for anyone else that stumbles upon this, add display: block; width: XXXpx and you’ll be good to go.

    Thanks for the link anyways, esmi. I’m sure I’ll need to use that method someday.

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