Thread: Tech Quick PHP question
View Single Post
Old 01-11-2017, 12:59 AM  
incredibleworkethic
Confirmed User
 
incredibleworkethic's Avatar
 
Industry Role:
Join Date: Sep 2009
Posts: 2,302
Quote:
Originally Posted by Paul&John View Post
try
Code:
$str .= '<div class="thumb-wrap"><a href="'.the_field('url').'">';
it's now giving me the blog posts url instead of the custom field's data

Thanks so much for the quick response.
incredibleworkethic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote