_x()
is for string with a context. So your second argument is just the context, and there is no text domain.
Suggestion:
$string = _x(
'%1$s %2$s - %3$s %4$s', # string to translate
'recent comments 1 = gravatar, 2 = … ', # context for translators
'thst' # text domain
);
$visible = sprintf( $string, get_avatar( $comment, 48 ), … );
$output .= '<li class="recentcomments">' . $visible . '</li>';
Explain all numbers in your context parameter.
Related Posts:
- Should all references to a text domain be to my current theme?
- 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?
- 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?
- What are WooCommerce starter themes? [closed]
- 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()?
- 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
- 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?
- Sub folder CSS that’s read by Admin panel
- How do I remove twentyten without ruining what I did?
- Custom theme not visible in Appearance
- Dequeue a style file which is making website load slow!
- Can’t delete theme
- Developing WordPress Theme using CSS framework like Bootstrap
- WP_Customize_Color_Control omitting # symbol
- Theme translation not applying
- How to add filter the post thumbnail before save in database?
- Storefront child theme not applying parent theme [closed]
- 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]
- Theme Inspector “X-Ray”
- Acivate all themes multisite wide automatically
- Call to undefined function add_menu_page() on theme activation
- How to place HTML tags in content from the_content()?
- WordPress Theme Creation [closed]
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Integrate WooCommerce theme with a WordPress theme [closed]
- Automated Footer information
- How do you use WordPress for a website that’s not in a blog format?
- Is it acceptable for a WordPress theme to not accept widgets?
- Managing WordPress Theme
- Simple child theme modification but links are broken
- Making a WordPress theme based on twentyten
- Alignment Problem [closed]
- How to track a users last visited page?
- In a Gallery with limited image posts, how do I not limit images on single post?
- LESS not working in WordPress [closed]
- Unwanted empty line at the beginning of document
- How to add custom page elements to the WYSIWYG editor?
- Why is my container argument not working for wp_nav_menu() [closed]
- best practices for updating wordpress theme
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- How to use the _S framework
- 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
- How can I not disable my theme when I want to upload a new version of it?
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Are paginated comments required for publishing Themes?
- How to show some of category in wordpress
- using themename_the_custom_logo() in template-tags?
- Avoiding do_shortcode() loops
- Creating a theme just to deploy a single page
- Custom page template not showing on page creation
- Correct was to customise theme using get_theme_mod in scripts
- Custom theme vs theme customization?
- how can I re-utilize and class on a child theme
- Weird ‘theme update’ error [duplicate]
- How to figure out which wordpress theme a site was using?
- Flexslider not working for my custom theme WordPress
- “No Data Received” error in Chrome every time i try to update the theme functions file
- Redirect to custom login page
- WordPress two sidebar layout or theme
- How to close open divs in post loop
- Display Today’s date outside the loop?
- Standard Way To Do Custom Work Within A Page?
- Add Dynamic Sidebar to Exisiting WordPress Theme [closed]
- How can I install my custom-made theme on a wordpress.com blog? [closed]
- Turning WordPress Into full-featured website?
- .submenu class missing in output from wp_nav_menu
- What is the point of using the front-page.php template? [closed]