Support » Theme: Expound » template-tags.php issues?

  • Resolved EricSalvi


    So I just noticed that on my content single page when viewing an article, the template-tag says “author / date on date in category”.

    it shows the date twice. I was using a child theme for this and was trying to get it to look like this.

    Author posted on Date in Category.

     * @package Expound
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<header class="entry-header">
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    		<div class="entry-meta">
    			<?php expound_posted_on(); ?><? echo " on ";?><?php expound_posted_in(); ?>
    		</div><!-- .entry-meta -->
    	</header><!-- .entry-header -->
    	<div class="entry-content">
    		<?php the_content(); ?>
    			wp_link_pages( array(
    				'before' => '<div class="page-links">' . __( 'Pages:', 'expound' ),
    				'after'  => '</div>',
    			) );
    	</div><!-- .entry-content -->
    </article><!-- #post-## -->

    That is the code that is in my child template-tag.php file. Any help?

Viewing 1 replies (of 1 total)
  • Theme Author Konstantin Kovshenin


    The original version just calls expound_posted_on() once in that area, without the “on” and that extra stuff. You can revert your child theme to the parent’s behavior by deleting the template file. Don’t forget to backup!

Viewing 1 replies (of 1 total)
  • The topic ‘template-tags.php issues?’ is closed to new replies.