permalink's id instead of name
-
Hi!
I’m using taxonomy to make database. All links with post’s title. Is it possible to make permalinks use their id?
In function.php i use this
register_taxonomy( 'game', 'post', array( 'hierarchical' => false, 'label' => __('Game', 'series'), 'query_var' => 'game', 'rewrite' => array( 'slug' => 'Games' ) ) );
in page
<?php echo get_the_term_list( $post->ID, 'game', 'Games: ', ', ', '' ); ?>
Right now links look like
http://***.com/games/clash-of-clans/I need them look like
http://***.com/games/123/
- The topic ‘permalink's id instead of name’ is closed to new replies.