BUGFIX 364-05: No link to the full post shown on excerpt when post has no title
2 Attachment(s)
If you set the 'Custom read more' to have a link to the full post, but you are also using the 'Use Post / Page Option' and have a blank post title, then no permalink will show if you are displaying excerpts.
In addition, you will see the word 'Permalink' displayed in place of the blank title. This fix corrects the code by removing the word 'permalink' from the post title. It also adds the word 'Permalink' to the 'custom read more' if you are using '%title%' in it's configuration. edit functions.php and change line 285 (version 3.6.4) from HTML Code:
$custom_read_more = str_replace('%title%', the_title('','',FALSE), $custom_read_more); HTML Code:
if ( get_the_title() == '' ) { HTML Code:
// Since 3.6.1: Display a link to the full post if there is no post title and the post is too short HTML Code:
if ( (!is_single() AND !is_page()) OR $bfa_ata_display_body_title == '' ) { Put 'functions.php' in the 'atahualpa' folder replacing the original. Put 'bfa_post_parts.php' in the 'atahualpa/functions' folder replacing the original. Attachment 1177 Attachment 1178 |
All times are GMT -6. The time now is 02:55 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.