Suggestion: wp_enqueue_style to load your stylesheet?

  • (6 posts from 5 members)
  • Started 5 months ago by Alexve
  • Latest reply from johnsmith08
  • This topic is not a support question
  1. Alexve

    BNC Member (1 post)
    5 months ago #

    First, thank you for creating WordTwit!

    I have a question regarding the code of the plugin:
    Could you pleae use wp_enqueue_style to load your stylesheet?
    Siteadmins can then use wp_deregister_style to disable automatic loading of the stylesheet.
    I can now change the code manually (comment out function wordtwit_head()), however when you release a new version of the plugin this change gets overwritten of course ;-)

    Thanks again for creating such a wonderful plugin.
    With kind regards,

    Alex Vermeule

  2. Duane Storey

    BNC Development Guru (520 posts)
    5 months ago #

    Thanks for the suggestion. The problem with using wp_enqueue_style is that it's hard to determine where it gets loaded in the chain, which means it's possible that another stylesheet can override it. But maybe we can add an option to disable the default stylesheet.

  3. dorabelle

    BNC Member (7 posts)
    2 months ago #

    yes, I 2nd that, wordtwit is awesome! I would just go in and do it manually, I've done a lot of tweaking like this for other plugins, and its really not a big issue to change them with new updates, which really don't come around so often anyways. Digital elbow-grease!

  4. dorabelle

    BNC Member (7 posts)
    2 months ago #

    For example, from working manually with many different themes, tweaking little adjustments here and there, I have actually got a pretty good hold of coding (its almost a form of mini-coursework, so there is more than one advantage to doing things by hand!

  5. sarah11

    BNC Member (3 posts)
    2 months ago #

    I personally think that Roman Times is the best style and color wise all of my essays on blogs are written black on the white, it is how our eyes see it the best. I despise advertisements that have supposedly "catchy" bright themes with which you have to struggle a lot to see.

  6. johnsmith08

    BNC Member (17 posts)
    3 weeks ago #

    I would like to appreciate the great work done by You
    Generic Viagra


Reply

You must log in to post.