Home › Support › Business Point Plus › Tagcloud for Portfolio Categories
Tagged: business point plus, portfolio, tagcloud, wordpress5
- This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by
nirav.
-
AuthorPosts
-
February 23, 2019 at 2:46 pm #10757
Klaus Bernsau
ParticipantI’m use Business Point Plus Version: 2.1.0 under WordPress 5.0.3 and your PT Theme Addon. I can generate and edit portfolio items. And they were shown on a portfolio page. But the tag cloud widget is not working. It shows the portfolio categories that exist. But when you click on a category for exemple “automobilvermietung” your were led to a page “rooturl”/ptta-portfolio-categories/automobilvermietung/ but the portfolio item is not show but a page with the message “Nothing Found It seems we can’t find what you’re looking for. Perhaps searching can help.” This ist not the regular 404-page ut a special one. Seem there is a mismatch between search and display or there is the view for portfolio-results missing.
Who can help?
March 5, 2019 at 2:56 am #10936nirav
KeymasterHello Klaus,
We apologize for not being able to respond earlier.
Unfortunately, this is a bug of pt theme add-on plugin and we will be resolving it soon in our next update.
We are sorry for the inconvenience you may be facing.In the meantime, if you need to implement this now, you can do this via adding a filter.
Open your theme’s function file and past below code at end of the file.
add_filter('pre_get_posts', 'custom_post_type_tags'); if (!function_exists('custom_post_type_tags')) { function custom_post_type_tags($query) { if(is_tax('ptta-portfolio-categories')) { $post_type = 'ptta-portfolio'; $query->set( 'post_type', array( 'post', $post_type ) ); return $query; } elseif(is_tax('ptta-testimonials-categories')) { $post_type = 'ptta-testimonials'; $query->set( 'post_type', array( 'post', $post_type ) ); return $query; } elseif(is_tax('ptta-team-categories')) { $post_type = 'ptta-team'; $query->set( 'post_type', array( 'post', $post_type ) ); return $query; } } }Thank you
Regards,
Team ProDesigns -
AuthorPosts
- You must be logged in to reply to this topic.