Tagged: child theme, portfolio navigation
-
AuthorPosts
-
April 9, 2018 at 2:27 pm #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.
April 10, 2018 at 7:39 am #939646Hey mikehenze,
Best regards,
VictoriaApril 10, 2018 at 8:55 am #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.phpApril 10, 2018 at 11:06 am #939773Hi,
Best regards,
VictoriaApril 10, 2018 at 11:12 am #939778Did not know this setting at all ..
Thanks for clarifing.April 10, 2018 at 12:01 pm #939816Hi mikehenze,
So does it resolve your issues or do you need more help?
Best regards,
VictoriaApril 10, 2018 at 12:02 pm #939819Solved. Thanks
April 11, 2018 at 7:15 am #940232Hi mikehenze,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.