Wordpress - different post title on frontend than in url [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I need to change Wordpress theme function.php file so it will show custom name for post on frontend which is different than the title in post editor/URL. For instance: Post title in text editor/url is "New York" but on front end will be shown "New York - never sleeping city". The reason for this is to shorten