Extend permalink to beyond article

Posted in: Newspaper
Post count: 101

Hi,

I have added a few custom fields to the post title, so that for instance locations can be selected from a dropdown list but still show up in the title.

However, now the permalink for the post now only relates to the the post title.
For instance: “Paul Weller 5 oktober 2018 Depot, Leuven” is now only a link in the “Paul Weller” bit of the text, where we would like to have the complete thing as a link.

Any thoughts on where and how I can change this ?
This is currently the code:

<div class="post-title">
<?php get_the_title( $id );?>
<?php echo $this->get_title($title_length);?><h3 class="entry-title td-module-title">
<?php $datum = get_field( "datum" , $this->post->ID ); //etc...?>
<?php if ( $datum ) : ?><span class="cemetadate"><?php echo $datum ; ?></span><?php endif; ?>
<?php $concertlocatie = get_field( "concertlocatie" , $this->post->ID ); //etc...?>
<?php if ( $concertlocatie ) : ?><span class="cemetacelocation"><?php echo $concertlocatie['0']; ?></span><?php endif; ?></h3>
</div>

Post count: 20688
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.