I need to "rebuild" a permalink-like link on the fly incorporating the slug ...
I am not a programmer and I am stuck. This is what I got and need but I have no idea what on earth I need there:
$email_link = get_option('blog_base').'/'.$id.'/'.NEEDSTOGORIGHTHEREANDIDON'TKNOWHOW.'/';
I have added the option blog_base to the db .... the wp-email script doesn't like to function from urls different from the domain added in the blog ... it even differentiates between www/non-www urls.
Anyhow, so I want to force the plugin upon calling into action to link to the url it wants. That's why I need to rebuilt the url looking almost like it ought to. Yet I can't get the slug ... Anybody able to assist me?