[Support request] Shortcode not working in hooks

Home Forums Support [Support request] Shortcode not working in hooks

Home Forums Support Shortcode not working in hooks

  • This topic has 5 replies, 3 voices, and was last updated 4 years ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1244643
    Ryazan

    Hi! I’m new to Generatepress and I wonder if you can help me troubleshoot this.
    I’m trying to put a shortcode – [rank_math_breadcrumb] as a hook. I have followed all the instructions on the settings. However, every time I will save the code, it won’t stick to it will disappear.

    #1244672
    Leo
    Staff
    Customer Support

    Hi there,

    What do you mean it will disappear?

    Like the content in hooks disappears after you hit Save?

    #1244674
    Ryazan

    Yes, that’s right. As if I did not put anything in the Elements coding box.

    #1244823
    Tom
    Lead Developer
    Lead Developer

    That’s strange – what if you add some normal text, does it save?

    #1245489
    Ryazan

    Yes, as well as the other HTML code e.g. <center></center> etc. but for some reason the shortcode [rank_math_breadcrumb] disappear. I ended up using the PHP code instead and that one stayed ok.

    #1245919
    Leo
    Staff
    Customer Support

    That’s super strange.

    You could try disabling all plugins except GP Premium and RankMath to eliminate any conflicts if you want to dig further.

    PHP code works as well 🙂

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