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

    (@enigmaweb)

    Oh I’ve seen that before in other plugins – it’s not a big thing to fix, but something I will need to fix up in the plugin itself. Thanks for alerting me, I will get this patched up at next release.

    Maeve

    Thread Starter chaoti

    (@chaoti)

    Great news. Thx a lot. ??

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Hi again, took a closer look at this one but in the end we’ve decided not to try to make it possible to include other content above or below the shortcode. Sorry for getting your hopes up before.

    To explain…. This plugin uses it’s own templates to create a series of pages relating to the WP Knowledgebase post type. Everything relating to the knowledgebase is contained within those templates, and called via the shortcode. In other words, the [kbe_knowledebase] shortcode will get only the content in KBE templates. Hence why content above or below that shortcode is not called reliably on other pages of the knowledgebase. It would be possible (theoretically) to adjust that, but honestly I just don’t feel the time on working that out is justified as it would be so rare for a user to want to do that.

    As an alternative, you can customise your templates with whatever content you wanted to show. That’s a much quicker and easier solution and will work perfectly in the existing plugin. More info on that in the FAQs.

    Hope that helps explain.

    Thread Starter chaoti

    (@chaoti)

    Hi Maeve,

    I only want to give users a short introduction in using the knowledgebase. It’s crazy to see such thing on the bottom of the site.

    By the time a helped myself by using a ::before pseudo-element. It works, but only for people who can see. The blind ones can’t hear it with their readers, because pseudo-elements are not included in the source code.

    One custom introduction line before knowledgebase-content would help a lot. ??

    Sorry for my late answer.

    Regards.

    I’m with chaoti here.

    I need to put something at the top of the KB telling users about some other resources they can use (forum, contact, video tutorials) and you’re basically telling me that “too rare to do” which doesn’t seem right.

    Can you please consider adding a feature to put some “intro text (with HTML)” above the KB in your settings if you won’t support this (common) feature?

    I have a plugin that handles massive output via shortcode with templates, just like yours, and people can prefix or postfix their content on those pages, no problem. This isn’t a technical limit on WordPress by any stretch.

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Sure, I’ll consider it again now that there’s 3 of you requesting it…
    I guess perhaps more what I was trying to say is that this feature is not a priority for us at this time. However we do always welcome contributions from other developers. You can create a pull request over on GitHub: https://github.com/EnigmaWeb/wp-knowledgebase

    Hope this clarifies.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No text above short code possible?’ is closed to new replies.