How to I prevent WordPress from switching external HTTP links to HTTPS?

I suspect a bad plugin, but you didn’t provide enough information. But it could be a directive in your htaccess file that is not correct. Take a look at this question/answer for a comprehensive discussion about it: https://stackoverflow.com/questions/4398951/force-ssl-https-using-htaccess-and-mod-rewrite . If that doesn’t help, provide more information about plugins and your htaccess file contents.

Get youtube link title in post title

Use the following code into your functions.php file. function change_title_yt( $post_id ) { $current_title = $_POST[‘post_title’]; $doc = new DOMDocument(); $doc->preserveWhiteSpace = FALSE; $doc->loadHTMLFile($current_title); $title_div = $doc->getElementById(‘eow-title’); $title = $title_div->nodeValue; $my_args = array( ‘ID’ => $post_id, ‘post_title’ => $title ); if ( ! wp_is_post_revision( $post_id ) ){ // unhook this function so it doesn’t loop … Read more

Changing author links on homepage to buddypress profiles – without affecting ability to link to author archive throughout the site

Rather than add your filter immediately when the functions.php file loads, find actions that you can hook onto later, when you know the context of the current request, so you can add and remove filters in a targeted way. For example, you might be able to use loop_start to only affect WPBakery output in the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)