Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Shortcodes Not Working in Advanced Layout Editor #1338521

    The shortcode is working (but not rendering properly within the page container) when using the default editor. When using the advanced layout editor, the shortcode is not working at all.

    in reply to: Shortcodes Not Working in Advanced Layout Editor #1338309

    Hi Rikard,
    I understand your reluctance to investigate a relatively unpopular plugin. Would you be able to give me general information about using plugin shortcodes? Are they supported at all in the advanced layout editor? Are there other plugins with shortcodes that are known to work with the advanced layout editor so I could see a working example?
    Thank you.

    in reply to: Shortcodes Not Working in Advanced Layout Editor #1337803

    Hi Rikard,

    Thank you for the response. Unfortunately the site is within our internal network and is not available publicly. However I can give you steps to reproduce (and can provide additional info if you need).

    Wordpress 5.8.3
    WP Knowledgebase Plugin Version 1.3.4 (free version) located here https://wordpress.org/plugins/wp-knowledgebase/
    Enfold Theme Version 4.8.8.1 (no child theme)
    Import the business flat demo

    Create three pages
    KB_test_1 – Switch to the default editor. Enter some page content, just a line or two of text. My result: the text appears in the standard page template as expected, with a white background and appropriate padding between the page content and the window border/header/footer.

    KB_test_2 – Switch to the default editor. Use the shortcode block. Enter the knowlegebase plugin shortcode. Find the shortcode in Admin Panel -> Knowledgebase -> Settings -> General Settings -> Knowledgebase Slug. My slug is ‘knowledgebase’ so I entered [knowledgebase] in the shortcode block. Publush the page, and the shortcode will appear as text. Then go back to Admin Panel -> Knowledgebase -> Settings -> General Settings. Set the knowledgebase main page to KB_test_2. Also set Enable Search to true in the Knowledgebase Search section. Save changes. Refresh the page. My result: the knowledgebase page appears, with search at the top and categories of articles showing. However, rather than standard page styling, the page content is completely up against the header and the left side of the page, and the background color is set to a dark blue (but not the same as the header as I originally believed). See the linked screenshot for more detail.
    KB-issue

    KB_test_3 – Switch to the advanced layout editor. Add content elements – code block. The instructions for this block specifically state you can use plugin shortcodes here. Add the shortcode the same as from the previous step. Leave all other settings as their defaults. Save and publish the page. The shortcode will display as text. Now go to Admin Panel -> Knowledgebase -> Settings -> General Settings. Set the knowledgebase main page to KB_test_3 and save. Reload KB_test_3. My result: shortcode continues to be displayed as text and does not render.

    I have another site that uses a different theme where using the shortcode renders the plugin content inside of the page container – that’s my desired behavior. If for some reason you are unable to replicate the issue, any information you can give me about using plugin shortcodes with enfold would be helpful.

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)