Snippets

Comments link to Disqus in WordPress

Add to your theme functions.php

/* WordPress comments link to Disqus */
 add_filter( 'get_comments_link', 'callback_to_disqus', 10, 2 );
function callback_to_disqus( $link, $post_id ) {
 return get_permalink( $post_id ) . '#disqus_thread';
 }

 

Eliminar Backdoors de OVH

echo "" > /root/.ssh/authorized_keys2
rm -rf /usr/local/rtm
echo "" > /etc/crontab
killall -9 rtm