Forum Replies Created
-
Thanks, Syahir.
Simple when you know how – I have come across the different behaviours for css with background/background color before, but would not have thought here.
Perfect. Thank you.
The homepage is fine explorekohchang.com.
The first page where i change the text and the subsequent others where I apply the conditional, explorekohchang.com/the-koh-chang-archipelago/koh-chang/ have the symbols missing.
This seems to only be in non-supported browsers.
Many thanks.
Many thanks for this
Just starting to implement it now, it looks like it is working perfectly. Thank you.
One weird thing, however, that I have noticed:-
It stops the graphics-based fallback for icon fonts usage for non-supported browsers (e.g. IE9 Mobile and older) from appearing. This is only on the toggle text bar and not on the select menu AND it only happens on the pages where I apply the conditional function. So on the homepage where I am using options selected as per the gmneo general and colors, the icon is there (arrow and 3 bars). Weird.
This is the code I am using and this will increase.
<?php
/**
* Customise toggle bar text per different areas of site
*/
function my_custom_toggle_bar_text(){
global $gmneo_settings;
if ( is_page( '68' ) ) { // Your conditional here to target specific areas in your site
$gmneo_settings['slide_panel_bar_text'] = 'Koh Chang';
}
if ( is_page(array('3520','196','713','3526','691','693','496','363','3447','6111',)) ) { // Your conditional here to target specific areas in your site
$gmneo_settings['slide_panel_bar_text'] = 'Explore (Koh Chang)';
}
if ( is_page(array('3523','3435')) ) { // Your conditional here to target specific areas in your site
$gmneo_settings['slide_panel_bar_text'] = 'Sleep (Koh Chang)';
}
}
add_action( 'template_redirect', 'my_custom_toggle_bar_text' );
?>Thanks
As far as I can see, no. 480 x 800 does seem the largest resolution in this Windows bracket.
Sorry that once again IE rears its backwards compatibility head.
Many thanks for this.
Will start to play around with it and if I may, come back to the forum with any further questions
In reply to: Redirected to homepage after clicking on menu items
September 2, 2013 at 4:18 pm #40123Presumably, the theme-set-up file will get updated then?
So shall I leave as is with the changed one or go back to the original until the update.
In reply to: Redirected to homepage after clicking on menu items
September 2, 2013 at 4:16 pm #40122Thanks for this and the lines/code heads up. I do actually use notepad++ but all is now exactly as you say.
Have edited the file, no more parse errors as per my earlier post and will start testing.
Many thanks.
In reply to: Redirected to homepage after clicking on menu items
September 2, 2013 at 1:03 pm #40119Sorry, it comes back with the following error:-
Parse error: syntax error, unexpected T_VARIABLE in …./wp-content/themes/graphene-mobile-neo/includes/theme-setup.php on line 1
Corrected on replacing the original theme-set-up file.
Thanks.
In reply to: Redirected to homepage after clicking on menu items
September 2, 2013 at 12:43 pm #40118Many thanks for your prompt reply to this issue.
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.
Presuming the above is correct, I have put that into practice and will report back.
Thanks again
In reply to: Redirected to homepage after clicking on menu items
September 1, 2013 at 5:46 pm #40116This is quite interesting as it is a problem I am also encountering.
I have moved from smart to smart pro to wordpress mobile and back again to see whether the problem exists in the switcher.
I am using the plugins control in neo options
Following enabled:
Bulletproof security
Contact Form 7
Custom sidebars
Dynamic widgets
maxbuttons
mobile smart
nextgen gallery 2.0
SEO ultimate
Wp Supercache
wp wunderground
Following disabled
backwpup
currency converter
google xml sitemaps
insert php
jjnextgen jquery slider
executable php widget
ultimate coming soon page
I am creating the mobile site at the moment so updating pages frequently, using the switcher to test and so forth, disabling the switcher overnight so the site is accessible to mobile users as desktop.
I gave up completely with the switch to desktop function as this simple corrupted my homepage.
