Find Jobs
Hire Freelancers

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

$30-250 AUD

Completed
Posted about 7 years ago

$30-250 AUD

Paid on delivery
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="[login to view URL]" An attachment --------------- href="[login to view URL]" 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 [login to view URL] file Hope this makes sense, look forward to your bids
Project ID: 13397086

About the project

11 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 media files are printed from correct way. These two filters could do the requirements. To add query string to the url I would done this in [login to view URL] as your requested. By hooking new filters to wordpress cores Thank you and Regards, Shelingholmes
$60 AUD in 1 day
5.0 (61 reviews)
5.6
5.6
11 freelancers are bidding on average $146 AUD for this job
User Avatar
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. Thanks Rinsad
$210 AUD in 3 days
4.9 (786 reviews)
8.3
8.3
User Avatar
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 the process we won't have any confusion regarding the job. Lets proceed our conversation in chat. Thanks :-)
$206 AUD in 3 days
5.0 (18 reviews)
6.8
6.8
User Avatar
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 quickly, and are Search Engine optimized. If this is what you want, then get in touch with me.
$100 AUD in 3 days
4.9 (20 reviews)
4.7
4.7

About the client

Flag of AUSTRALIA
Bendigo, Australia
5.0
31
Payment method verified
Member since Nov 14, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.