This topic has 26 replies, 5 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Our site is based on Portfolio Categories and Subcategories.
Same portfolio can be categorize on a subcategories or in another.
We would like to create a page with Portfolio Category nº1 with their own subcategories (furnitures, for example).
Another page with Category 2 and their own subcategories (collections, for example).
And the third one, Category 3 with their own subcategories (pieces, for example).
We are trying to use the grid option but it does give you the portfolio option and we do not find anything that helps on the visual compose options.
Any idea on how to solve that ?
Thanks
Hello,
In this case you can use Post Grid element via Visual Composer plugin. Select Post Grid Setting and try to add category of your posts into Narrow data source.
Regards,
Robert Hall.
Robert,
I’ve selected the “Post Grid” module but I can not find my PORTFOLIO categories:
Hello,
You need select Custom Query in Posts Grid settings and add this code in the custom query section:
post_type=etheme_portfolio
Thank you.
Regards,
Eva Kemp.
I have already do what you said (Post Grid – Custom Query and I have pasted the code) http://awesomescreenshot.com/0fd4m3lj72
But … I can not filter by category portfolio !
I have 3 main categories: 1-2-3
Those categories has 4 subcategories each one.
I would like to have in one page Category 1 with their own categories, in another page I would like to have Category 2 with their now categories, …
Hope I am clear enough in this message.
Awaiting for your news
Marta
Hello,
We’re sorry for inconveniences, but the issue is caused by Visual Composer update. They deleted portfolio option from Posts Grid element and modified a lot of other elements. They’re going to release a new update where some bugs should be fixed.
Regards,
Eva Kemp.
OK ! Understood
And … when will it be corrected?
And … how can I update the plugin ? What is the code ? Do I have to go premium to get updates ?
Thanks
We post all new updates of the plugins on https://www.8theme.com/download-plugins/ usually not later than 1 day after official release.
With best regards
Brian Johnson
Thanks Brian. I will take care.
😉
Hello,
You’re welcome!
Regards,
Robert Hall.
Robert,
This is the answer from the visual compose team:
“The “portfolio” post type is registered by your theme. So, I want to know as to how this is registered (code). Because the issue is most likely due to the same. It is registered as:
add_action( ‘init’, ‘create_post_type_function_name’);
and needs to be changed to:
add_action( ‘init’, ‘create_post_type_function_name’, 1);
Upon doing the above suggested change, the portfolio will be available in the dropdown to be selected.”
In which fild can I find this code? Where shall I change it?
Thanks !!!
I can not fine the code.
I look for it in function.php, porfolio.php, … Nothing
Do you have any suggestion ?
Still looking for it.
Keep you inform
Marta
Hello,
To display portfolio projects using Posts Grid element you need select “Custom Query” in Posts Grid settings and add this code in the custom query section:
post_type=etheme_portfolio
Thank you.
Regards,
Eva Kemp.
Eva,
I had already tried this.
Post Grid: http://awesomescreenshot.com/0b24npua85
Filter: http://awesomescreenshot.com/0084npv441
My Portfolio Categories are not there
Any other solution ?
Hello,
Unfortunately since a lot of customization has been made in the new VC version, portfolio categories can’t be shown in Posts Grid element.
Please take our apologies.
We’ll try to implement it in future theme update.
Thank you.
Regards,
Eva Kemp.
The visual compose team send me this instructions:
“The “portfolio” post type is registered by your theme. So, I want to know as to how this is registered (code). Because the issue is most likely due to the same. It is registered as:
add_action( ‘init’, ‘create_post_type_function_name’);
and needs to be changed to:
add_action( ‘init’, ‘create_post_type_function_name’, 1);
Upon doing the above suggested change, the portfolio will be available in the dropdown to be selected.”
In which fild can I find this code? Where shall I change it?
I just need to know If you are going to solve this issue soon or if i have to chage the theme for this site.
The thing is that I need this functionality more than other one.
I’m sending below the answer from visual compose team. Could you confirm me that you will solve it and when? I need to go ahead tomorrow with the site.
Thanks !
Regards,
Fecha: 22 de marzo de 2015, 15:19:58 CET
De: WPBakery Support <support@wpbakery.com>
Asunto: Re: [#11861] Grid – Portfolio – Filter
Hi,
I think the option is disabled by the theme author himself. In standalone visual composer, you can select the post type (eg: portfolio) in the data source drop-down and than enter the categories in the “narrow data source” auto-complete field to select the post display. But, looks like the theme author has turned-off this functionality and from his reply it looks like he might implement it in future.
Thank you,
Hello,
Edit woopress/framework/portfolio.php , line 9, find add_action('init', 'etheme_portfolio_init');
and replace by add_action('init', 'etheme_portfolio_init', 1);
We’ll also include this fix in our next update.
Regards,
Olga Barlow
Olga
I have already replace the code in wordpress/framework/portfolio.php into
add_action(‘init’, ‘etheme_portfolio_init’, 1);
Now the Post Grid shows the Portfolio option but … I can not select the category to be shown in the page: http://awesomescreenshot.com/0a54p3v9ed
What else do I have to change to have the Portfolio category 1 (with its categories) in one page, Category 2 (with its categories) in page 2 and so …
Awaiting for your instructions to be able to go ahead
MArta
Hello,
The categories will be shown just after you start typing a name of a category.
Please try it.
Thank you.
Regards,
Eva Kemp.
Eva,
Of course I did it.
But as you can see in the screenshot, just post categories are shown: http://awesomescreenshot.com/0f34pfsz57
Could you please tell me how can I have the option to filter the portfolio categories?
Hello,
Sorry, but we can’t log in to wp-admin panel. Please check the login details.
Also please provide us with FTP credentials.
Thank you.
Regards,
Eva Kemp.
Find the private info to access into the site.
Thanks Eva
Hello,
It was related to WPML settings .
Translation for Portfolio Categories should be activated. Check now, please.
Regards,
Olga Barlow
YESSSSS !!! Thanks a lot !!!!
;D
Marta
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Porfolio filter / Different pages’' has been successfully resolved, and the topic is now closed for further responses