Support » Fixing WordPress » Custom Post Types: Don’t want output to be links

  • I’ve created a custom post type for a schedule of classes offered at a school.

    The information displays as I want, but each date is a hyperlink to the “post” which is problematic. There is no reason to click the date and it causes confusion.

    I want to display the dates as plain text and I will include a separate link to register for the class.

    Any ideas?

    Thanks!

    screenshot

    <td><?php echo get_the_term_list( $post->ID, 'start-date', '', ', ', '' ); ?></td>

  • The topic ‘Custom Post Types: Don’t want output to be links’ is closed to new replies.