11whyohwhy15
Forum Replies Created
-
Forum: Plugins
In reply to: [jQuery Pin It Button for Images] Pin It Hover not showingRenabled – hopefully you’ll get to it today !
Thanks
Forum: Plugins
In reply to: [jQuery Pin It Button for Images] Pin It Hover not showingIs there actually ANY support for this plugin ???????
It’s been over a week and nothing !!
Disappointing
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHi again,
Just a quick question, I also have installed in my plugins Akismet, loginizer and Better WordPress reCAPTCHA, is that OK or a little bit ‘overkill’ do you feel ?
Thanks again ??
Ian
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHI,
I added the snippet again minus the extra “}” so it reads:
<?php
/**************************************
CHILD THEME ENQUEUE STYLES
***************************************/add_action( ‘wp_enqueue_scripts’, ‘child_theme_enqueue_styles’ );
if (!function_exists(“child_theme_enqueue_styles”)) { function child_theme_enqueue_styles() {
wp_enqueue_style( ‘canon-parent-style’, get_template_directory_uri() . ‘/style.css’, array(‘canon-normalize’) );
}
}/**************************************
IP Geo Block Snippet
***************************************/
if (class_exists(‘IP_Geo_Block’)) {function my_bypass_admins( $queries ) {
$whitelist = array(
‘handle_canon_options_advanced’,
);
return array_merge( $queries, $whitelist );
}
add_filter( ‘ip-geo-block-bypass-admins’, ‘my_bypass_admins’ );
}Exactly 26 lines and it works perfectly!
Brilliant!
Thank you so much !
Ian
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHey,
Deleted changed functions.php and uploaded old one as couldn’t access site ??
Ian
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHi,
I’m having an error when I try to save function.php in the child theme:
Parse error: syntax error, unexpected ‘}’ in /home/theweb/public_html/wp-content/themes/belle-child/functions.php on line 28
<?php
/**************************************
CHILD THEME ENQUEUE STYLES
***************************************/add_action( ‘wp_enqueue_scripts’, ‘child_theme_enqueue_styles’ );
if (!function_exists(“child_theme_enqueue_styles”)) { function child_theme_enqueue_styles() {
wp_enqueue_style( ‘canon-parent-style’, get_template_directory_uri() . ‘/style.css’, array(‘canon-normalize’) );}
}/**************************************
IP Geo Block Snippet
***************************************/
if (class_exists(‘IP_Geo_Block’)) {function my_bypass_admins( $queries ) {
$whitelist = array(
‘handle_canon_options_advanced’,
);
return array_merge( $queries, $whitelist );
}
add_filter( ‘ip-geo-block-bypass-admins’, ‘my_bypass_admins’ );
}Thanks
Ian
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHi,
Thanks for taking the time to explain this for me.
The ‘instagram authorization’ is at the very bottom of the advanced settings in my theme settings and allows my site to interact with instagram, so I can link to posts etc. on my instagram page and have them show up in slider revolution carousel for example.
One last thing. Below is my functions file, have I correctly pasted the snippet in ? I left the 2 brackets at the very bottom rather than paste in after them ?
<?php
/**************************************
CHILD THEME ENQUEUE STYLES
***************************************/add_action( ‘wp_enqueue_scripts’, ‘child_theme_enqueue_styles’ );
if (!function_exists(“child_theme_enqueue_styles”)) { function child_theme_enqueue_styles() {
wp_enqueue_style( ‘canon-parent-style’, get_template_directory_uri() . ‘/style.css’, array(‘canon-normalize’) );/**************************************
IP Geo Block Snippet
***************************************/function my_bypass_admins( $queries ) {
$whitelist = array(
‘handle_canon_options_advanced’,
);
return $queries + $whitelist;
}
add_filter( ‘ip-geo-block-bypass-admins’, ‘my_bypass_admins’ );
}}Thanks
Ian
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHI,
After much experimentation it seems the problem is when I set ‘Prevent Zero-day Exploit’ in Admin Area it stops ‘Instagram Authorization’. Will it matter if I leave that unchecked or is there another workaround somewhere ?
I added 78.150.119.143 to ‘whitelist area’ but that didn’t do anything for this problem.
Thanks
Ian
Forum: Plugins
In reply to: [IP Geo Block] Instagram AuthorizationHI,
For the ‘Instagram Authorization’ I get this response in logs:
2016-05-28 08:21:10 78.150.119.143 GB wp-zep GET[80]:/wp-admin/admin.php?page=handle_canon_options_advanced&code
The wp-admin part is the ‘Redirect URI’ of ‘Instagram Authorization’ and it keeps getting wp-zep ? whatever that means ?
Everything else was Passed…
If I look at my stats. page it says that IPv4 was blocked x times and I have x calls to API cache ?
I have everything in ‘Validate Target Settings’ set to ‘block by country’, ‘Prevent Zero-day Exploit’ and ‘Force to load WP core’
Is that any help?
Thanks
Ian