Displaying only specific Custom Image Size as links?
-
I’ve created few custom image sizes using
add_image_size()
Basically, all I want to do is:- display whatever image size I specify
- learn some way to call a single custom image size url
I used a method after looking around and searching which involves get_intermediate_image_sizes(); But it ends up displaying every size including the thumbnail size 150×150
Lets say I have
add_image_size( ‘hd’, 1280, 720, true );I would want it to display on my attachment page like – High Definition: 1280×720
with code being something like thisHigh Definition:<a href="link to image size">1280x720</a>
Any reference I should look up in the codec?Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Displaying only specific Custom Image Size as links?’ is closed to new replies.