rdmoore1000
Forum Replies Created
-
If you want this to generalize to everywhere, not just the current theme, then you should paste the code into a php file with the plugin header stuff, and put it in the plugins folder. Then, go to plugins in the admin area, and activate it.
Fixed for all themes!
Yeah, this is super annoying, I hate it when plugins don’t give the option to clean out what they did to the database (which most don’t).
Anyways, I did this and it worked for me. NO GUARANTEE!
In the wp_usermeta table, copy the text in the meta_value field, and paste it somewhere (notepad) for safe keeping, in case this solution doesn’t work (in which case you should put this back in the field).
Then, in the database, replace that entry with:
a:1:{s:13:”administrator”;s:1:”1″;}You should now be able to go to the users -> roles and delete the super-admin role.
P.S. This is a great plugin, if I can get this issue resolved I’ll buy the Business License, because I would like the Dropbox features as well.
Thanks.
Same problem.
Forum: Plugins
In reply to: wp_page_menu structure change for functions.phpGood Hack. Stupid that wp_page_menu wraps with <div>
I added your variable $divclass to the preg_replace line to account for when people use the menu_class option in wp_page_menu to change the class to whatever they want, so their choice of class gets put into the <ul class=”$divclass”>.
Here the code with the fix:
function add_menuid ($page_markup) { preg_match('/^<div class=\"([a-z0-9-_]+)\">/i', $page_markup, $matches); $divclass = $matches[1]; $toreplace = array('<div class="'.$divclass.'">', '</div>'); $new_markup = str_replace($toreplace, '', $page_markup); $new_markup = preg_replace('/^<ul>/i', '<ul id="'.$divclass.'">', $new_markup); return $new_markup; } add_filter('wp_page_menu', 'add_menuid');cheers
Forum: Fixing WordPress
In reply to: [Plugin: Wp-e-commerce] Pagination for products not workingCorrection to Logan1_br. You only have to deactivate the plugin and then reactivate it. It worked for me.