Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Redirected to homepage after clicking on menu items

    #40125

    The latest update, GM Neo 1.5.4 has been released which includes the fix mentioned above.

    Admin

    In reply to: Allow 3 adsense ads of different sizes, switch on and off

    #40194

    The problem with ads is that there’s no way we can know where and what kind of ads poeple would use – to cover them all is just inefficient and more trouble than it’s worth. However, the theme does provide quite significant leeway on where you want to place custom content – ads included – via the Action Hooks Widget Areas feature.

    If you haven’t already used it, you should really check it out: http://docs.graphene-theme.com/Action_Hooks_Widget_Areas

    Admin

    In reply to: Adsense 728×15 links bar below header

    #40190

    Use the theme’s Action Hook Widget Areas feature: http://docs.graphene-theme.com/Action_Hooks_Widget_Areas

    Admin

    In reply to: Redirected to homepage after clicking on menu items

    #40124

    The changed code I provided a few posts back doesn’t fix the issue either. Because of performance reasons, the redirect after deactivating plugins occur as early as possible, that the $wp global variable hasn’t even been set yet.

    In the next update, we’ll change the method of getting the current page URL based on the $_SERVER variable, which doesn’t rely on WordPress.

    Admin

    In reply to: Redirected to homepage after clicking on menu items

    #40121

    Just an update: we’ve identified the source of the issue and will fix it in the next update.

    Admin

    In reply to: Redirected to homepage after clicking on menu items

    #40120
    Quote:
    It’s the lines at the end of the of the file? As for me, this was at line 405 when opened in notepad, not 203.

    There is only a total of 207 lines in the includes/theme-setup.php file. Line count does not include text that is wrapped. It would be difficult to tell the line numbers if your text editor doesn’t display them, and Notepad doesn’t.

    It is at the end of the file though, in a block of code like this:

    if ( $reload_wp ) {
    global $wp;
    $current_url = home_url( add_query_arg( array(), $wp->request ) );
    wp_redirect( $current_url );
    exit();
    }
    Admin

    In reply to: Using the Export/Import Theme Options

    #40199

    This is a known issue, with the fix to be included in the next update. See this post for a quick fix:

    https://forum.graphene-theme.com/bug-report/broken-importexport-theme-options-in-191#post-36582

    Admin

    In reply to: Unnecessary P tags in the theme?

    #40196

    What form plugin, and on which page on your site is the form displayed?

    Admin

    In reply to: Slide Panel

    #39096

    You can achieve this cleanly by using a (pseudo-)child theme for Neo. In child theme’s functions.php file:

    function my_selective_slide_panel_disable(){
    if ( ! is_home() ) {
    global $gmneo_settings;
    $gmneo_settings['slide_panel_enable'] = false;
    }
    }
    add_action( 'template_redirect', 'my_selective_slide_panel_disable' );
    Admin

    In reply to: Redirected to homepage after clicking on menu items

    #40117

    Try replacing line 203 of the theme’s `includes/theme-setup.php’ from this line:

    $current_url = add_query_arg( $wp->query_string, '', home_url( $wp->request ) );

    to this line:

    $current_url = home_url( add_query_arg( array(), $wp->request ) );

    Let me know if that helps.

Viewing 10 posts - 1,591 through 1,600 (of 6,030 total)