WordPress.org

Forums

_e function .. simple qiestion (3 posts)

  1. dados
    Member
    Posted 4 years ago #

    Hi,

    I have code in function.php

    <?php _e('said', 'your-theme'); ?>

    can you just tell me do I need to change "your-theme" to my theme name? for example my theme name is testtheme, root is wp-content/themes/testtheme and code need to be

    <?php _e('said', 'testtheme'); ?>

    Or I can leave "your-theme"?

  2. Rev. Voodoo
    Member
    Posted 4 years ago #

    Well, that is for translation....

    whether it says your-theme, testtheme, or cheeseburger makes no difference if you don't have your theme set up for translation.

    http://vudu.me/2td
    There's a very basic write-up I did, which may help you understand a bit!

  3. dados
    Member
    Posted 4 years ago #

    Great thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags