Close

Account

Documentation

Forum

Menu

Reply To: Insert inline posts in article

Post count: 3
ybogdanov
October 13, 2018 at 11:41 pm #38200

So I created a shortcode which looks like this:

[vc_row][vc_column][jnews_block_3 compatible_column_notice=”” number_post=”6″ post_offset=”1″ include_category=”17″ excerpt_length=”20″ first_title=”Випуску” second_title=”Статті”][/jnews_block_3][/vc_column][/vc_row]

Is there a way I could change include_category=”17″ in the code to just CURRENT category (which current post belongs to)? So I don’t need to always check the category’s ID to display the posts from this category.

P.S. I can’t use 1st method because each time I need to embed this inline posts in different places in the text.