[Support request] Shortcode breaks page

Home Forums Support [Support request] Shortcode breaks page

Home Forums Support Shortcode breaks page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #2392299


    On older pages on my website where i’ve used shortcodes the content breaks. Only the portion of the content above the placed shortcode is displayed.

    Here is an example – https://www.avidpup.com/best-dog-food-for-goldendoodles/

    Om that page there is supposed to be an informational piece of content below the list of the foods. It is seperated by a shortcode that contains a so called hint that places an ad there.

    When i remove that shortcode the content underneath it gets displayed again.

    Like i said its only on older posts so i suspect something has changed during an update of either generatepress or a plugin i use for the shortcodes which is called Shortcoder.

    I create my shortcodes in Shortcoder and place them inside the content inside the shortcode element from Generatepress, which always worked but now somehow stopped working on older posts.

    Any idea?


    Customer Support

    Hi there,

    the Theme itself has no control over the post content, aside from the CSS styles that may be applied.
    So our updates should not have affected that.

    Couple of questions;

    can i see a post where the Shortcode is working correctly?

    what code do you use to create the shortcode ? Can you share that ?


    Hey David,

    I think i found the issue. The old shortcodes i used (shortcode blocks from Generatepress) mysterious;y turned into to paragraph blocks which are somehow blocking all content underneath it from displaying

    So i have this code from Mediavine to place ads in spots to my likings.

    This is that code – div class=”content_mobile_hint”></div

    I place that code inside a plugin called Shortcoder – https://wordpress.org/plugins/shortcoder/

    The code i use inside the shortcode blocks from Generatepress to trigger the above code inside shortcoder – [sc name=”mobile-only-mediavine-hint”][/sc]

    Any idea why the Generatepress shortcode blocks (not the Generateblocks one) turned into paragraph blocks?


    Customer Support

    The old shortcodes i used (shortcode blocks from Generatepress)

    Not sure if I fully understand – GP doesn’t have any shortcode blocks.

    Are you referring to the shortcode block from WP core?

    If so GP (or any themes) has no control over that.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.