this url is working but I want to show the 4978 id's name instead of 4978 id.Look like as below url .


Please let me know if this one is possible.

add_action( 'init', 'init_custom_rewrite' );

function init_custom_rewrite() { add_rewrite_rule(
'top' ); }

add_filter('query_vars', 'my_query_vars', 10, 1);

function my_query_vars($vars) { $vars[] = 'action'; $vars[] = 'sid'; return $vars; }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.