Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frank Goossens

    (@futtta)

    hi pathuri;
    you can do
    cssfile
    plugin
    plugin:cssfile

    frank

    Thread Starter pathuri

    (@pathuri)

    Does it mean that, I can specify
    (a) dw-question-answer (plugin name)
    (b) dw-question-answer:style.css (plugin:css file)
    (c) /wp-content/plugins/dw-question-answer/assets/css/style.css

    Are all the above 3 valid?

    Does it apply same to JS files also?

    Thanks for a wonderful plugin.

    +1

    I’m confused too…

    Plugin Author Frank Goossens

    (@futtta)

    ah no, b won’t work. but these (and other variations) would;

    • /wp-content/plugins/dw-question-answer/assets/css/style.css
    • dw-question-answer/assets/css/style.css
    • dw-question-answer/assets/css/

    the trick is to choose part of the URL where the JS or CSS resource is located and make sure it is specific enough (which is why “style.css” would be a bad choice indeed).

    frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘full path name for css file?’ is closed to new replies.