The initial part of the target (get_post_meta($wp_query->query_vars['go']) serves the purpose of grabbing the post id # and clocking the link appropriately.
Process goes like this:
1) user can set the "jump link" from a settings page, ie, domain.com/visit, domain.com/go, etc
2) this plugin is intended to mask the url (originally meant to come from a custom field 'url'), and mask it as domain.com/<user defined link base>/<postid>
I could easily make a custom field called "url" and it would work fine, but because of some custom meta boxes I already have in place for a nicer looking, more descriptive interface, all of this info is already stored within an array.
|