Hello, i have created a static page in visual composer and selected filter “all categories” for it, and it worked for a month. But after the last theme update, one category (event) don’t appear in the static page (block 1). It’s a real problem, because is the category most important for the site. I read topics on this forum but i don’t have find a solution good for me. Do you have a suggestion? I also know the code to insert, but what is the right php page where i can add it? I post the code
query_posts( array(
‘post_type’=> array(‘post’, ‘tribe_events’),
‘paged’ => $paged,
‘cat’ => $category,
‘posts_per_page’ => $post_number
));
thank you very much for any suggestion
Hi,
We are not aware of any categories to go missing from the homepage after the update. Please make sure you have not changed anything else or installed a plugin between the time this worked and the time it stopped working. Please make sure you use the latest version of visual composer (4.11.2) and then deactivate all plugins except visual composer, clear cache and reset cdn files to rule out a plugin conflict. Maybe your events plugin is not compatible with the new version of visual composer.
I’m not sure where you got the code you showed but if it’s the plugin implementation instructions, then you need to follow their advice and add it where the plugin specifies it. We cannot help in this matter as we cannot offer support for plugin implementation.
Thank you!
Thanks for your reply. It’s sound strange for me too. The only change between the time this worked and the time it stopped working is that i bought one licence of visual composer, for to avoid the update problems. If i want to see the codes of block 1, where i do look?
Hi,
Maybe the version of visual composer you are using is not fully compatible with the theme. Please try to remove your version of VC (deactivate and delete files) and install it from here: http://screencast.com/t/wk0ibQNTw
Make sure you have the latest version of the theme though. If you want to see the code used for block 1, there are multiple places to look. there is this file: http://screencast.com/t/87T5NqA3IuG but this is an extended class of http://screencast.com/t/ghZxSrI3jWp
If you want to target the modules themselves (a block uses one or more modules to display posts), you will have to search for these files for block 1: http://screencast.com/t/gpsSd8vt
Thank you!