The code you have is correct and will handle the wording even if the case does not match.
Your problem is probably that wherever Place Name
is being output, it is not being passed through a WordPress translation function, __( 'Place Name' )
or _e( 'Place Name' );
Either that, or what you’re trying to translate is being dynamically generated … you gave zero details as to where Place Name
is originating from, and as such, there’s nothing we can do besides tell you the code is correct.
If you’re not comfortable with using PHP to do this, you should use a plugin like Say What:
https://wordpress.org/plugins/say-what/
Here’s a tutorial I put together a while back on changing wording on any WordPress site:
https://plugins.smyl.es/docs-kb/how-to-change-button-or-other-text-on-entire-wordpress-site/
Related Posts:
- How to remove spaces from a string using JavaScript?
- How can I input a single right-to-left paragraph (Hebrew) into an English page/post?
- Displaying fractions in text
- printf and _n in this example?
- How to copy/paste web content with photos into my blog
- Custom color does not stick
- Post specific text based on category displayed
- Instructions/Rules Inside Text Area
- Store unmodified text content in database
- How can I highlight specific pieces of text within a blog post?
- copying text from ms word to wordpress post appears weird [closed]
- Text Stating the Domain Name Appears on Every Page… How to Get Rid of It [closed]
- How to replace characters in CPT posts with a newline using Better Search Replace
- Theme Twenty Seventeen – Increasing Font Size for the Home Text
- Theme Twenty Seventeen – Make Margins Smaller So That Text is Wider
- Space between text elements (title and content) in text editor
- How to display text on product catalog
- Change values on several pages
- How can I quickly style a single word with a single keypress (or the most minimum keypresses)?
- Auto Linking Words But Only One Time
- Radio button problem using subtitles and mandatory field check
- How do I find all files containing specific text on Linux?
- Editing legend (text) labels in ggplot
- How to wrap text in LaTeX tables?
- Where does this come from: -*- coding: utf-8 -*-
- Vertical Text Direction
- How to read a text file into a list or an array with Python
- Indent starting from the second line of a paragraph with CSS
- align text center with android
- PCI\VEN_10EC&DEV_522A&SUBSYS_837D103C&REV_01
- How to easily print ascii-art text?
- How to place Text and an Image next to each other in HTML?
- How to split large text file in windows?
- Align text to the bottom of a div
- How can I open a .tex file?
- How can I align text directly beneath an image?
- Stop WordPress automatically adding tags to post content
- Export all posts as individual plain txt files
- How to keep non-breaking spaces in the visual editor?
- Load post with a different template?
- How to make shortcode to hide selection of text from post or page?
- How to hide the Text Area in the Post Edit screen
- remove from text-widget
- How to remove images from showing in a post with the_content()?
- HTML / Javascript in custom field textarea?
- Display only text to WordPress loop without loosing the text formatting
- Hide content-box on specific pages (in admin)?
- How to search and replace text in all posts of a wordpress.com blog (NOT wordpress.org one)?
- Global, network-wide shortcodes or text replace functions
- content gets scrambled
- Add description to custom text widget and display the 5 recent post titles
- Simple Plugin with custom javascript wont work – no console error
- Visual/Text tabs in wp editor Not Showing
- Custom Fields – Taller editing area
- All text disappeared (seems to be a database problem) [closed]
- Filter only the text in the_content
- How to deactivate the text, that appears, when you hovering over topbar tabs? [closed]
- placeholder text in category form label
- WordPress’s “Text” Format
- Trimming a custom field to a length
- If custom image header does not exist display text header
- How to query an out put value?
- Check & remove special characters in a field?
- If the_post_thumbnail(); is this – echo this text
- Disabling a plugin lead to styles being shown as plain text
- Updating WordPress plugin admin panel footer text
- Trying to display text in a block in a plugin page
- Why are tags from the header showing up on my WordPress site? [closed]
- WordPress function to add text warning on every pages [closed]
- Implement a slideshow-like frontpage with text overlays
- Test wrapping cutting words in half on my WP site [closed]
- How do you render posts from outside wordpress?
- Change amount of text displayed on homepage posts
- WordPress unescape text on mysql?
- wordpress post not showing my “” text>?
- Replace text in excerpt
- WordPress live, custom text box validation, how to?
- How to add custom text editor in add post section?
- Snippet to Format Elementor Text Box Throws Error
- Change the “Register” headline in Woocommerce
- how to turn a link field into a button or link text
- Copying and pasting to WordPress “code editor” code via the front end and clipboard
- Trim Titles Only On Some Pages
- How do I fix errors regarding the language markup of my webpage?
- Help with with my function for wordpress
- Elementor Text Editor Widget Not Working
- How to swap text in menu item back and forth?
- Translate site in own text-language [closed]
- Cannot access my wordpress website
- Move text from the side of image to below image [closed]
- Specific text not affected by CSS style [closed]
- RTE always on text mode by default
- Content around featured image
- WordPress post text starts newline after 93 characters
- export individual posts to text files or a single csv file
- Change the text “search result for” on search result page
- How can I display my meta value in a textarea? [closed]
- Woocommerce align prices and texts [closed]
- How can I copy value from dropdown once I select it to text area as text?
- How do I grep through binary files that look like text?