Could you try to add the following code in your theme’s functions.php file, or in a functionality plugin?
function jeherve_test_jp_mini_ads_options() {
$options = get_option( 'jp_mini_ads_strings' );
print_r( $options );
}
add_action( 'wp_footer', 'jeherve_test_jp_mini_ads_options' );
Once you’ve done so, check the footer of your site, and copy the code that appears there. You can then remove the code above.
Could you then paste the code in a reply to this thread?
Thanks!
Hi,
Here is the code:
Array ( [before_content] => 1 [show] => 1 [google_ad_client] => ca-pub-xxxxxxxxxxxxxxxx [google_ad_slot] => xxxxxxxxxx [google_ad_width] => 320 [google_ad_height] => 50 [custom_ad_code] => )
Thanks
That’s interesting, there are no problems with the plugin options, and yet something seems to be missing with the way the post types are set on your site.
Could you try to deactivate all other plugins, one at a time, and let me know if you find a conflicting plugin?
Thanks!
Hi,
Deactivate plugins one by one show no improvement,
I’ve made a test on another website exactly same problem.
I tought it could be related to the theme, i’m using genesis framework, i change it to twenty twelve, no improvement.
Also there is something strange, if i save the plugin for the second time the warning disappear, i save again the warnings are back, i save again they gone, etc…
I can’t seem to reproduce the issue on my end, unfortunately.
Could you go to Jetpack > Settings in your dashboard, and click on “Configure” next to the Mobile Theme module? Do you experience similar issues on that page?
Hi,
I checked that, nothing to report.
If you want to check that directly let me know where to send you login infos.
Could you try to make the following changes to your copy of my plugin, and let me know if it helps?
https://github.com/jeherve/jp-minileven-ads/commit/6ce912163993c475186efd7a974913a1fcb51fd6
Thanks!
Hi,
The first problem is solved no more warning,
but now if i check the 3 options front, posts and pages, only pages left checked when i save
I tested things on my end, and it seems to work.
Could you double check that you’ve modified the “name” parameter as well, as per the link I posted earlier?
Yes it’s working now.
First time i changed only the code from <th scope=”row”> to </td>
When i changed the whole “jp-minileven-ads.php” code, it worked.
Thank you a lot for your help and your time.
Excellent, thanks for testing this! I’ll update the plugin on WordPress.org so everyone can benefit from the changes.