i'm trying to customize how posts are displayed on homepage, in the process i have updated the functions file and its working fine,
target - i want to show post featured image before the post title, and i did that by adding the code in functions.php. but i have to remove the featured image which is part of the original code which exist in "bfa_post_bodycopy" function in bfa_post_parts.php. i just removed the 1 line from the function (line 150)
PHP Code:
<a href="<?php the_permalink() ?>"> <?php the_post_thumbnail(); ?></a>
Problem - but after that i'm facing the a strange issue, now all my post titles are added a "2>" in the end, its also appearing on single post page. i thought i have made some changes in other code so i replaced the code from theme files, but the issue is not resolved.
so i deleted the theme from wordpress and reinstalled it end just downloaded the bfa_post_parts.php and added a new blank line in function and uploaded it again and their you go the "2>" appears on all post/page titles.
check the image attached to see the issue.
View Screen Capture