• Resolved ageingdj

    (@ageingdj)


    Hi there,
    I have a bit of a simple question.
    I have created a functionality plugin that holds all my functions which is a great idea – can I do the same for CSS (instead of adding it to style.css) and, if so, how please?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    It’s definitely possible – I’ll see if I can add it as a feature to the main plugin.

    Thread Starter ageingdj

    (@ageingdj)

    Hi Shea,
    Thanks for your reply.
    I take it thats a no (at present) then?
    While your here, can the same be done for template files (so you have the same user defined templates available when you switch theme) please?

    Plugin Author Shea Bunge

    (@bungeshea)

    Sorry, I should have been clearer. You are correct, stylesheets are not currently supported in the scope of this plugin. However, I’ve been working on a CSS upgrade tonight – I’ll release it tomorrow morning.

    Template files are generally very tied to the specific theme, so they’re not really something that you can preserve over different themes. Also, when you begin moving from simply functions and CSS styles to needing to use template files, then you might as well create a child theme instead of using functionality plugins.

    • This reply was modified 6 years, 11 months ago by Shea Bunge.
    Thread Starter ageingdj

    (@ageingdj)

    Wow, that was quick!
    On the templates, that was me typing before thinking – apologies.

    Plugin Author Shea Bunge

    (@bungeshea)

    I’ve just released version 2.0.0 which includes a CSS feature as well as a bunch of other behind-the-scenes updates.

    It’s disabled by default, but in your functions.php file should be instructions for how to enable it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Css Functionality plugin?’ is closed to new replies.