is it possible to insert a Flex Block or a Block between 2 paragraphs in a post?

Posted in: Newspaper
Post count: 31

Hello again

Is it possible to insert a Block or Flex Block between 2 paragraphs of a post?
When I write a post all the text is in a single block. Therefore a Flex Block can be inserted at the beginning or at the end, but not between paragraphs.

Thank you for your help.

Eduardo

Post count: 35449

Hi,
Yes, this can be done, here is an example what you need to do:

The Newspaper theme allows you to include flex blocks inside your post content using a single post template.

Simply click on the single post content element and click on the Ads tab. Here, you are able to add the code for the flex block to be display inside the post content. An example code to add flex block with a random post can be get from here.

Example : Flex block with a random post. The sample  code added in the field for the article inline ad 1.

To make your own inline blocks, create a new page and set the flex block that you want to use, after you edit it just copy the shortcode for the flex block from the page and set it like in above example.

The code is the one set between the “vc_column” and “/vc_column” shortcodes

I hope this will help you!

Post count: 31

Hello Calin

Thank you for your help again.
The solution works perfect.

Have a nice weekend

Eduardo

Post count: 1

Hi I have created the block as you indicate but I don’t know how to go to the editor mode to get the short code.

Post count: 35449

Hi merolico, you’ll need to click on edit page https://i.imgur.com/JbxGFOv.png (also, from the backend -> https://i.imgur.com/IKDqhsU.png).
I hope this will help you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.