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

  1. Johanna
    Posted 6 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 6 years ago #

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

  3. Baki Goxhaj
    Posted 6 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