WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. techskull
    Member
    Posted 4 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?

    Thanks!

    screenshot

    <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