• Hi,

    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]“> <?php the_post_thumbnail(); ?>[/PHP]

    so i did that and it worked.

    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.

    [url=https://easycaptures.com/6052157875][img]https://easycaptures.com/fs/uploaded/881/6052157875.jpg[/img][/url][url=https://easycaptures.com/6052157875]View Screen Capture[/url]

  • The topic ‘Strange Post/Page Title issue after customization’ is closed to new replies.