Forums
Home / Plugin: Code Snippets / Run on only one custom post type
(@pickme)
2 years, 1 month ago
Hi,
I want to run a script on only one page with a URL query string.
Is this possible?
Thank you
(@bungeshea)
Sure, you can use isset( $_GET['query_string_name'] ) within your snippet to check whether the query string is present.
isset( $_GET['query_string_name'] )