Hi @powerup5,
You can alter the permalink to the posts by using the new filter timeline_express_announcement_permalink
.
https://github.com/EvanHerman/timeline-express/blob/master/lib/helpers.php#L502
This will also alter the ‘Read More’ link, if visible.
Here is an example changing the post with ID 15 to link to google.com:
function set_announcement_fifteen_to_google( $permalink, $post_id ) {
if ( 15 === $post_id ) {
return 'https://www.google.com';
}
return $permalink;
}
add_filter( 'timeline_express_announcement_permalink', 'set_announcement_fifteen_to_google', 10, 2 );
You can change (or add more) post ID’s to specify which link. Feel free to alter it however you need to adjust where the announcement is linking to. We may build out an add-on in the near future so you can specify the external URL on the announcement edit page, to avoid having to write additional code.