The problem was more trivial then expected.
The function thf_setup()
was already defined and hooked in the theme’s functions.php
so I just added the load_theme_textdomain
call to that function instead of declaring a new one (which would also be duplicated).
Related Posts:
- Change locale by detecting viewer’s browser language setting and let them choose prefered language after
- Menu names not getting translated
- How to generate a rtl.css file for themes?
- Display Today’s date outside the loop?
- WP 3.4 – what action/hook is called when theme customisation is saved?
- Add a dropdown to theme customizer
- What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?
- What, specifically, should be included in theme_name_setup()?
- How to get gallery images?
- Is it possible to use line break in theme description?
- Is the theme customizer slowing down my site?
- How can I get wp_head() as a string instead of echoing it?
- What does “Do not deregister the jquery script in the administration area” mean?
- What is the best book to learn how to make themes for wordpress?
- Grab the first paragraph of each post
- Symlink a directory to wp-content/themes
- How to check if post has any tag?
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- Is there an error in get_the_tag_list()?
- Example of a theme organization without all the default wp files in root
- Which is the simplest theme for WordPress to use it as your base?
- “Cheatin’ uh?” error message on multple theme directories
- Adding WordPress colorpicker in widget settings
- Disable the Custom Internal CSS added by theme.json for Certain Pages
- Unwanted blank lines before tag
- A theme that follows all the best practices to learn from?
- get_post() function returns post even if it is trashed
- How to highlight the current page in the nav menu?
- How do you protect a premium theme from being copied?
- “Display Site Title and Tagline” checkbox not working?
- Add social icons in a theme through custom admin menu
- file_get_contents Not allowed in Themes?
- Custom Nav Walker Displaying Values in Sub Menu
- How do I remove twentyten without ruining what I did?
- Custom theme not visible in Appearance
- Can’t delete theme
- Internationalization and functions that use it
- Developing WordPress Theme using CSS framework like Bootstrap
- WP_Customize_Color_Control omitting # symbol
- Can I have two different theme for two different language?
- WP_Comment_Query – Get comments and answers separately
- excerpt() shows different result between remote and localhost(development environment)
- Prefix best practice, should we use framework name or theme name?
- Theme Javascript.php Overwritten Nightly [closed]
- How to add Space between sidebar and footer widget in WordPress theme [closed]
- How can my theme allow users to take advantage of advanced html tags in posts
- Call to undefined function add_menu_page() on theme activation
- how to get the post attachement image in full size?
- Is it acceptable for a WordPress theme to not accept widgets?
- Should all references to a text domain be to my current theme?
- Set a featured image as a replacement to the header image
- Custom theme: How to call archive-post.php for viewing blog posts
- Theme Customizer not displaying saved values in wp_head (CSS)
- Do I need to include a textdomain if my theme doesn’t support translation?
- Simple child theme modification but links are broken
- Making a WordPress theme based on twentyten
- Thesis -style Navigation
- How can I wrap all blog posts image with
- theme style is applied on the dhasboard rather than the website
- Alignment Problem [closed]
- What $handle does WordPress use for a theme’s implicit style.css?
- Create theme for mobile phones and tablets only?
- Unwanted empty line at the beginning of document
- Why is my container argument not working for wp_nav_menu() [closed]
- Never actually adding the action? Or do I have to call the action?
- best practices for updating wordpress theme
- Translate a theme with a PO file
- Theme Checker Text Domain
- help needed for suit designing tool
- How to modify theme content in Thematic?
- How to copy page/post from one theme to another?
- Not sure how to debug this npm install error. This is a wordpress theme that comes with a built-in gulp/webpack task automation [closed]
- How to update mark-up of a gallery block in a custom theme?
- Host Private Custom Theme
- My wordpress theme name isn’t updating straight away
- Why front-page.php doesn’t show content of file instead shows loop
- Customizer API Multi Sections in single Panel
- WordPress theme options checkbox default checked state
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How can I change this SVG shape that’s generated?
- Adding a second logo next to the main one in header
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Are paginated comments required for publishing Themes?
- How can I fix my theme header for my CSS stylesheet?
- How to show some of category in wordpress
- using themename_the_custom_logo() in template-tags?
- Creating a theme just to deploy a single page
- Custom page template not showing on page creation
- Custom theme vs theme customization?
- Weird ‘theme update’ error [duplicate]
- “No Data Received” error in Chrome every time i try to update the theme functions file
- WordPress two sidebar layout or theme
- Standard Way To Do Custom Work Within A Page?
- Confused on loading page content
- Add Dynamic Sidebar to Exisiting WordPress Theme [closed]
- How can I install my custom-made theme on a wordpress.com blog? [closed]
- .submenu class missing in output from wp_nav_menu
- Meaning of “if ( is_home() && ! is_front_page() )” snippet?
- Dynamic nav menu with icons [closed]
- TItle In Latest Post is not using H1 Tag [closed]