Jason Chong
Forum Replies Created
-
Hi
I have contacted you directly.
Thanks for the responseForum: Plugins
In reply to: [Simple Side Tab] Different outputsOK I seem to have got it working
In this section
// fetch individual values from the plugin option variable array
I commented out (replaced)
$rum_sst_tab_url $rum_sst_plugin_option_array[ ‘tab_url’ ];
with
if ($_SERVER[‘REQUEST_URI’] == ‘/chinese-medicine-acupuncture-brunswick/’) {
$rum_sst_tab_url = ‘https://www.dantianhealth.com.au/chinese-medicine-acupuncture-brunswick/#book-brunswick’;
} elseif ($_SERVER[‘REQUEST_URI’] == ‘/chinese-medicine-and-acupuncture-yarrambat/’) {
$rum_sst_tab_url = ‘https://www.dantianhealth.com.au/chinese-medicine-and-acupuncture-yarrambat/#book-yarrambat’;
} else {
$rum_sst_tab_url = $rum_sst_plugin_option_array[ ‘tab_url’ ];
};
To allow those specific individual pages to link separately.
I’m posting my solution here in the hope it helps someone elseForum: Plugins
In reply to: [Simple Side Tab] Different outputsIn what form does $rum_current_page_url return the url? I am just getting all pages divert to the first option if I activate the code as written previously. Would that be the expected output from $rum_current_page_url?
Forum: Plugins
In reply to: [Simple Side Tab] Different outputsHi thanks
I tried replacing
$rum_sst_tab_url = $rum_sst_plugin_option_array[ ‘tab_url’ ];
with
if ($rum_current_page_url = “https://www.dantianhealth.com.au/chinese-medicine-acupuncture-brunswick”) {
$rum_sst_tab_url = “https://www.dantianhealth.com.au/chinese-medicine-acupuncture-brunswick/#book-brunswick”;
} else {
$rum_sst_tab_url = $rum_sst_plugin_option_array[ ‘tab_url’ ];
};
which seemed to work on my phone but not on laptop for some reason!
I’ll probably just let go of it for now, appreciated you respondingForum: Plugins
In reply to: [Cache Enabler] Bypass Cache Enabler for xml sitemapsCan you please clarify for me exactly what I need to write and where to exclude the sitemaps. Thanks!
Forum: Themes and Templates
In reply to: [Flat] 1.5.7 broke wordpressAs an update, my hosting company migrated my site to a new server with PHP 5.4.23. I reverted the functions.php file and the issue no longer existed. It seems that this arises with certain (possibly older?) versions of PHP.
Thanks for the help in identifying the issue and providing workaround solutions everyone!Forum: Themes and Templates
In reply to: [Flat] 1.5.7 broke wordpress@luigivieira your solution appears to have fixed the problem for now, thanks for that
@stephenconttontail my php version is 5.2.13Forum: Themes and Templates
In reply to: [Flat] 1.5.7 broke wordpressHi thanhlt
I enabled debug and reactivated the theme. Same issue arose but with this message:
Parse error: syntax error, unexpected T_FUNCTION in D:\sites\dantianhealth\dantianhealth.com.au\home\blog\wp-content\themes\flat\functions.php on line 63
I have reenabled a working theme as I need to keep my website liveForum: Themes and Templates
In reply to: [Flat] 1.5.7 broke wordpressI’m using the latest WordPress 4.1.1