WordPress.org

Ready to get started?Download WordPress

Forums

Basic Comment Quicktags
[resolved] BCQ unaffected by W3 Total Cache CDN settings (3 posts)

  1. Aahan Krish
    Member
    Posted 1 year ago #

    Hi Mika,

    I am back here again! :(

    Heeding to your advise, I removed all the code that rewrites the URLs of static content on my website to another domain. Instead, like Joost suggested, I am using W3 Total Cache's Generic Mirror CDN type to do the job.

    Problem is, everything's fine, except for two plugins whose JS and CSS files are still being served from the same domain as the one that serves WP. Basic Comment Quicktags is one. Any idea why?

    Thanks!

    http://wordpress.org/extend/plugins/basic-comment-quicktags/

  2. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    The other one is http://wordpress.org/extend/plugins/wp-jquery-lightbox/ ?

    We both use plugin_dir_path(__FILE__) to detect the plugin directory path. Which is .. well it's a right way ;) There are many.

    What other plugins are you using that do work?

  3. Aahan Krish
    Member
    Posted 1 year ago #

    Oh, I didn't realize my mistake until I looked at my functions. I use get_template_directory_uri() which is probably why it works. Never mind! :)

    I can deal with it now, and my apologies for the false alarm.

    PS: "What other plugins are you using that do work?" — I was actually referring to my custom functions, which essentially make plugins. Like I said above, I am doing it theme-style which is why it works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic