SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast MartyBoi's Avatar
    Join Date
    Dec 2011
    Location
    Saginaw MI
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Question About Modifying The HTML5 Blank Theme. HELP !

    I had downloaded the HTML5 Blank WordPress Theme, I noticed a lot of functions within the function.php that use ' html5blank '.

    Example: // Localisation Support
    Code:
    load_theme_textdomain('html5blank', get_template_directory() . '/languages');
    What I want to know is, can I just go ahead and replace the ' html5blank ' with my domain name?

    Example: // Localisation Support
    Code:
    load_theme_textdomain('mysite', get_template_directory() . '/languages');
    Is it normal for people to ' Tweak, Modify or Change ' this and the functions to switch from ' html5blank ' to ones domain name?

    Thank you

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    That's just a "hook" for language support. You can change the name to anything you want. If you wanted to translate your theme (not your site's content, but the theme itself) into various languages, then you'd use that hook. If you don't intend to use it, you don't need it.
    Maleika E. A. | Rockatee | Twitter | Dribbble




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •