Fatal error when portfolio category link clicked

This topic has 6 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: arc_roofing
    arc_roofing
    Participant
    March 2, 2015 at 01:32

    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

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 2, 2015 at 10:44

    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.

    Avatar: arc_roofing
    arc_roofing
    Participant
    March 2, 2015 at 23:02

    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) nav bar

    Avatar: Eva
    Eva Kemp
    Support staff
    March 3, 2015 at 10:07

    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.

    Avatar: arc_roofing
    arc_roofing
    Participant
    March 3, 2015 at 23:12

    Amazing! Thank you Eva 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    March 4, 2015 at 10:58

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Fatal error when portfolio category link clicked’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.