Topics

code

Keywords Highlighter

Simple keyword highlighter for your google searches. Enabling the extension will automatically highlight all keywords with different colors on all pages.

Screen Shot 2016-02-10 at 3.30.26 AM

Download from Chrome Store
Check Source Code

Disqus problem with wordpress “unable to connect to the disqus api servers”

I recently installed Disqus plugin for WordPress; however, I have been receiving this message “unable to connect to the disqus api servers.” By looking into the source code, it looks like curl is the problem! more specifically the _dsq_curl_urlopen() function, but I did not investigate this error further. As fortunately, we can easily switch to the alternative function _dsq_fsockopen_urlopen().

jQuery plugin : monnaTip 0.1

This the simplest tooltip jQuery plugin you can find around.

    features:
  • takes advantage of live(), mouseenter and mouseleave methods
  • tracks mouse movement
  • right and bottom viewport border tracking
  • can be applied on any element

DemodownloadGoogle codeGitHub

Using Google AJAX API to copy google results in array

This is some way you can get Google results as a JavaScript array that you can display on any page, you first need to get your Google API Key then try this code…

Integrate Theme Switcher

What if you want Theme Switcher into all your WordPress Themes?
Try this

  • Open file “wp-includes\template-functions-general.php” and search for “function wp_meta() {“
  • add this code just after "do_action(‘wp_meta’);"
echo "<h2>Themes:</h2><div>";
wp_theme_switcher('dropdown');
echo "</div>";
  • save the file, and you’ll get the Theme Switcher on everypage after the meta

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close