Support » Plugin: WPBook » [Plugin: WPBook] stylesheet_uri using plugin path instead of theme path?

  • I have a custom wpbook_theme folder setup in my theme’s directory – it’s working fine, I can (and have) customized the theme layout etc.

    EXCEPT – the stylesheet is still being pulled from the ‘plugin’ folder instead of the theme directory?

    Judging from the comments in the theme & other places I’ve seen, is this a known issue? Anyone with any ideas how to get wpbook to use the stylesheet from the /themes/wpbook_theme directory instead of plugins/wpbook/wpbook_theme directory?

    http://wordpress.org/extend/plugins/wpbook/

Viewing 1 replies (of 1 total)
  • Plugin Author John Eckman

    (@johneckman)

    @gekido Didn’t realize this was happening – I don’t use the custom theme folder myself.

    Looks like a bug – we’re using the stylesheet filter (see line 998 in the current wpbook.php) but the function (wpbook_stylesheet, at lines 949 to 957.

    This looks to see if a custom theme named ‘WPBook’ is installed, and if it is returns default.

    Unfortunately I don’t see good quick documentation on the stylesheet filter and what it *should* be doing, so I will need to look into it further

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WPBook] stylesheet_uri using plugin path instead of theme path?’ is closed to new replies.