Home Forums WoodMart support forum how to add the trademark symbol (™) to our mark

how to add the trademark symbol (™) to our mark

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #106314

    icecreme
    Participant

    Hi, Dear XTEMOS,

    could u pls tell me, how to add the trademark symbol (™) to our Logo.
    I have found a PHP Code from a blog. but I’m not sure, is it ok for the Woodmart.
    could u pls check this code? and pls tell me where can I put this code? which PHP file?

    <?php
    /*
    Plugin Name: My Simple Trademark Filter Sample
    Plugin URI: http://butlerblog.com/plugins/simple-trademark-filter/
    Description: Replaces Our-Trademark with Our-Trademark™
    Version: 1.0
    Author: Chad Butler
    Author URI: http://butlerblog.com/
    */

    /*
    Replace Our-Trademark with the actual trademark text
    Use ™ for the (TM) symbol
    Use ® for the (R) sybmol
    */

    add_filter(‘the_content’, ‘tm_the_content’);

    function tm_the_content($content)
    {
    $content = str_replace(“Our-Trademark”, “Our-Trademark™”, $content);
    return $content;
    }

    add_filter(‘the_title’, ‘tm_the_title’);

    function tm_the_title($title)
    {
    $title = str_replace(“Our-Trademark”, “Our-Trademark™ “, $title);
    return $title;
    }
    ?>

    #106337

    Hello,

    Our theme does not have such an option Woocommerce does not provide either.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)