After creating the child theme for Neo, add the following code in the child theme’s functions.php file:
/**
* Hook the slider to be displayed
*/
function gmneochild_display_slider(){
global $gmneo_settings;
if ( ! $gmneo_settings['slider_disable'] && is_home() && ! is_front_page() ) gmneo_slider();
}
add_action( 'gmneo_main_top', 'gmneochild_display_slider' );
I added the child theme (of Graphene Mobile Neo,) and I added the code to the child theme’s functions.php.
However, the slider still does not appear in my mobile blog page, for some reason.
Do I need to do anything specific in the Graphene Mobile Neo settings?
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Account
Search Forums
Priority Support
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.