Site icon Catch Themes

Featured content posts – titles not showing

Hi there, I really like your theme, which is why i bought it. But there seems to be a bug with the featured content posts, where the titles of a post is not showing on the page (even if there is a title). As for my rather bad php-knowledge the problem should be in this part of the code within the "catchresponsive_post_content"-function:
$catchresponsive_post_content .= '
					<div class="entry-container">';
						if ( $excerpt !='') {
							$catchresponsive_page_content .= the_title( '<header class="entry-header"><h1 class="entry-title">','</h1></header>', false );
							$catchresponsive_post_content .= '<div class="entry-content">'.$excerpt.'</div>';
							$catchresponsive_post_content .= '<a href="' . get_permalink() . '" title="Permalink to '.the_title( '', '', false ).'"></a>';
						}
					$catchresponsive_post_content .= '
					</div><!-- .entry-container -->
				</article><!-- .featured-post-'. $i .' -->';
thx for the help in advance
Exit mobile version