ankhmor Posted September 3, 2009 Share Posted September 3, 2009 Is there a way to put something like a shortcode in your post or page and then to have that put in a variable? Example: lets say u put [hello yes=5] into a post with the shortcodes right now i would have to write a function that would return something. But is there a way to get this information into a variable? lets say like $hello = array('yes' => 5) or just $hello = 'yes,5'? Link to comment https://forums.phpfreaks.com/topic/172975-wordpress-shortcodes-and-varibles/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.