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
In reply to: Redirected to homepage after clicking on menu items
September 4, 2013 at 4:17 am #40125The 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
September 3, 2013 at 4:18 am #40194The 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
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
September 3, 2013 at 4:14 am #40124The 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
September 2, 2013 at 4:12 pm #40121Just 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
September 2, 2013 at 3:30 pm #40120Quote: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.phpfile. 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
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
What form plugin, and on which page on your site is the form displayed?
Admin
You can achieve this cleanly by using a (pseudo-)child theme for Neo. In child theme’s
functions.phpfile: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
September 2, 2013 at 2:38 am #40117Try 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.
