how to show another image on hover image in gallery in wordpress https://www.castlery.com/lighting/pendant-light.html
You can crate custom post type name gallery in gallery post type you can add field name title, imagefield1 and imagefield2. If needed other fields as required then you can retrieve all images from database as particular post then you can get all posts with two images on view mode, another on hover mode show,(to do that you can use jquery). To get all post of particular post type you an refer wordpress.org or request on comment below
Related
I have an image that I would like to be used for thumbnails for the page, but I don't want that as a featured image when users come to the page. Does anyone know how to do this in wordpress?
Thank you.
You probably want to use ACF (Advanced Custom Fields) to add a new field for an image in posts (or you can create your own meta field just for the image). Then You can edit your theme to show whatever image, wherever you want.
ACF Plugin
If you just want to hide the featured image in every post, and only show it in blog page (or a page like that), you need to edit the post template.
https://developer.wordpress.org/themes/template-files-section/page-template-files/#page-templates-within-the-template-hierarchy
I ended up solving this by using an extension called 'Conditionally display featured image on singular posts and pages'. This allowed me to toggle off the the big picture on the post.
Anyone managed to get RevSlider Post Based to show a custom field image as background instead of the default featured image?
I have set up a few custom fields on a CPT and everything shows up ok. But, I need the Background image to be an image set in a custom field instead of the featured image. I had also tried it by selecting External Image as a source and adding {{meta:my_custom_img_url}} to the URL but it does not work :).
Any help is appreciated!
Thanks
i have posts with contains image url of external source in custom filed. i want to download it to my own server and set it to featured image. I searched but not got any solution.
Example of my post custom fileld
Name Value
image example.com/123.jpg
Any help is very thankful.
I have uploaded many pictures, and I would like to create a new post for each of them with a specific category named photos and a custom field url with the url of the image.
Is that possible ?
I imagine a button Create Post in the NextGen interface next to View / Edit / Delete links
Do you know if there are a plugin or something like that ?
You don't need a plugin for this.
Create a New Post
Set type to image
Upload the image here from NextGEN if required
Specify Category as photos
Add url of the image into custom field
Done
This has a lot of advantages, allowing you to perform all operations available to posts by default like searches.
See screenshot of how I set it up.
Cheers
How would I add a custom meta box to my Wordpress theme that allows users to add a link to an external page from the featured image? I have a slider set up that pulls featured images from a custom post type and I'd like to be able to add an external link from that.
Thanks!
take a look at this
http://codex.wordpress.org/Function_Reference/add_meta_box