Check out THEMEFRAME Beta
Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get support from the author &
additional benefits (soon), based on your donation level. Your forum name will be highlighted.
Not a member yet? You can still donate. And once you become a forum member, send a Private Message ("PM") to Flynn mentioning your Paypal email address so your donation can be added to your user name.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Error with quotation marks: issue with WP?


  #1  
Old Aug 12, 2009, 01:43 PM
Wimbledon's Avatar
Wimbledon
 
206 posts · Apr 2009
Phoenix AZ
Gold Member - Level 2 
Hello,

I just made a post onto one of my websites and noticed an error with the end quotation mark in the title. Even when copying the quotation marks from a web-safe text editor, the second quotation mark appears to be from a different set than the first quotation mark. This error occurs with both single and double quotation marks.

I've researched with Google and found that the issue seems to be a Wordpress problem. Yet I'm wondering if there is a way to fix the title or somehow add code to a future version of Atahualpa to solve the WP formatting problem.

You can see the post here. The font is Georgia. I would force the correct end quotation mark with HTML if I could, but since the error is in the title I don't have that option right?

Taylor
  #2  
Old Aug 13, 2009, 10:00 AM
Flynn's Avatar
Flynn
 
3,382 posts · Oct 2008
Munich, Germany
You can disable WP's auto formatting of quotes into curly quotes etc. by putting this into Atahualpa's functions.php, i.e. before the last closing ?>


PHP Code:
remove_filter ('single_post_title''wptexturize');
remove_filter ('bloginfo''wptexturize');
remove_filter ('wp_title''wptexturize'); 
To remove it from other places as well:

PHP Code:
remove_filter ('category_description''wptexturize');
remove_filter ('list_cats''wptexturize');
remove_filter ('comment_author''wptexturize');
remove_filter ('comment_text''wptexturize');
remove_filter ('the_title''wptexturize');
remove_filter ('the_content''wptexturize');
remove_filter ('the_excerpt''wptexturize'); 
__________________
Please donate to support us
  #3  
Old Aug 13, 2009, 01:03 PM
Wimbledon's Avatar
Wimbledon
 
206 posts · Apr 2009
Phoenix AZ
Gold Member - Level 2 
Thank you Flynn.
  #4  
Old Nov 21, 2009, 09:58 AM
mugger
 
6 posts · Jun 2009
Long wanted topic. However, mod of functions.php did not change quotes on existing pages. Should it? Or is this just not working?
Should it matter that file already had portions with base64_decode?

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't edit posts - edits vanish - Virus? Theme Issue? WP Issue? jfrenaye Atahualpa 3 Wordpress theme 1 Aug 4, 2009 07:14 AM
Parse error: syntax error, unexpected '<' in the functions.php file pingitt Atahualpa 3 Wordpress theme 4 Jul 15, 2009 02:07 PM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 10:04 AM
Parse error: syntax error!!! liabelle Atahualpa 3 Wordpress theme 2 Apr 22, 2009 11:48 PM
Error 500 - Internal server error gpeery Installing & running WordPress 5 Mar 1, 2009 06:05 PM


All times are GMT -6. The time now is 08:19 AM.


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