The entire filtering system of VC seems crazy to me…or I’m totally missing something. I really hope it’s the latter. Is there any way to just choose which posts/categories/etc you want in each block? Having to look up every number is just excruciating. I can’t fathom why VC did this…? Is there any plugin that let’s you pick/choose categories/posts without having to manually look up a number?
Also, does anyone know the code to get the post id for custom post types? I’m able to enter a regular post, but that’s it. What does the filter code look like for a custom post type?
I love the NP built in blocks and mods…but they are almost impossible to use. To build a typical homepage would take days with the current VC.
Hi,
Unfortunately if you want to filter a specific post or category, you will require the ID. For categories in the latest version (newspaper 7) you can see the id directly in the multiple categories filter so you do not have to access the category list of wp: http://screencast.com/t/rngXhJOiBbsx but for posts unfortunately, you still have to access the post list and get the number from there and add it to the post id field. Unfortunately there is no plugin that can tie into our code as it’s custom made.
Thank you!
Thanks for the response. What a shame – for a product that produces such beautiful design, the user interface (and amount of work) is just so poorly designed. I can’t imagine why they don’t just offer a drop down of being able to choose multiple categories or posts. And the process of looking up category and post IDs – hovering over a link and memorizing the number to retype it? Seems archaic.
So, two questions:
1) Is there any way to export a file of post names and IDs? At least I’d have something I can copy and paste.
2) How do we use CPTs? For example, I use GeoDirectory and have a lot of Events and Places I need to use in the blocks.
So if I add filter for “10001” – a regular post ID, it works
But if I add filter for “22222” – which is an Event ID, it does not. I’m sure it’s just a code thing where I’m supposed to specify gd_event=22222 or something like that…
Thank you!
Hi,
If you want to get a post list and the id’s, you can use this function: http://codex.wordpress.org/Function_Reference/query_posts
You will require a bit of coding knowledge though.
As for the cpt, you need to add the post type for the block here: http://screencast.com/t/4JN17udai
Hope this helps.
Thank you!
I’ve have looked at no less than 100 different pages on the web – here, WPBakery, Stack Overflow…and NO ONE, ANYWHERE provides instructions on how to filter for a CPT.
So if I add filter for “10001” – a regular post ID, it works
But if I add filter for “103075” – which is an Event ID, it does not. I’m sure it’s just a code thing where I’m supposed to specify gd_event=103075 or something like that…
domain.com/wp-admin/post.php?post=103075&action=edit
domain.com/wp-admin/edit.php?post_type=gd_event#
Exactly how would I filter for THIS post? Which is a CPT. What is the EXACT code to enter into the Post ID field?
Please type it here so I can copy it. Thanks.
This makes no sense to me.
http://codex.wordpress.org/Function_Reference/query_posts
I just want a list of post and category IDs because of how Visual Composer works.
Still pending answer to CPT question…on hold for 3 days now.
But for anyone who has the Post/Category ID issue – Reveal IDs plug is perfect. Allows you to copy/paste ID’s without having to hover over Edit URL’s and memorize and retype.
Hi,
As i have shown in my previous reply, the event must be added in the post type field here: http://screencast.com/t/4JN17udai but for this to work you need the exact post type name given by the plugin.
You said you use geodirectory, but this does not create an event post type but rather ‘places’. We have not tested this p-lugin so i cannot provide a precise solution to your problem. Here is an example of a custom post type filtered in blocks: http://screencast.com/t/kUTOnBfV5i
Please use the same method for your plugin.
Thank you!
Excellent. Finally. Thank you!! Now I can use the blocks.
Sorry another VC question. Let’s say I create an element in VC. Like a Block 1 on two Columns…I add all my filters and get it just right, etc. Now I want to use that same block on another page. Do I save that section as a template?
Hi,
If you plan on using the exact same block on another page, you can simply copy it’s shortcode from classic mode->text mode: http://screencast.com/t/cCo05XT4QHM and paste it inside of the other page (in the same way)
Thank you!
VC is the worst designed, least intuitive product I’ve ever used in the history of web development. And without support or updated documentation or videos I can’t see (they set them not go full screen) it’s impossible to use.
1) How do I filter for multiple post types and/or categories in 1 block? You finally explained how to pull 1 custom post, but I can’t filter for 1 CPT category, a Post and CPT category, or a selection of Posts and CPTs in one block
2) Reusable blocks – I totally don’t understand how to reuse them if I want to update them in one place only. So I create a block, set the filters. Then I want to use said block on multiple pages – but want to update it next month in ONE place only? You’d think TEMPLATES would do this. But you can’t edit a template?????? That’s insane. Is it possible to create “includes” or templates with the blocks that are editable – and centralized?
VC is fairly useless and they offer no current instructions on anything. It’s a shame Newspaper theme depends entirely on such a poor, tedious product. The blocks you’ve designed look great – but I can’t use them.
Hi,
The modules and blocks were created by us on the visual composer layout, and yes it;s pretty limited, but we try to do our best with what we have.
1) You can filter cpt-s in blocks but not taxonimoes. The blocks were designed to work with the standard category taxonomyu and not a custom taxonomy. You can either filter all the CPT type like for example an event or a place, but not it;s category.
You can have multiple cpt’s in one block at the same time by adding more post types with a comme like: post, event, palce, etc…and selecting multiple ‘posts’ If you keet the post id filter empty, all of the posts from the CPT’s you filtered will be grabbed in the block sorted by your selected sorting method. latest, random, oldest, etc. If you want specific posts, you can add multiple id’s in the post id filter ex: 45, 48, 245, 56, 675, etc.
2) Unfortunately the blocks are not centralized. You cannot edit them in one place and affect all the other blocks. Pages do not work that way. posts or categories do, but not pages that use visual composer.
Sorry for the inconvenience and thank you for your understanding.
Thanks for all the help. I wish the blocks were useful but they are so difficult to use. Too bad, it’s why I bought the NP theme. It’s still a nice theme, but without the blocks, not as much.
I still can’t fathom how they could design something so nice without a nice user interface. They could at least work with menus…that way I could pick and choose all my posts/categories via the menu interface and just have the blocks show what’s in the menus.
Oh well.