Need a php script that does the following to a wordpress mysql table:
Search all records in table1
Find all posts that are of the type "page"
These pages should have status of "published"
The content field should not contain the text "[am4show" anywhere
Next we want to find all instances of <img ....> tags in the content field.
Count the number of these tags
Divide this number by 4 and round to whole number - assign this to value of $n
Now insert the shortcode [thistag] after <img...> tag number $n
Also insert [/thistag] at the end of the file.
If no images found do nothing.
This should be made into a wordpress plugin that will be used on a multisite install so that the proper references to the database and tables are made.
6 freelancers estão ofertando em média $135 para este trabalho
Hi, My names is Ana Maria . I have read your project Description. It seems easy for me to work on this project. I am ready to discuss more about the project. I am offering you the minimum budget for this project