Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chan-man

    (@chan-man)

    I figured out that if I change this line of code:
    <article id="post-<?php the_ID(); ?>" <?php post_class("post clearfix $class"); ?>>

    in the loop.php file to this this:

    <article id="post-<?php the_ID(); ?>" class="yardsale-post" <?php post_class("post clearfix $class"); ?>>

    it works just right.

    Thread Starter chan-man

    (@chan-man)

    I have the file open but i don’t know what to change. Here is whats in my file single.php:

    <?php get_header(); ?>
    
    <?php while ( have_posts() ) : the_post(); ?>
    
    	<div id="content" class="list-post">
    
    		<?php // get loop.php ?>
    		<?php get_template_part( 'includes/loop' , 'single'); ?>
    
    		<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:','themify').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    
    		<?php // get post-nav.php (next/prev post link) ?>
    		<?php get_template_part( 'includes/post-nav'); ?>
    
    		<?php // get comment template (comments.php) ?>
    		<?php comments_template(); ?>
    
    	</div>
    	<!-- /#content -->
    
    <?php endwhile; ?>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    Thread Starter chan-man

    (@chan-man)

    let me check it out.

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