You are here:  » CSS problem when WP installed in folder


CSS problem when WP installed in folder

Submitted by gregor on Sat, 2011-08-27 00:51 in

Love the plugin so far. Still working on it but see loads of potential. Thanks so much.

Now on to the problem - I couldn't get the CSS to work and noticed that the url for pto.css did not include my WP install directory (after domain and before wp-content). I found that the line below in pto.php is using 'url' but I think it should be using 'wpurl' (which includes the install directory if there is one).

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

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

There might be other places this is needed too? I see bloginfo('url') used in several other files, but have not ran into any other problems yet that I know of. If you find more please tell me.

Also - this issue might have already been addressed, but I couldn't find the support forum search form (if there is one). I think that would help us all.

Thanks again for the great plugin,
Gregor

Submitted by support on Sat, 2011-08-27 08:23

Thanks Gregor I'll check that out.