Append Query String To End Of href's and image src attributes in wordpress

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

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

PHP WordPress

Nº del proyecto: #13397086

Sobre el proyecto

11 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

shelingholmes

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 Más

$60 AUD en 1 día
(61 comentarios)
5.6

11 freelancers están ofertando un promedio de $146 por este trabajo

rinsadsl

Hello Good Day I can add this custom query string to your images and documents. I have plenty of experience on wordpress. I can build it as a function which you can add as a filter. Looking forward to hear from you. Más

$210 AUD en 3 días
(786 comentarios)
8.3
Shopify

Hello, Greetings from Shopify We have recently completed the similar project and would like to show you a live demo which is similar to your project . I would like to discuss your project in more details so during Más

$206 AUD en 3 días
(18 comentarios)
6.8
parimaldesai77

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 Más

$100 AUD en 3 días
(20 comentarios)
4.7