I had the WP Fastest Cache plugin working for a while. I recently visited the admin settings page for the plugin. I attempted to setup the cloudflare key, and suddenly the plug-in settings page redirects to an error 404 page.
I tried a few suggestions found on this forum, but none of them have helped. These include:
– uninstalled and deleted any files in the plugin directory. I then re-installed the plugin and there is no difference. Still have the error.
– uninstalled all plugins except for WPFC and it still redirects to a 404 page.
– emptied all cache’s to see if that would help. It did not.
– changed and save the site permalinks.
I am able to view all other plugins on the admin side. WPFC is the only one having issues.
Any idea what might cause this?
]]>Error: Account token is missing.
I then clicked the back button (in Chrome) and the Analytics Agreement page suddenly appeared. So, I checked the appropriate boxes and proceeded, at which point I was redirected back to my WP dashboard. Analytics appeared to be connected. However, a red-bordered box stated the following:
Data error in Analytics
Analytics view ID not set.
I checked the Site Health. Info below.
I’ve since gone back in and it appears I have a view ID, along with account and property IDs, plus snippet placed. I can’t see the red warning box anymore, so does that mean all’s good now?
Either way, I wanted to share this, just in case the initial “Error: Account token is missing,” issue can be worked around, simply by pressing the ‘back’ button.
Version 1.10.0
PHP Version 7.3.19
WordPress Version 5.4.2
Reference Site URL https://glampinginnovations.co.uk
AMP Mode No
Site Status Connected through site credentials
User Status Authenticated
Active Modules Site Verification, Search Console, Analytics
Required scopes
openid:
https://www.googleapis.com/auth/userinfo.profile:
https://www.googleapis.com/auth/userinfo.email:
https://www.googleapis.com/auth/siteverification:
https://www.googleapis.com/auth/webmasters:
https://www.googleapis.com/auth/analytics.readonly:
Search Console property https://glampinginnovations.co.uk/
I have an active plugin that has no build-in capabilities. The Woo shopmanager has no admin rights but needs access to the admin pages of that plugin. Can AAM do this also? Or is there a workaround?
Already tried AMM but don’t see a solution.
Thanks,
Lamberbee
We’re trying to add a checkbox to ask for the user’s consent before subscribing to our newsletter. I can’t find a way doing that from the plugin.
Can someone help with this?
Thanks,
Cristian
I’ve seen it many times in plugins (multiple pages linking from one to the other but not listed as ‘pages’ or menu items) but I have no idea if I am supposed to create the pages load them externally or create them through some other method – submenu pages and functions (?).
Any input or direction would be appreciated.
Thanks in advance.
[ No bumping please. ]
]]>$('.sample').on('click', function () {
console.log(this);
var choice = $(this);
if (choice.is(":checked")) {
$('#choices').append(choice.val() + " is checked!");
}
});
Here is the html:
<div id="top-menu">
<input type="checkbox" class="sample" value="a">A</input>
<input type="checkbox" class="sample" value="b">B</input>
<input type="checkbox" class="sample" value="c">C</input>
</div>
<label>Choices</label>
<div id="choices"></div>
And this is how I enqued jquery in my functions.php:
function load_jquery() {
wp_enqueue_script( 'jquery' );
}
add_action( 'wp_enqueue_script', 'load_jquery' );
But nothing works! I’v tried a number of other simple scripts for instance:
jQuery(document).ready(function(){
alert("Hello");
});
.. and still nothing.
Any help would be greatly appreciated.
Thank you
]]>Any thoughts on what would be causing this?
Thanks
Ben
I am developing a plugin that will create pages with a different post type (e.g., post_type = listing). I know how to create pages with the plugin activation but I have no idea how to list that pages in the plugin admin panel.
I have a “Listings” submenu page for my plugin and I want to list that listing pages created by this plugin on this page. How can I do that? If you know a sample plugin that does this, it will also be much helpful.
Thanks
]]>