This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: Pinterest Img Tag Button | |
| Description: This will wrap images in the_content with Pinterest Button code | |
| Author: Jan Dembowski | |
| Author URI: http://blog.dembowski.net/ | |
| Version: 0.5 | |
| From http://wordpress.org/support/topic/add-code-before-each-image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // method 1 | |
| $(function() { | |
| $('nav a').bind('click',function(event){ | |
| var $anchor = $(this); | |
| $('html, body').stop().animate({ | |
| scrollTop: $($anchor.attr('href')).offset().top | |
| }, 1500,'easeInOutExpo'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container{ | |
| display: block; | |
| margin: 0 auto; | |
| width: 974px; | |
| } | |
| .column{ | |
| float: left; | |
| margin-right: 10px; | |
| } |
NewerOlder