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

custom template – use more than one URL for an item?

$
0
0

Replies: 0

I’ve upgraded to premium and am interested in using our own php and ACF details to do something like this for each item in the grid:

<a href="<?php the_field('external_url') ; ?>" target="_blank"><?php the_field('external_url_text') ; ?></a> <br /></br><a href="<?php the_permalink(); ?>">Details</a>

Let me know if something like this is possible – I added the custom function to our file, but it didn’t seem to have any effect.

Thanks,
David


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>