• Resolved bhavlice

    (@bhavlice)


    How do determine what theme the current user of my plugin is using (what themes are installed)?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bhavlice

    (@bhavlice)

    How do I incorporate a theme into my plugin pages?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Themes != plugins (though some plugins have themes – generally these are mobile site themes).

    Why does your plugin need a theme of it’s own?

    Thread Starter bhavlice

    (@bhavlice)

    Sorry. I didn’t mean a theme of it’s own. I wanted to emulate the current theme the plugin user is using into my plugin pages. Is this even possible?

    Thanks,
    Bill

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    On the back end of WordPress? You want your plugin ADMIN area to look like the FRONT end of the site?

    Thread Starter bhavlice

    (@bhavlice)

    Exactly! is that possible?
    You sound like you know your stuff. What is your email direct email address? Mine is: [email removed]. Are you on linked in? I’m sort of new to PHP. I’ve made a living off of .NET for years.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I don’t do free email support (and I’m not a consultant for hire right now – day job booked me through the year end, which is nice).

    In theory, yes, it’s possible. If you were to solely rely on the standard CSS calls in every theme, sure. The problem is you can’t rely on them. Not all themes are reliable. There’s a way to get your post editor to display content formatted like your theme http://www.deluxeblogtips.com/2010/05/editor-style-wordpress-30.html but that was specially folded into the editor so I’m not sure how you’d leverage that into a plugin page. You’d have to experiment with making calls to style sheets and such.

    Thread Starter bhavlice

    (@bhavlice)

    Thank you very much for the information. If there is anything I can do to help you with anything, I would be more than happy to do so. Thanks again.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Use themes in plugins’ is closed to new replies.