Passing variables trough 2 pages

I really have no idea what you’re implementing here – I don’t know how a plugin “has pages,” for instance. As such, I’m afraid I cannot offer you much help in the way of an example, but I’m confident that what you ask could be accomplished using the Transients API, or its ascendant the Options … Read more

Variables posting twice

The parse_query action gets called on every query (menu items, sidebar recent posts widgets, etc.), but get_query_var pulls from the main query, so that condition will be true for all queries despite the fact that the query var doesn’t exist in those queries. You need to check the query object passed to your function hooked … Read more