Rename all image name in wordpress 4.7 ( related to any post )

Hello

We write a  a simple php script this script can rename all images name .

requrement to run this script

1.  Wordpress 4.7
2.  Two text files that contain random words


this script will change  image name  in this format
randompharse1__randompharse2__imagename__postname.jpg 
and Title of the image will be
randompharse1 randompharse2  imagename postname

you can get this script from github .
https://github.com/Ravindrage/rename_imagename-


Thanks

No comments:

Post a Comment

Pages