wp_joost
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Problem with user permissionsHi,
You can use below plugin to resolve your issue.Advanced Access Manager
https://www.ads-software.com/plugins/advanced-access-manager/Maybe you know more than i do but that plugin does exactly the same as User Role Editor.
It seems that it is impossible to do what i want…. Why are these capabilities so half-assed? Why is WordPress making it so hard to let other users use Tags, it can’t be this difficult can it? It’s possible to hide allot of things in the post-edit page but not the Page Template section?
Either i’m missing something or capabilities in wordpress are really half-assed.
Forum: Themes and Templates
In reply to: [AccessPress Parallax] Mobile menu not working on phoneThe “Go to top” button does not work on my phone either.
EDIT: I just found out everything works on Chrome for android. So it seems to be a firefox issue.
Forum: Plugins
In reply to: [WooCommerce] Change password page 404The plugin woo-tradetracker was at fault. after another round of deactivating plugins and flushing permalinks i found that only that plugin causes the 404.
Forum: Plugins
In reply to: [WooCommerce] Change password page 404I removed all plugins from the plugins folder and started putting them back and flushing the permalinks by saving them, and the page works again.
The odd thing now is that i able to put back all the plugins, however i wasn’t able to move one plugin (in filezilla)… had to download and re-upload it, don’t know if that has anything to do with it…
Forum: Plugins
In reply to: [WooCommerce] Change password page 404Tried that, did nothing. also disabled all plugins except woocommerce and updated it…nothing..
Forum: Plugins
In reply to: Programmatically adding WP categories in plugin.After a week of pulling my hair out i finally found a solution, for those of you who are having the same problem, the problem is with the categories cache, it’s not updated after adding categories. The following snippet fixes the problem: delete_option(‘category_children’);
Forum: Plugins
In reply to: Programmatically adding WP categories in plugin.I noticed i might have placed this post in the wrong section, sorry for that.
I also wanted to make clear that the array is way bigger in the real deal, currently i’m using 4 parent-categories with a total of +- 370 child-categories. Also, sometimes the last parent-category isn’t even added, it seems random, sometimes it’s added, sometimes it’s not.Forum: Hacks
In reply to: Custom query, Multiple IN clauseProblem solved, problem was something else.
I’ve posted this in another thread but i’ll post it here too for convenience :
You also need to change the remaining ‘wpdb->prepare’ in other files (xml-search.php, locations.php, import-export.php)
Or you can click here to download the 3 corrected php files and place them in the plugins/simplemap/classes folder.
(Sorry for doublepost, couldn’t edit my last post for whatever reason)
Forum: Plugins
In reply to: [SimpleMap Store Locator] Does not work with wordpress 3.5Hello again,
You also need to change the remaining ‘wpdb->prepare’ in other files (xml-search.php, locations.php, import-export.php)
Click here to download the 3 corrected php files and place them in the plugins/simplemap/classes folder.
edit : @t Klein, I found the right file from the error message i got in Firebug, it pointed to line 115 in xml-search.php
Good Luck!
Hello RDall,
add a second parameter to the wpdb->prepare function.
change :
wpdb->prepare( ” …QUERY_HERE… ” );to :
wpdb->prepare( ” …QUERY_HERE… “, $id);Source : https://make.www.ads-software.com/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/
Forum: Plugins
In reply to: [SimpleMap Store Locator] Does not work with wordpress 3.5The solution : Open the file plugins/simplemap/classes/xml-search.php
at line 115, add a second parameter to the wpdb->prepare function.
change :
wpdb->prepare( ” …QUERY_HERE… ” );to :
wpdb->prepare( ” …QUERY_HERE… “, $id);Source : https://make.www.ads-software.com/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/
Forum: Fixing WordPress
In reply to: Create WP page in phpThank you edpittol!