
Copy old custom post field to new custom post field with content adjustment
- or -
Post a project like this3366
$$
- Posted:
- Proposals: 2
- Remote
- #948575
- Completed
Description
Experience Level: Intermediate
General information for the website: Media Site
Database management system (DBMS): MySQL
Kind of development: Customization of existing website
Description of requirements/features: We have an old VIDEOS field where users added video URL and it will display as featured image. We have no changed over to a new theme and it has it's own field plus it has some variation/changes to the format.
Example, the OLD field just stored "https://www.youtube.com/watch?v=FDiHbIsIqLE" as Meat value
The new field stores it as "a:1:{s:8:”td_video”;s:43:”https://www.youtube.com/watch?v=FDiHbIsIqLE”;}"
So I need the SQL query that will copy from old to the new then also adds the new values.
META KEY for old field is “quadrum_video” and the meta_value is the video URL: https://www.youtube.com/watch?v=FDiHbIsIqLE
META KEY for new field is “td_post_video” and the “meta_value” is stored like this:
a:1:{s:8:”td_video”;s:43:”https://www.youtube.com/watch?v=FDiHbIsIqLE”;}
Extra notes:
Database management system (DBMS): MySQL
Kind of development: Customization of existing website
Description of requirements/features: We have an old VIDEOS field where users added video URL and it will display as featured image. We have no changed over to a new theme and it has it's own field plus it has some variation/changes to the format.
Example, the OLD field just stored "https://www.youtube.com/watch?v=FDiHbIsIqLE" as Meat value
The new field stores it as "a:1:{s:8:”td_video”;s:43:”https://www.youtube.com/watch?v=FDiHbIsIqLE”;}"
So I need the SQL query that will copy from old to the new then also adds the new values.
META KEY for old field is “quadrum_video” and the meta_value is the video URL: https://www.youtube.com/watch?v=FDiHbIsIqLE
META KEY for new field is “td_post_video” and the “meta_value” is stored like this:
a:1:{s:8:”td_video”;s:43:”https://www.youtube.com/watch?v=FDiHbIsIqLE”;}
Extra notes:

digibru
100% (58)Projects Completed
50
Freelancers worked with
18
Projects awarded
26%
Last project
22 Jan 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies