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
- Disable auto-suggestion
- Print string to text file
- How to extract text from a PDF? [closed]
- How do I find all files containing specific text on Linux?
- Editing legend (text) labels in ggplot
- XQuery data and text() function
- jQuery if div contains this text, replace that part of the text
- How to place a text next to the picture?
- How to display text in pygame?
- How to wrap text in LaTeX tables?
- Where does this come from: -*- coding: utf-8 -*-
- CSS no text wrap
- Vertical Text Direction
- Difference between VARCHAR and TEXT in MySQL
- How to read a text file into a list or an array with Python
- How can I create a text input box with Pygame?
- Indent starting from the second line of a paragraph with CSS
- How can I replace text with CSS?
- align text center with android
- PCI\VEN_10EC&DEV_522A&SUBSYS_837D103C&REV_01
- Text border using css (border around text)
- How to replace multiple substrings of a string?
- Read a text file in R line by line
- How to easily print ascii-art text?
- Making text background transparent but not text itself
- strange text before my header wordpress
- How to place Text and an Image next to each other in HTML?
- How do you change text to bold in Android?
- How to split large text file in windows?
- Setting a max character length in CSS
- Align text to the bottom of a div
- Text wrapping around a div
- How can I change the text color with jQuery?
- How to set text color for my d3 chart title?
- Reading local text file into a JavaScript array
- How can I open a .tex file?
- How can I align text directly beneath an image?
- How to Read from a Text File, Character by Character in C++
- Stop WordPress automatically adding tags to post content
- can I add a custom format to the format option in the text panel?
- How to retrieve text only from wp_content() not from wp_excerpt()?
- How to Create Editable Blocks of Text for the Homepage?
- Export all posts as individual plain txt files
- Problem in wordpress with “-“
- How to keep non-breaking spaces in the visual editor?
- Automatically decrease font size for long words
- 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)?
- Add Descriptive text to Widget text box so users can see what they contain
- Adding a custom line of text to php code
- Global, network-wide shortcodes or text replace functions
- How to add a class to a link in text editor
- Remove text tab
- How to make shortcode output display where I choose
- Escaping Quotes
- 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
- Add default text to multiple wysiwyg editors
- Visual/Text tabs in wp editor Not Showing
- Preserve shortcode content formatting
- Custom Fields – Taller editing area
- How to load a post into an empty div tag anywhere across the pages?
- WordPress editor not creating tags properly in tables
- 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]
- Strange ASCII characters overlapping content
- Change default italic from to in admin editor
- Sidebar widget: Randomly select text from a given set
- placeholder text in category form label
- How can I change the email that is inside the default email texts of wordpress?