
The stretch comes not from travel's immediate rewards, the inevitable myriad new sights, smells and sounds, but with the experiencing firsthand how others do differently what we have believed to be the right and only way. "Travel has a way of stretching the mind. I then replaced my X and Q place holders with the appropriate quote mark combination and I had a functioning text file ready for importing.Īn example of the import file looks like this: A quick search and replace for the quote marks, changing them to apostrophes, got rid of them. The only quote marks remaining would then be inside the content fields. Then I searched for every ending and beginning quote mark, and replaced it with QQQQ. I had left quote marks inside the text breaking the import.Īgain, the queen of search and replace, I searched for every "," and replaced it with XXXXX. To convert the text file to meet the new requirements, it was a simple matter of search and replace and the file was ready.

I wanted all of them to show and not have to go back and manually mark all 300 quotes to “show”. From the Manage > Quotes panel, you can control which quotes are “visible” or shown and which are not. The visibility I wanted set to “yes”, which mean the quote would appear on my web page. There are three fields to import, the quote, author, and visibility. I had added italics and some formating in the file, so I needed to change this into a CVS text file for importing into my database.įor the import, each field needed to be wrapped in quote marks, with a comma in between, and each quote needed to be on its own line. Witty Text worked from a text file of quotes, with each quote on a line. Importing Quotes Into the WP-Quotes Database TableĪfter becoming intimately acquainted with the Import feature with phpMyAdmin while importing over 1000 posts manually into WordPress over a year ago, I knew I could import my few hundred quotes into my database easily. I have several hundred in my random quote file. This is great if you are starting fresh and have 5-10 quotes. Activate the Plugin then visit Manage > Quotes to create the database and start adding quotes. Put the wp-quotes.php file into your /wp-content/plugins directory and the edit-quotes.php file into /wp-admin. And since I now needed a replacement, it was worth the try. Highly recommended!Ĭurious, I checked out WP-Quotes WordPress Plugin and found that I really liked it. it uses SQL, it has a sexy interface and can do much more than my very rudimentary plugin.

And, unfortunately, he’s closing his website. In preparation for upgrading WordPress, I checked for updates and found that the author was now recommending someone else’s WordPress Plugin for random quotes.

Witty Text WordPress Plugin was simple and effective, and it did the job. I’ve always had random quotes on my web pages for a variety of reasons, but mostly because I’ve been collecting quotes since I was a child and I like to share them. I’ve been using the WordPress Random Witty Text Plugin on my main site for well over a year.
