Private WordPress blog, requires user registration approval, and allowing users to login with OpenID

Indeed, there is a way. First, you’re going to want to install the Member Access plugin & the official OpenID plugin. Both of these are free After configuring all of your pages and setting up the OpenID plugin, edit the robots.txt file in the WordPress installation directory. Add the following line: User-Agent: * Disallow: / … Read more

Problem with wp_editor

The wp_editor echos the editor including a textarea. So just replace the textarea with <?php wp_editor($content, $id, $args); ?> and set the arguments as you want them to be. https://codex.wordpress.org/Function_Reference/wp_editor

change output location of plugin function using a custom hook

Something like what you are doing should work but I think you have a couple of things going wrong. First, it sounds like you’ve hacked the plugin. Don’t do that, just remove the callback from the the_content hook. In your theme’s functions.php add: remove_filter(‘the_content’, ‘append_the_video’); The youtube_video() function depends on the $post variable. That means … Read more

WordPress Background Audio – Continous AutoPlay

Since I don’t have enough reputation to add a comment yet, I read on another website that someone used http://scmplayer.net/ as an alternative to frames/popups which seems to be a little script you can generate and then use on both non-WordPress and WordPress sites (since it just needs to be inserted after the <body> tag). … Read more

Links on FAQ page aren’t working

I figured it out. The FAQ plugin was intentionally “return false”-ing links on the page with a certain class, resulting in (intentional) silent failure. I removed that line of JS from the plugin and now the links work.

Ajax, jQuery and WordPress

Wrap your javascript code with document.ready, and if it works I would suggest going back to putting this in an external file jQuery(document).ready(function(){ jQuery(‘#ajax_form’).on(‘submit’, function(e) { e.preventDefault(); console.log(‘Here’); var form = jQuery(‘#ajax_form’); var data = form.serialize(); data.action = ‘add_word_to_form’ jQuery.post(‘/wp-admin/admin-ajax.php’, data, function(response) { alert(data); }); //return false; }); });