How to add a meta information to the URL?
Just got a solution: Just add this code to your functions.php and replace ‘_metainfo’ by your meta information and ‘posttype’ by your posttype. function add_meta2url( $link, $post ) { $post_meta = get_post_meta( $post->ID, ‘_metainfo’, true ); if ( ‘posttype’ == get_post_type( $post ) ) { $link = $link . ‘#’ .$post_meta; return $link; } } … Read more