This topic has 6 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Hi there,
Sorry if this is a double up! I tried posting but can’t see it in support issues 🙁
When I click on the a category link under individual portfolio items on the projects page I get the following fatal error:
Fatal error: Call to undefined function woocommerce_get_template() in /home/netsolho/public_html/arc/wp-content/themes/woopress/taxonomy-portfolio_category.php on line 5
Can anyone help with this? my site details are below
Thanks
Hello,
I’ve edited the file wp-content/themes/woopress/taxonomy-portfolio_category.php and replaced all the content with this code:
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
require_once( 'portfolio.php' );
Please check portfolio categories now and clear browser cache before.
Thank you.
Regards,
Eva Kemp.
Thank you so much Eva for such a fast response.
All fixed now!
Just one small question though – how do you make the sticky nav look the same as normal nav. ie: when I scroll down a page and hover on the nav bar, the hover color doesn’t fill the entire menu-item (if that makes sense)
Hello,
I’ve added this code in style.css of your child theme:
.fixed-header .menu > li{
height: 85px;
padding-top: 27px;
}
Please check fixed header menu now.
Thank you.
Regards,
Eva Kemp.
Amazing! Thank you Eva 🙂
Hello,
You’re welcome.
Regards,
Eva Kemp.
Tagged: category, clicked, fatal error, link, portfolio, woocommerce, wordpress
The issue related to '‘Fatal error when portfolio category link clicked’' has been successfully resolved, and the topic is now closed for further responses