Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #939235

    Hi,

    I use WP 4.9.5 with Enfold 4.2.6 with child theme.
    I load these custom functions:

    
    // Load custom portfolio.php with ability to use shortcodes in excerpt
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    	$template_url = get_stylesheet_directory();
        	array_unshift($paths, $template_url.'/shortcodes/');
    
    	return $paths;
    }
    
    // Allow Portfolio nav to show over full width sliders
    add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1);
    function avia_remove_fullwidth_slider_check($settings)
    {
    $settings['is_fullwidth'] = false;
    return $settings;
    }
    
    // Keep Portfolio nav inside current category
    add_filter('avia_post_nav_categories', 'use_same_category_filter');
    function use_same_category_filter($same_category)
    {
    $same_category = true;
    return $same_category;
    }

    When I enable the enfold theme this works fine (so its not because of any plugins or the custom functions) but when I load enfold child it does not show the next/previous. Also with my custom portfolio.php disabled.

    Could you please help?
    Logindetails in private content

    • This topic was modified 6 years, 8 months ago by mikehenze.
    #939646

    Hey mikehenze,

    Best regards,
    Victoria

    #939715

    /enfold-child/shortcodes/portfolio.php shows my customization (shortcode buttons in portfolio grid)/
    /enfold-child/shortcodes/portfolio/portfolio.php also shows the customization.

    So the portfolio.php is loaded.
    But the portfolio nav is NOT loaded.
    Also if I just delete portfolio.php

    #939773

    Hi,

    Best regards,
    Victoria

    #939778

    Did not know this setting at all ..
    Thanks for clarifing.

    #939816

    Hi mikehenze,

    So does it resolve your issues or do you need more help?

    Best regards,
    Victoria

    #939819

    Solved. Thanks

    #940232

    Hi mikehenze,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.