TEMPLATEPATH of polls-css.cs should be replaced by get_stylesheet_directory()
-
Hi,
in line 199 of “plugins/wp-polls/wp-polls.php” you should replace
if(@file_exists(TEMPLATEPATH.'/polls-css.css')) {
by
if(@file_exists(get_stylesheet_directory().'/polls-css.css')) {
… otherwise you can’t “overwrite” your polls-css.css in a child theme.
Kind Regards,
– Bj?rn
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘TEMPLATEPATH of polls-css.cs should be replaced by get_stylesheet_directory()’ is closed to new replies.