post not showing under categories
-
I wanted to remove my read more.. link that were in my posts so I changed my content php that had the-exerpt to the the-content. When I updated it and came back all my post were no longer under my categories but I can see my post in the dashboard when I go to all post. The theme I am currently using is the teseract theme by tyler more to see it go to tyler.com and my website is https://www.qualityshop1.com/.
the content php code is
<?php
/**
* @package Tesseract
*/
?><article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header class=”entry-header”>
<?php the_title( sprintf( ‘<h2 class=”entry-title”>‘, esc_url( get_permalink() ) ), ‘</h2>’ ); ?><?php if ( ‘post’ == get_post_type() ) : ?>
<div class=”entry-meta”>
<?php tesseract_posted_on(); ?>
</div><!– .entry-meta –>
<?php endif; ?>
</header><!– .entry-header –><div class=”entry-content”>
<?phpif ( is_home() || is_archive() ) {
the_excerpt()
} else {
/* translators: %s: Name of current post */
the_content( sprintf(
__( ‘Continue reading %s <span class=”meta-nav”>→</span>’, ‘tesseract’ ),
the_title( ‘<span class=”screen-reader-text”>”‘, ‘”</span>’, false )
) );}
?><?php
wp_link_pages( array(
‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘tesseract’ ),
‘after’ => ‘</div>’,
) );
?>
</div><!– .entry-content –></article><!– #post-## –>
The excerpt is still there because I replaced it from the content because I tried to see I I put it back would my posts come back.
- The topic ‘post not showing under categories’ is closed to new replies.