VC Block and Post ID

Posted in: Newspaper
Post count: 3

Hi, I was trying to use a vc block but want to specify which posts by post ID. I decided to use “display post shortcode” plugin and the shortcode allows me to specify post by ID#, but I am not able to make the shortcode output style look similar to that of the posts in VC block 11 (which also has title, author, date and excerpt). Do you recommend trying to use VC block 11 code which was used for the block and add this to add to admin custom style.css? Would that work or is there a way to use “display-post id” shortcode with the Block 11 to specify post id. The shortcode example for the plugin is [display-posts id=”845” include_date=”true” date_format=”F j, Y” include_excerpt=”true” wrapper=”div”]. I am somewhat novice wp user so maybe there is an easier way than this. I look forward to any help you can provide. Thank you!

Post count: 22421

Hello,
Unfortunately we have not tested this plugin and cannot say for sure if it will work with our blocks. We have no idea of the plugin functionality so we cannot make a suggestion on how to use it best with our theme. Unfortunately we are a small team and time does not allow us to test plugins on a daily basis. However, we are currently working on this exact feature and in the next update (which will come out in the near future) we will implement sorting posts by ID.
Thank you!

Post count: 3

Thank you for your fast response! Please consider adding the functionality of selecting specific posts (by listing post IDs) from within the post vc blocks settings or by adding a shortcode. I see that selecting for specific slugs or category ID’s can be done. However, I need to build a page like http://www.newyorker.com/magazine every month which lists selected posts. Sorting post (like A-Z, or last 7, or ID #) will not solve the problem as these will continuously change from day to day. Unfortunately the display_post plugin I found (which was free) is not supported but it does work to show individual post by ID in the shortcode. It is one file and I would be willing to share the file if helpful. Your help is greatly appreciated!

Post count: 22421

Hello,
At the moment you can sort your posts by tag as you said. You will have to wait a bit so the update can be published and the sorting option to be available. We do not have an exact date of release but it will be as soon as possible.
Thank you for your understanding.

Post count: 3

Ok, thanks for the quick reply!

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