Translate the title before you send it to the_tags()
:
the_tags(
'<div class="tags">' . __( 'Post Tags', 'textdomain' ),
' ',
'</div>'
);
Related Posts:
- How to create .pot files with POedit?
- When to use _e and __ for the translation?
- What is a Theme textdomain?
- pass object/JSON to wp_localize_script
- How to concatenate inside the _e() function the right way?
- What is the purpose of an extra file for translation?
- Make a custom theme translate-ready
- Change text of twentyseventeen_edit_link()
- Theme elements not translating
- Should we localize custom-made themes / plugins?
- Help with “text domain”, comments_form in WordPress theme
- Prevent WordPress updates from overriding custom language translations?
- Translation-readiness of Koi theme
- Some translations do not work in my template class
- My custom theme does not load the translations
- Internationalization and functions that use it
- Translation Issue with WordPress Theme Check in comment_form function
- Default string not appearing want to translate
- Should I change text-domain of TGM library inside theme?
- Single translation for many locales
- comment form args are not translatable (customized comment form)
- Set parent theme language with custom .mo files
- Does the textdomain have to be the theme’s name?
- Why set a second parameter in the translate function?
- Do translation functions like __e() have to take strings in English in themes?
- Translate a child theme with pure PHP and gettext
- Translate a theme with a PO file
- Cart displayed above header
- how to unlocalize theme/plugin?
- WordPress theme doesn’t read my translations from pt_BR.po file
- Theme starter content translation is not working
- Menu names not getting translated
- Any way to permanently translate themes?
- Display Today’s date outside the loop?
- The the_post_thumbnail without srcset?
- after_setup_theme always runs
- How to add default images for custom backgrounds?
- How to call the_excerpt() with tags or the_content() as an excerpt?
- Custom Theme: The active theme is broken. Reverting to the default theme
- comment_form() generates the wrong action url
- How to set path with WP_Filesystem and ftp base / chroot
- Customize comment list markup
- Have WP Theme update from Git Repository
- A two column loop with one lead post
- new theme permissions don’t allow me to edit
- Getting Permalink within the loop
- Allow users to add custom functions to wordpress theme
- Can a child theme based on Starker theme be released as free to use theme for public use?
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- Link won’t show using the_permalink();
- How exactly *does* unit testing work for themes?
- wp_nav_menu add something before closing container and after last list item
- Using AJAX in wordpress theme
- moving an admin submenu item to a top-level position
- show a post from a specific post format
- How to use different assets if local or live
- get_option() returning empty
- Customizer: save setting/control content to post/page
- Wp_customize_image_control Use Add Media
- Changing Header Image Every N Minutes/Seconds
- Post Content Displaying Below ALL Shortcodes Content
- WordPress Template Part in iFrame
- Can I add an icon & function to the “Upload/Insert” toolbar at the top of the content editor?
- underscores use of the article element on the page template
- Ideal inline dynamic CSS injection
- How to create and populate with few links a menu in child theme functions.php?
- What’s the best way to create a new design for other pages?
- Consequences if using PHP include TEMPLATEPATH?
- Adding a gallery to my first theme
- Headless WordPress + Vue.js on the same server
- Previous and Next links not populating, have I missed something?
- not getting API setting saved confirmation message after update on option page
- Single.php the_excerpt loads same as the_content not loading read more line
- Is there a way to retrieve the calling template part?
- How to fix WordPress images not showing up in local hosted XAMPP server?
- WP_Query not getting all posts, just tagged posts
- how to hide home nav link in wordpress
- Calling a WP Plugin Function’s Variable in Theme Template [duplicate]
- Help with Core Mods
- Local variable name in setup_postdata()
- Creating a Single Page Theme correctly
- Child theme menu not appearing in Twenty Seventeen
- Edit Product Archive design for Woo theme
- how to edit woocommerce checkout page
- Necessary css classes to be included in theme stylesheet
- How to link post image to post link?
- get_the_excerpt() removes all p tags in page!
- jQuery conflict in WordPress, works fine in HTML
- Including some variables in function.php and echo them is several place of theme is not working
- How to migrate the menu from the site on my own theme in WordPress?
- Why is including all your files within a theme folder important?
- Change default options on attachment page
- FitVid not working for iframes on particular theme install
- Make theme editor to show all theme’s files
- can’t add EVENT LISTENER to a element
- add_action works outside condition but not inside it
- Bootstrap isn’t called into my WordPress theme
- Jquery Ui Tabs not working
- Adding a new layout for genesis