Change field video url

Posted in: Newspaper
Post count: 3

In the transition to your template, I do not see the videos of the articles.
How can I change the values ​​of the video table url.
(see photo)

screenshoot

  • This topic was modified 8 years by tvcity.
Post count: 20688

Hi,

What videos are you referring to exactly? You can set featured videos for posts if you want to
https://forum.tagdiv.com/featured-image-or-video/
If that is not what you meant, some more details would be helpful, for a better understanding.

Thanks

Post count: 3

screenshoot change field

I have over 10,000 articles with videos in the old template.
now I need to know what php file I need to change to make the videos attached to previous posts.

example: in the old template, edit the post.php file and simply change the video_url value in magazin_video_url

I apologize for the bad English

Post count: 20688

Hi,

The theme has post template files, each post template has a corresponding single and loop-single file
https://www.screencast.com/t/m09zQ6dWnm
Those files are responsible with the posts. Maybe those are what you are looking for. But note that despite of what worked with other themes, may not work with the next. Premium themes have different and custom code and functionality. SO making a new theme work like the previous one is in most cases impossible.

Thanks

Post count: 3

I bought your template, to change the look at my site that has 3 years of life and 54402 posts and about 10,000 videos attached.
I can not lose the job done.

the links of videos related to my posts in my old template are registered in (wp_postmeta) in my wordpress database:

example:
wp_postmeta
meta_id 1820718
post_id 54355
meta_key magazin_video_url
meta_value https://vimeo.com/27523800

How can I tell the template to get the video link from meta_value from meta_key (magazin_video_url)?

Or can I change the value of the meta_key in the table in … (what ?????)

I do not think it has not happened before.
Thank you

Post count: 20688

Hi,

So you want to use those videos from the post content as featured videos, by using the database. I checked a post which uses a featured video, in the database, the video is stored like this
https://www.screencast.com/t/Xcw40hHW
https://www.screencast.com/t/t8wk8Xn8X
That could be what you are looking for. Or maybe you could try a plugin that was suggested by users to automatically add featured image/video from the post content
https://forum.tagdiv.com/topic/no-featured-image-behaviour/

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.