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 »

[SOLVED] BUGFIX: single quote shows as HTML code browser tab when SEO is on


  #1  
Old Apr 13, 2010, 06:12 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I've seen something about this somewhere on this forum but couldn't find the thread. When I turn on the SEO built into Atahualpa I get screenshot 1. Screenshot 2 is with the built in SEO off. Any ideas?

Screenshot 1
Attachment 462

Screenshot 2
Attachment 463
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Sep 1, 2013 at 02:14 PM.
  #2  
Old Apr 13, 2010, 06:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
larry,
what plugin are you using to get that tab?
What's teh URL? (if you need to keep it private, send me a PM with the URL)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 13, 2010, 07:06 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
No plugin Paul. If I turn on the built in SEO in Atahualpa that is what I get in Firefox. The site is being built so I will PM you with a login if you want to view it.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #4  
Old Apr 14, 2010, 06:54 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This is being caused because both WordPress and Atahualpa are converting special characters in the title to the HTML equivalent. WordPress would convert a single quote to '& # 8 2 1 7 ;' (extra spaces added so it won't convert it here) and when Atahualpa processed it again, it was changing the '&' into a '&' so the single quote now looked like this '’' which isn't a proper HTML code thus displaying improperly.

To fix this edit bfa_meta_tags.php and find line 71 (in version 3.4.6) which should be
HTML Code:
			$bfa_ata_page_title = htmlentities(single_post_title('', false),ENT_QUOTES,'UTF-8');
and change it to
HTML Code:
			$bfa_ata_page_title = single_post_title('', false);

=====================
7/9/10 NOTE: this did not get fixed n 3.5.1 - see http://forum.bytesforall.com/showthr...6521#post36521 for a fixed copy of the code.
__________________
"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:14 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Images showing html code wrapped around photo in Posts (pages are fine) - Pa gungo Atahualpa 3 Wordpress theme 7 Jan 4, 2010 03:20 AM
[SOLVED] Images showing html code wrapped around photo in Posts (pages are fine) gungo Atahualpa 3 Wordpress theme 2 Jan 2, 2010 06:43 AM
[SOLVED] Where to paste Adsense letterboard code so it shows below the header? Muncheys Header configuration & styling 5 Nov 11, 2009 04:46 AM
Center Column Static Page just shows code??? forestwander Atahualpa 3 Wordpress theme 1 Sep 1, 2009 07:21 PM
[SOLVED] Problem with code in HTML/CSS Inserts xavison Post-Kicker, -Byline & -Footer 4 Jun 26, 2009 11:59 AM


All times are GMT -6. The time now is 03:27 AM.


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