• 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?!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You should not use <?php inside <?php.

    This code shown below should work.

    echo '<td width="200px"><a href="';
    the_permalink();
    echo '" title="';
    the_title();
    echo '">';

    Thread Starter jvan

    (@jvandelaar)

    Thanks heaps Ounziw! Worked a treat!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"the_permalink()" issue’ is closed to new replies.