Append Query String To End Of href's and image src attributes in wordpress
$30-250 AUD
货到付款
PLEASE NOTE :
*************************
BIDS THAT DO NOT MAKE AT LEAST SOME RELATIVE COMMENT ACKNOWLEDGING THAT THEY HAVE READ THESE REQUIREMENTS WILL BE IGNORED
OBJECTIVE
*************
I want to include a query string at the end of each image or attachment url displayed in wordpress
For example :
An image
---------------
<img src="[url removed, login to view]"
An attachment
---------------
href="[url removed, login to view]"
Notice the ?query string at end >> "version=2017-03-15-01-01-01"
The number represents YYYY-MM-DD HH:MM:SS date format and this represents the date the attachment post was last modified e.g. post_modified field
This is not technically a date format but it's the way I want it to appear and I don't want spaces or the : character to appear so these should be replaced with hyphens as shown in the example
So the outcome will be this :
*****************************
I want all images and attachments shown in the media library and the post editor to have a query string appended to the end of it's href or src attribute (depending on whether it's an image or an attachment)
Make use of wordpress filters
*************************************
I want you to make use of any wordpress filters to make this as simple as possible
How you will deliver it to me
******************************
All I need are a set of functions, so that I can copy and paste this into my [url removed, login to view] file
Hope this makes sense, look forward to your bids
项目ID: #13397086
关于项目
授予:
Hi . . I found there are 2 filters to filter url from media or any attachment in wordpress. I found these two from wordpress codex and [login to view URL] which reliable as sources If all images, and other med 更多
有11名威客正在参与此工作的竞标,均价$146/小时
I am a Web development expert with over 5 years experience. Till date, I have created over 30 websites, My aim has always been to produce websites that look beautiful and professional, are highly functional, load quic 更多