3

Lets say i have 100 posts. And i would like to lowercase the title. but only 70 of it. I cant use text-transform or mb_strtolower. Is there anyway to download posts and lowercase the title with microsoft word and reupload it?

9
  • Why would you want to do this?
    – Tom J Nowell
    Jul 8, 2012 at 22:16
  • And why would you not ask how to do it in css/html rather than MS Word?
    – Tom J Nowell
    Jul 8, 2012 at 22:16
  • becouse i dont want to transform all posts, just half of it. when i add code to css it transforms all post. am i wrong?
    – 1907
    Jul 8, 2012 at 22:19
  • Putting it in MS Word would and back would be more effort then just using quickedit or doing it in the browser.
    – Tom J Nowell
    Jul 8, 2012 at 22:38
  • Also titles should be using title case, not all lower or all upper case, what you want is bad english, and poor for readability
    – Tom J Nowell
    Jul 8, 2012 at 22:39

2 Answers 2

5

Assuming this question is related to Wordpress, here is answer :- You can update the titles directly into your mySQL database using simple update function.

one of my user publishs all his posts uppercase (title) i want to edit them and make it normal. –

Using some conditional statements as I mentioned in this code, you can restrict the update for particular user(replace 'user_id').

UPDATE wp_posts SET post_title=LOWER(post_title) WHERE post_author = "user_id"

This will transform all post titles into lowercase by that user.

0
1

WP Title Case plugin would a much simpler solution. It automatically transforms titles across your website to show proper case.

For example:

"the quick brown fox" will appear as "The Quick Brown Fox"

"i like wordpress so much" will appear as "I Like WordPress so Much"

Not the answer you're looking for? Browse other questions tagged or ask your own question.