can members have multiple registration using the same password?

I’m not sure what the wishlist plugin is but I think the best way to accomplish this may be to use custom user metadata. Such as adding “enrolled_in” to the meta_data then check for the value. <?php if is_user_logged_in(){ global $user_ID; $member_level = get_user_meta($user_ID, “member_level”, true); //just mye1 if($member_level == mye1){ //Show mye1 content } … Read more

How to display TinyMCE HTML view?

After analyzing sources of /wp-admin/ I realized that TinyMCE HTML view is just another textarea… Anyways, here’s the answer (everything works like a charm excepting the “img” button, but you can hide it easily with CSS – #ed_img {display: none} ). <div id=”postdivrich” class=”postarea”> <div id=”editor-toolbar”> <script type=”text/javascript” src=”http://localhost/wordpress/wp-includes/js/quicktags.js?ver=20110502″></script> <script type=”text/javascript”>edToolbar()</script> </div> <div id=’editorcontainer’> <textarea … Read more

Pause plugin option page until all data manipulation is complete

You can only do this by “loading content into all the posts in the blog” asynchronously (in the background). So, move the processing inside a function that you hook on wp_ajax_your_action_tag. Then call this function with javascript by requesting WP to fire “your_action_tag”. There’s a example on the linked page… If you want to display … Read more