Add content after post items (after related articles)

Posted in: Newspaper
Post count: 4

How do i add content after post items – after related articles? I want to add a block. http://www.christiantruthcenter.com/kingdom-of-darkness-cannot-cast-out-demons/

Post count: 20688

Hi,

There is no option to add blocks in the post content. However, you can try to use a do_shortcode to insert it
https://www.screencast.com/t/MvdKju9Y58
You must edit the corresponding file to the post template that you are using. For example post template 2, you need to edit loop-single-2.php and insert the block you want in the post structure (below the related article section if that is what you want). Please note that this may not work properly, and cause unexpected results since blocks were not meant to be used in posts. You can try this solution and see if you can manage this, maybe with additional modifications.
This is the code used in the example

<?php echo do_shortcode ('[td_block_1]'); ?>

Thanks

Post count: 4

can i add a widget instead so that i can place the table inside the widget and how?

Post count: 20688

Hi,

Please provide more details about what exactly you are trying to achieve with the post, so I can try to give you a solution. I do not understand what table you want to insert in the post content. I suggested how you can add a block for example in the post content, in the previous reply. If you have a widget that you need to insert and it has a code that you must enter, try entering in the post template files, as shown in the screenshot.

Thanks

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