Support » Plugin: Spectra - WordPress Gutenberg Blocks » How to make it works to add infobox (or any other ) programmatically to post

  • Resolved karakaa

    (@karakaa)


    Hi

    I would like to add to content of post some block based on PHP code. Before blocks i was able to use hook event for ‘the_content’ and in my filter add proper post content to be visible in post finally.

    Now when I am adding infobox it seems that content is there but css are not loading when post content originally (taken from DB) doeas not contain any Ultimate block (for example plain text only)
    Seem that there is a missing css include. Can you help here to show how to do it properly so all needed css will be attached to wordpress page.

    • This topic was modified 3 years, 6 months ago by karakaa.
Viewing 1 replies (of 1 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey,

    Thank you for reaching us out.

    Gutenberg does not allow that. Using Blocks programmatically. You might want to parse them using Gutenberg native functions. But again the stylesheets won’t be accessible. I would like to know more about your requirements and help you better with some solution. Do you mind opening up a request here – https://www.ultimategutenberg.com/support/

    I hope this helps.

    Regards,
    Vrunda Kansara

Viewing 1 replies (of 1 total)
  • The topic ‘How to make it works to add infobox (or any other ) programmatically to post’ is closed to new replies.