Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

BUGFIX 351/352-05: Page Title Does Not Display Hyphens, Commas, etc.


 
Prev Previous Post   Next Post Next
  #1  
Old Jul 9, 2010, 12:11 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
BUGFIX 351/352-05: Page Title Does Not Display Hyphens, Commas, etc.

DESCRIPTION: When you enter a special character in a page title and are using the 'Bytes For All SEO options' the special characracters will show up as their HTML equivalent: a hyphen will show as '–'

CAUSE: This issue occurs because both WordPress and Atahualpa are converting special characters in the title to the HTML equivalent.

FIX: edit bfa_meta_tags.php and find line 67-72 wich will be
HTML Code:
		if ( $bfa_meta_title != '' ) {
			#$bfa_ata_page_title = $bfa_meta_title; 
			$bfa_ata_page_title = htmlentities($bfa_meta_title,ENT_QUOTES,'UTF-8');
		} else {
			$bfa_ata_page_title = htmlentities(single_post_title('', false),ENT_QUOTES,'UTF-8');
		}
and change them to
HTML Code:
		if ( $bfa_meta_title != '' ) {
			#$bfa_ata_page_title = $bfa_meta_title; 
			$bfa_ata_page_title = htmlentities($bfa_meta_title,ENT_QUOTES,'UTF-8');
		} else {
			$bfa_ata_page_title = single_post_title('', false);
		}
or you can just download the attached zipped bfa_meta_tags.php that has the correction already applied.
bfa_meta_tags.php.zip


reported in http://forum.bytesforall.com/showthr...6522#post36522
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 9, 2010 at 12:15 PM.
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGFIX 351-04: Fix sub-menu padding with WordPress 3.0 (needed in 352/353 also) juggledad Old Version fixes and change logs 75 May 16, 2011 06:14 AM
BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts juggledad Old Version fixes and change logs 1 Jul 13, 2010 05:42 AM
Help! Page Title Does Not Display Hyphens, Commas, etc.! sfdiaries Page & Category Menu Bars 21 Jul 9, 2010 12:12 PM
BUGFIX 351/352-03: Comment Form Anchor Link gets a 404 (Not found) juggledad Old Version fixes and change logs 3 Jun 16, 2010 05:45 PM
BUGFIX 351/352-02: Header images not showing in sorted order juggledad Old Version fixes and change logs 2 Jun 15, 2010 04:28 AM


All times are GMT -6. The time now is 07:46 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.