Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Error with quotation marks: issue with WP?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 12, 2009, 01:43 PM
Wimbledon's Avatar
Wimbledon
 
320 posts · Apr 2009
[VA & AZ], USA
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,754 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'); 
  #3  
Old Aug 13, 2009, 01:03 PM
Wimbledon's Avatar
Wimbledon
 
320 posts · Apr 2009
[VA & AZ], USA
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error: syntax error, unexpected '<' in the functions.php file pingitt Atahualpa 3 Wordpress theme 6 Mar 12, 2013 03:52 AM
[SOLVED] Can't edit posts - edits vanish - Virus? Theme Issue? WP Issue? jfrenaye Atahualpa 3 Wordpress theme 1 Aug 4, 2009 07:14 AM
[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 07:10 AM.


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