Make Contact Form 7 scrolling to invalid inputs

If you want that contact form 7 scrolls to invalid inputs, just add the following javascript code to your wordpress theme. (function($) { $(document).ready(function(){ //bmo scroll to not valid $(“.wpcf7″).on(‘invalid.wpcf7′,function(e){ $(‘html, body’).animate({ scrollTop: $(“.wpcf7-not-valid”).first().offset().top-30 }, 2000); }); }); })(jQuery);

Posted in wordpress

A little fix for MooFlow V0.2

Hi, I really love the script MooFlow from Tobias Wetzel (http://www.outcut.de/MooFlow/). The code is really good work but I found a little problem if you change the resize “factor” of the image. I fixed that and want to share my insights with

Posted in MooTools

Wir bauen einen Autocompleter für WordPress Magic Fields

Sorry, this post only exists in german. I am looking for someone who wants to translate it. In Onlineshops und Seiten, auf denen täglich viele Artikel gepostet werden, erspart der Einsatz eines Autocompleters viele Mühen. In vielen meiner Seiten verwende

Tagged with: , , , ,
Posted in wordpress

How to add a YouTube video into WordPress 3

Since WordPress and YouTube changed the possibility to embed videos it is not as easy as before. YouTube has an new iframe integration code: <iframe width=”560″ height=”315″ src=”http://www.youtube.com/embed/…” frameborder=”0″ allowfullscreen></iframe> but WordPress prohibits the inclusion of iframes in the standard configuration. I found an easy way to change this.

Tagged with: , , ,
Posted in wordpress

How to integrate Google+ into your WordPress plugin

A guideline for wordpress plugin developers. Now that the Google+ Button is available to use, I had the idea to integrate it into my WordPress Plugin. A little bit of linklove can not be wrong and SEO is important, also to spread an

Tagged with: , , ,
Posted in wordpress