• Resolved kpimarketing

    (@kpimarketing)


    I created a new page and used the shortcode on it and it breaks the footer of only that page. All other and defult KB page does not break anything.

    Any ideas on why only the new page with the shortcode on it has a broken footer?

    I would use the default generated page, but that auto generated page is not found within the All Pages area.

    I need to apply custom access settings to the page and I can not do that unless I can find and edit the page.

    Thank you for any help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Any luck with this? I think I’m having the same issue.

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Please post link if you would like me to take a look and try to offer some help. Thanks.

    Sounds like there is something on your page template that conflicting with the shortcode. To see what that might be I would need to see the page and check console for clues.

    Same issue. Doesn’t actually break it. There is the number “1” below the footer. And the tag “article” seems to have been moved from where its suppose to be to below footer. Using dev-tools in chrome I moved the tag </article> from below footer to where its suppose to be and it looked correct. I use generatepress and as few plugins as possible.

    The footer is therefor squashed to the width of the article.

    Can’t give out access as it’s an internal site.

    The problem is in the ‘includes/kbe_knowledgebase.php’ file.

    $return_string = require dirname( __FILE__ ) . ‘/../template/kbe_knowledgebase.php’;

    Doesn’t put the contents of the file in the variable it just loads the contents of the file right then and there. The ‘1’ that is shown on the page is just the required function saying that the file is correctly required.

    Just require the file and then return an empty string.

    As for the broken footer.
    In the ‘/templates/kbe_knowledgebase.php’ file you added a header and footer methods, you don’t need those because the theme already loads them itself, the page breaks because the page is stopped by </html> before the entire page is loaded.

    Hope this helps!

    • This reply was modified 3 years, 5 months ago by ikwilkoffie.

    Is there an update in the pipe to fix this? I am having the same issue.

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    I can’t do anything about a problem that I can’t see or replicate.

    • If you need help with an issue, post a link or screenshot showing it.
    • If you think you have found a bug in the plugin please log it on GitHub
    • If you have a solution you would like to contribute (thank you!) then please create a pull request on GitHub
    • This reply was modified 3 years, 4 months ago by Maeve Lander.
    • This reply was modified 3 years, 4 months ago by Maeve Lander.
    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Oh and @xperiment let’s troubleshoot your issue in your own thread here because I think it does not seem related.

    Hi,
    I sent you login for my site to look into the problem, Maeve. Sent it to your slack address given in here. 🙂
    If you have the time, just look at it.

    I’ve tried to modify the source files several times. Looks like the shortcode also outputs the footer, since anything I try to insert get pushed to the bottom. But I’m not good at digging through plugin code 😉

    My “stack” is GeneratePress as theme and stock WordPress. The rest of the plugins does not modify the looks from what I can see.

    Thanks again. Plugin does work great aside from this! 🙂

    I’m getting the same issue with a “1” appearing and my footer breaking. Did you find a solution?

    psysid

    (@psysid)

    same here.. this plugin can do well on codecanyon if u maintain it well

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    I can’t do anything about a problem that I can’t see or replicate.

    • If you need help with an issue, post a link and screenshot showing it.
    • If you think you have found a bug in the plugin please log it on GitHub
    • If you have a solution you would like to contribute (thank you!) then please create a pull request on GitHub
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘*ShortCode Breaks my Footer*’ is closed to new replies.