My question comes from this one. I have never really touched on rewrite rules as frankly, they still do not make sense to me What I have I have...
  • May 23, 2022
  • 0 Comments
I have been stuck on this for hours and tried all these different methods but none seem to work. I’ve seen other threads with a similar problem but the...
  • May 23, 2022
  • 0 Comments
What happens if in register_taxonomy( $taxonomy, $object_type, $args ) I set query_var arguement to true? I read here this query_var (boolean or string) (optional) False to disable the query_var,...
  • May 21, 2022
  • 0 Comments
I’m wondering if it’s possible to determine WP_Query parameters by only using the given page URL. The reason I’m trying to do this because I’m developing a SPA theme...
  • May 20, 2022
  • 0 Comments
I’m working from about 4 months on developing a Plugin. This plugin make in a page an entire app, using the powerful of WordPress. So, I’ve decided to create...
  • May 18, 2022
  • 0 Comments
I have a page called mypage and a custom query var called mycustomvar, I am trying to rewrite the following url: http://example.com/index.php?name=mypage&mycustomvar=someword to http://example.com/mypage/someword using add_rewrite_rule( '^mypage/([^/]+)/?', 'index.php?name=mypage&mycustomvar=$matches[1]', 'top'...
  • May 16, 2022
  • 0 Comments
I have the following I’m trying to enqueue in functions.php wp_enqueue_script( 'param-example', 'https://domain.com/example?f=j&s=w&c=t', array(), null ); Except WordPress is escaping the ampersands in the HTML which is breaking the...
  • May 16, 2022
  • 0 Comments
I have a custom post type called news and in order to distinguish current and old news posts I have a custom field where the client can mark a...
  • May 16, 2022
  • 0 Comments