Custom Post Types: Don't want output to be links (1 post)

  1. techskull
    Posted 5 years ago #

    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?



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

Topic Closed

This topic has been closed to new replies.

About this Topic