permalinks
-
I want the permalink to be town then 2 dashes then the phone number. Eg
town–9999-111-111
Is it possible to have — and if so how? It gets replaced with –
I tried adding
add_filter( 'run_wptexturize', '__return_false' ); add_filter( 'sanitize_title', function( $title ) { return str_replace( '--', 'twotempdashes', $title ); },9 ); add_filter( 'sanitize_title', function( $title ) { return str_replace( 'twotempdashes', '--', $title ); },11 );
To functions.php but it didn’t make any difference
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘permalinks’ is closed to new replies.