I am looking for some php code to replace “strings?” that are found by the wp all import plugin.
I need to change words from an xml named “aboutme” to be altered with synonyms. I have a list of synonyms.
For example when the wp all import is importing the text should be scanned for the word “Hi” and replace it randomly with either “Hey, Hello or Howdy”
The plugin provides a field for php to be entered. I do not want you altering anything else than that field for this. Therefore you will only have access to the dashboard and not to ftp.
Also this plugin inserts an image into the post. I need this image to be picked up by twitter when shared in a tweet.
Also there is in the xml a “title” section. I want a piece of code that puts a word in front of it randomly.
I need to be able to set those words. I have a total of 50 words where the code should pick one by random and put in front of the title.
It's for an adult site, if you have trouble with that please don't respond.