Custom URL for image and “Learn More” links
-
Hey!
I want to include Ads on my website that are loaded randomly.
For now, I will be manually creating posts with the image and description (check the link [ redundant link removed ], the “ad” below where it says “Follow Wavebix”).My idea is to have a custom field named “URL” and then whatever link I put there, both the image and the “Learn More” will be sending the visitor to that link, instead of seeing the post.
I will also create a Custom Post Type called “Ads” so everything is organized.
How can I do this? I know how to create CPT and CF. I need help with the code that I need in order to make the CF be associated with the image and the Learn More link.
So basically right now it send the visitor to either /ad1 or /ad2, but I want to send them to, for example,
www.facebook.com/whateverlink
andwww.youtube.com/whateverlink
Hope it makes sense…
Thank you so much! ??
- This topic was modified 5 years, 8 months ago by .
- This topic was modified 5 years, 7 months ago by . Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Custom URL for image and “Learn More” links’ is closed to new replies.