Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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.


  #1  
Old Jul 9, 2010, 12:11 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
  #2  
Old Aug 8, 2010, 11:03 AM
aTart
 
8 posts · Mar 2009
Ah thanks!! I've been trying to wrap my head around this issue for MONTHS, just couldn't figure out how to even form the query to get an answer, let alone think about a solution!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 08:10 AM.


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