You are here:  » Incorporate CSS into WP theme

Active Forum Topics


Incorporate CSS into WP theme

Submitted by marco@flapper on Fri, 2011-09-16 08:01 in

Hi,
I noticed there is a pto.css but I wanted to incorporate that into the css file of my Wordpress theme.

So I added the content of pto.css to my Wordpress theme CSS file and removed this line of pto.php (around line 462):

  print "<link rel='stylesheet' type='text/css' media='all' href='".get_bloginfo('wpurl')."/wp-content/plugins/pto/resources/pto.css' />";

Submitted by support on Fri, 2011-09-16 09:52

Hi Marco,

That would work fine - I suggested the same thing to another user who has different themes for desktop / mobile access to their site so they can edit the pto_ styles independently for each theme.

Cheers,
David.

Submitted by marco@flapper on Wed, 2016-09-21 12:38

Hi,
I noticed that the plugin is updated so the line with pto.css is back again. Would it be possible to incorporate into the next versio of the plugin that you can choose to enable the pto.css or disable the pto.css?

Submitted by support on Wed, 2016-09-21 12:46

Hi Marco,

Sure - loading of pto.css can be made configurable, ultimately the fewer individual resources that have to be requested the better! I'll look at including in version 3 currently in development.

Cheers,
David.
--
PriceTapestry.com