Meta data URL
-
Hi
I want I want to remove “the URL of the date and the category” of meta_data. To date, I have done this:
I deleted the
<a href = "'. get_month_link (get_the_time ('Y'), get_the_time ('m')). '" title = "'. sprintf (get_the_time (__ ('l, F jS, Y, g: i a 'MYSITE_TEXTDOMAIN))).' ">of this code
post_date( $attr ) { $attr = shortcode_atts(array( 'before' => '', 'after' => '', 'text' => __( '<em>Posted on: </em>', MYSITE_TEXTDOMAIN ), 'format' => 'd/m/Y' ), $attr); $published = '<span class="meta_date">' . $attr['before'] . $attr['text'] . sprintf( get_the_time( $attr['format'] ) ) . $attr['after'] . '</span>'; return $published;but for categories not find where calls the url, I think it is here, but do not know
$attr['before'] = '<span class="meta_' . $attr['taxonomy'] . '">' . $attr['before'] . $attr['text']; $attr['after'] = $attr['after'] . '</span>'; return get_the_term_list( $attr['id'], $attr['taxonomy'], $attr['before'], $attr['separator'], $attr['after'] );Thanks!
The topic ‘Meta data URL’ is closed to new replies.