Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
Can you provide a URL where the error message appears?
Admin
Try adding this to the theme’s Custom CSS option:
.ngg-galleryoverview {
margin-top: 0;
}Admin
In reply to: Posting to specific pages: child theme code and shortcode plugins not working
September 10, 2013 at 2:43 am #40350Try this:
<?php
global $graphene_settings;
get_header();
global $wp_query;
$cat = 23; // This should be the ID of the category to display the posts from
$args = wp_parse_args( array( 'cat' => $cat, 'paged' => get_query_var( 'paged' ) ), $wp_query->query_string );
query_posts( $args );
$wp_query->is_home = true;
get_template_part( 'loop', 'index' );
get_footer();
?>Admin
Marking thread as resolved. You can do this yourself as well.
Admin
Can you provide a link to one of the pages where this is happening?
Admin
Add this to your child theme’s
functions.phpfile:/**
* Disable ads in certain places
*/
function my_disable_ads(){
global $graphene_settings;
if ( is_category() ) {
$graphene_settings['show_adsense'] = false;
}
}
add_action( 'template_redirect', 'my_disable_ads' );Make sure you wrap the code above in PHP’s opening
<?phpand closing?>tags.Admin
Can you check if you have any codes in the theme’s Custom CSS option?
Admin
Hi Udi,
Are you still having the issue with the slide-out panel icon? I’m not sure why that is happening.
Admin
Something like this will work (code goes into GM Neo’s child theme’s
functions.phpfile):/**
* Customise toggle bar text per different areas of site
*/
function my_custom_toggle_bar_text(){
global $gmneo_settings;
if ( is_category( 'bla-bla' ) ) { // Your conditional here to target specific areas in your site
$gmneo_settings['slide_panel_bar_text'] = 'Your custom toggle bar text for this area';
}
}
add_action( 'template_redirect', 'my_custom_toggle_bar_text' );Admin
Sure can, but I wasn’t sure if it has translations since it’s an abbreviated measurement unit instead of a normal word.
