• Resolved tliebig

    (@tliebig)


    The plugin does not yet work fully with child themes, because the template files are copied to the parent theme instead of the child theme.

    To correct the issue, the template_chooser() and the installation routine must be updated as following:

    1. Replace TEMPLATEPATH with STYLESHEETPATH
    2. replace get_template_directory_uri() with get_stylesheet_directory_uri()

    I was able to get it up and running within five minutes yesterday, so the plugin author should be able to update the (quite well written, by the whay) code fairly quickly.

    https://www.ads-software.com/plugins/wp-knowledgebase/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Maeve Lander

    (@enigmaweb)

    Whoops! Thought I caught everything to do with this last update but must have missed this. Thanks heaps for pointing it out @tliebig. Much appreciated. Will update it ASAP.

    I need to change this, too, because I use a child theme. Where do I find the code that I need to replace?

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    @cityfox
    This has now been corrected in the plugin so just make sure you’re using the latest version. If it’s not picking up the stylesheet for some reason try deactivating and reactivating the plugin (which forces it to get the files again).

    Thanks,
    Maeve

    Hi Maeve,

    I installed the latest version but still it doesn’t work. I cannot choose the KBE template (is not displayed). I use the theme Origamiez. I should say that I our wordpress is installed on an internal server. Could that be a reason for the problem?

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    @cityfox
    Ok if you have the latest version, and have tried deactivating and reactivating the plugin, but the KBE template is still not available for selection, then that means the CSS and other template files have not copied into your theme. There are many reasons why this could have occurred, most likely something simple like a permissions block on that folder.

    The solution is easy – simply copy the files from the /template folder of the plugin into a folder in your active theme directory named “wp_knowledgebase”.

    Alternatively you can remove whatever permissions blocks you have on the theme directory and then deactivate and reactivate the plugin to initiate those files to copy across automatically.

    For what it’s worth, I had this problem too. I use the Genesis framework for all my sites, so I am ALWAYS working with a site that has a child theme.

    Hi Maeve,

    I am using a Genesis Framework child theme as well. Still no luck in getting your plugin to display on our child theme. I’ve followed your instructions and created a new folder called wp_knowledgebase under my genesis theme folder. I then copied the plugin template folder to this new wp_knowledgebase folder. So I end up with this:

    wp-content/themes/genesis/wp_knowledgebase/tempate

    I’m still unable to have the plugin look anything like the demo.

    Here is a staging domain name for you to look at:
    https://luckado.com/knowledgebase/

    As you can see, it looks nothing like your demo. I know this post was marked as resolved, but it doesn’t seem to be resolved for people using Child themes from Studiopress.

    Any other ideas?

    John

    For anyone who is subscribed to this thread, I got this plugin to work with a StudioPress Genesis Framework child theme.

    Go read this thread. A small modification to the index.php file in the plugin folder solved all my problems.

    https://www.ads-software.com/support/topic/css-still-failing-since-v-103?replies=26

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Cool thanks for sharing solution webauthor.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not working with child themes’ is closed to new replies.