WordPress.org

Ready to get started?Download WordPress

Forums

php code for removing query string (32 posts)

  1. charlietech
    Member
    Posted 1 year ago #

    Hey vjpo,

    I did cache the page and Im using w3tc. far as " all 3 snippets work only with scripts, those added by wp_enqueue_script and wp_enqueue_style functions" what did you mean by that? Do i need to put the code somewhere beside the bottom of the page?

  2. MickeyRoush
    Member
    Posted 1 year ago #

    It shouldn't matter where you place the code I provided as the priority is set within it.

    If your theme/plugins do not use the WordPress recommended wp_enqueue_script and wp_enqueue_style when using .js or .css files these snippets will not apply or work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.