Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Disabling automatic em dashes in Acamas? « ThemeShaper Forums

ThemeShaper Forums » Acamas

[closed]

Disabling automatic em dashes in Acamas?

(4 posts)
  • Started 4 years ago by ilford
  • Latest reply from helgatheviking
  1. ilford
    Member

    Hi,

    I've been using the Acamas theme for the internal blog at my company (the blog is hosted on an internal server so I can't provide a link).

    My issue: apparently Acamas automatically converts normal dashes to em dashes. This causes trouble because we post paths to files (ie C:/MyDocuments/2011 - Folder).

    How can I disable Acamas from automatically using em dashes?

    As a fan of typography this is painful but necessary.

    http://imgur.com/rSFf3

    Posted 4 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    from a quick google search i think it is default WP behavior and not Acamas/thematic specific

    http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=wordpress+automatically+uses+em+dashes

    the first result explains things pretty well. the 3rd result points to an old WP support post- which led me to dig around in the wp-includes/formatting.php file. there appears to be a no_texturize_tags filter that might be useful.

    Posted 4 years ago #
  3. ilford
    Member

    hi helga,

    thank you for the pointer! I actually changed a line in wp-includes/formatting.php

    $static_characters = array_merge(array('---', ' -- ', '--', '-', 'xn–', '...', '', '\'\'', ' (tm)'), $cockney);
    to

    $static_characters = array_merge(array('---', ' -- ', '--', 'xn–', '...', '', '\'\'', ' (tm)'), $cockney);

    Posted 4 years ago #

  4. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    eeek... hacking at core. but i guess there was no other way? just remember that you will lose this the next time you update WP. don't forget to mark as resolved.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183