Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

Add function for user to upload image and then place it somewhere in template

$
0
0

Replies: 0

I am trying to add functionality to a theme I am building by adding a function in WordPress post editor that would allow user to upload/enter URL of image that I would latter use as replacement for video slider in home page, on small screens.

Where do I start to look for information on how to do this?

From what I got until now, I need to provide part in editor that saves URL and adds that data to post. Then with wp_query that slider is calling I would get that image for currently selected post and replace/hide with JS/CSS video in slider and place instead of him a image in his container.

And advice on how to accomplish this would be greatly appreciated. Thank you.


Viewing all articles
Browse latest Browse all 130709

Trending Articles