Hi Brady,
Thank you very much for your reply.
I tried to do what you said but it didn’t work, I’m sure I’ve done something wrong, I’m quit newby to wp so please forgive me.. ??
I added the filter to the bottom of the file function.php and changed the few parameters you told me to modify, here’s the last bit of the page with at the end your script:
…..
if ( $reset && $encodings ) {
$encoding = array_pop( $encodings );
mb_internal_encoding( $encoding );
}
}
/**
* Resets the mbstring internal encoding to a users previously set encoding.
*
* @see mbstring_binary_safe_encoding()
*
* @since 3.7.0
*/
function reset_mbstring_encoding() {
mbstring_binary_safe_encoding( true );
}
function prefix_simo_shortcuts( $shortcuts ) {
$shortcuts['tuscany'] = array(
'title' => 'Tuscany',
'permalink' => 'https://www.gate-away.com/property_region.php?region=16',
);
return $shortcuts;
}
add_filter( 'better_internal_link_search_shortcuts', 'prefix_simo_shortcuts' );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Please can you tell me where I did it wrong and can you make also a sample on how to do it and how to add other shortcuts?
Thank you very much