WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] A quick question about Template tags. (3 posts)

  1. Johanna
    Member
    Posted 4 years ago #

    When I look at template tags, they generally look like this:

    <?php previous_comments_link( __( '← Older Comments', 'blog001' ) ); ?>

    The blog001 is the themer defined term for that skin. What I was wondering is, does that have to be different for each theme or can I just make it generic like 'wptheme' and leave it at that for all the themes I create. I also noticed it is used in the functions.php which is why I started to wonder.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    'blog001' is the namespace for that theme that allows for multiple translation files. See I18n_for_WordPress_Developers

  3. Baki Goxhaj
    Member
    Posted 4 years ago #

    You can use another one if your theme is translatable - or get rid of it otherwise.

Topic Closed

This topic has been closed to new replies.

About this Topic