Support » Fixing WordPress » "the_permalink()" issue
5 years, 4 months ago
Hey all, I’ve searched to see if this has been asked before but couldn’t find anything similar.
I’m making a page template that will list posts from a specific category in a table, and will only display the posts custom fields. This is working awesomely!
One issue I haven’t been able to figure out is how to make any of the values link back to the post it’s calling data from.
[code moderated – please follow the forum rules for posting code]
Have been trying to use the_permalink() and the_title() but isn’t linking. Any help?!
You should not use <?php inside <?php.
This code shown below should work.
echo '<td width="200px"><a href="';
echo '" title="';
Thanks heaps Ounziw! Worked a treat!