View Single Post
02-04-2012, 07:12 PM
#3
astereo is offline astereo
astereo's Avatar
Status: Member
Join date: Jun 2005
Location: east coast, usa
Expertise: design,development, & WP
Software: Photoshop, Illustrator, WP
 
Posts: 421
iTrader: 6 / 100%
 

astereo is on a distinguished road

Send a message via AIM to astereo Send a message via Skype™ to astereo

  Old

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.

Reply With Quote