Skip to main content
added 14 characters in body
Source Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244

You can use the function get_query_var()get_query_var().

Like so:

$event_slug = get_the_query_varget_query_var('event_slug');

More info: http://codex.wordpress.org/Function_Reference/get_query_varin the Codex.

You can use the function get_query_var().

Like so:

$event_slug = get_the_query_var('event_slug');

More info: http://codex.wordpress.org/Function_Reference/get_query_var

You can use the function get_query_var().

Like so:

$event_slug = get_query_var('event_slug');

More info in the Codex.

Source Link
Rob Vermeer
  • 5.2k
  • 2
  • 29
  • 21

You can use the function get_query_var().

Like so:

$event_slug = get_the_query_var('event_slug');

More info: http://codex.wordpress.org/Function_Reference/get_query_var