Showing entire posts instead of 'Read more'

Hi,

The first page of my website shows excerpts of my posts and a ‘read more’ button. I would like the first page to show the entire posts, how can I do this? Choosing not to show post excerpts in the content options of the theme does not work.

Thank you

Hi @decibel,

Sorry to hear of the problem you are having.

I could confirm the issue on my test site using latest version of Activello theme therefore i have notified the theme developer about this so that it can be fixed.

In the meanwhile you can fix this issue by replacing the following content.php theme file with the attached modified theme file.

/wp-content/themes/Activello/content.php

Best Regards,
Movin

I’m trying to understand how to change my website posts from “Read More” to showing the full post on the home page. Is there a simple setting that will allow me to do that?

Thank you!

@graciegalore24 You can achieve this by unchecking the theme option “Show post excerpts?” on the following path as shown in the attached screenshot.

Admin Area -> Appearance -> Customize -> Activello Options -> Content Options

@Movin I am unable to download that content.php file. I am trying to fix the no excerpt issue that others have run into as well. Please advise. Thanks!

@alonetones you can download the file from the reply posted on the below link as shown in the attached screenshot.

https://colorlibsupport.com/t/showing-entire-posts-instead-of-read-more/#post-36456

Are you getting any error message when try to download it?

For your convenience i have pasted the code below from the attached content.php file so just use it.



<?php
/**
 * @package activello
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="blog-item-wrap">
		<div class="post-inner-content">
			<header class="entry-header page-header">
				<?php echo get_single_category(get_the_ID()); ?>
				<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>

				<?php if ( 'post' == get_post_type() ) : ?>
				<div class="entry-meta">
					<?php activello_posted_on(); ?>

					<?php
						edit_post_link(
							sprintf(
								/* translators: %s: Name of current post */
								esc_html__( 'Edit %s', 'activello' ),
								the_title( '<span class="screen-reader-text">"', '"</span>', false )
							),
							'<span class="edit-link">',
							'</span>'
						);
					?>

				</div><!-- .entry-meta -->
				<?php endif; ?>
			</header><!-- .entry-header -->

            <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
                    <?php the_post_thumbnail( 'activello-featured', array( 'class' => 'single-featured' )); ?>
            </a>

			<?php if ( is_search() ) : // Only display Excerpts for Search ?>
			<div class="entry-summary">
				<?php the_excerpt(); ?>
				<p><a class="btn btn-default read-more" href="<?php the_permalink(); ?>"><?php esc_html_e( 'Read More', 'activello' ); ?></a></p>
			</div><!-- .entry-summary -->
			<?php else : ?>
			<div class="entry-content">

				<?php
				if ( get_theme_mod( 'activello_excerpts', 1 ) && get_the_excerpt() != "" ) :
					the_excerpt();
				else :
					the_content();
				endif;
			  ?>

				<?php
				wp_link_pages( array(
					'before'            => '<div class="page-links">'.esc_html__( 'Pages:', 'activello' ),
					'after'             => '</div>',
					'link_before'       => '<span>',
					'link_after'        => '</span>',
					'pagelink'          => '%',
					'echo'              => 1
						) );
				?>

				<?php if( ! is_single() && get_theme_mod( 'activello_excerpts', 1 ) ) : ?>
				<div class="read-more">
					<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php esc_html_e( 'Read More', 'activello' ); ?></a>
				</div>
				<?php endif; ?>

                                <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
                                    <div class="entry-footer">
					<span class="comments-link"><?php comments_popup_link( esc_html__( 'Leave a comment', 'activello' ), esc_html__( '1 Comment', 'activello' ), esc_html__( '% Comments', 'activello' ) ); ?></span>
                                    </div><!-- .entry-footer -->
                                <?php endif; ?>
			</div><!-- .entry-content -->
			<?php endif; ?>
		</div>
	</div>
</article><!-- #post-## -->


Thanks @Movin

Well, I copied and overwrote my Content.PHP code with the code you posted. A new post looks fine in preview, but no published posts are showing on my site. Please advise.

Thanks

@alonetones It seems you are facing another issue not related to this topic so to help us keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/activello/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.

Hi Movin,

I am having an issue with the Activello theme too. Every time someone submit a comment on my page. They get a huge error message that has something to do with the header (see attached). Can you please help me fix this? All my readers don’t know if the posts went through (they do…) they just receive an error message every time. My site is www.svadore.com.

Please help! I’m not sure how to start a new thread/question for this.
Thank you,
Sveva

As requested above to help us keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/activello/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.