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 | |
#!/usr/bin/env php | |
//usage: php envato-screenshots-downloader.php /path/to/save/screenshots http://url/to/screenshots/page | |
set_time_limit(0); | |
$dir = $argv[1]; | |
$source = $argv[2]; | |
print_r($argv); | |
mkdir ($dir); | |
$src = file_get_contents($source); | |
$pattern = '/src="(https:\/\/0.s3[a-zA-Z0-9_\-\.\/%]+)"/i'; |
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
diff -ru readykommerce-multi-newsletter-signup-light-orig/nl_signup.php readykommerce-multi-newsletter-signup-light/nl_signup.php | |
--- readykommerce-multi-newsletter-signup-light-orig/nl_signup.php 2014-02-13 09:40:23.000000000 -0500 | |
+++ readykommerce-multi-newsletter-signup-light/nl_signup.php 2014-03-12 12:58:08.000000000 -0400 | |
@@ -278,13 +278,13 @@ | |
// If is the home page, an archive, or search results | |
if(is_front_page() || is_archive() || is_search() || is_single() || is_page()) : | |
global $post; | |
- // $content = $post->post_excerpt; | |
+ | |
$file = get_post_meta( $post->ID, 'nl_file_upload', true ); |
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
@font-face { | |
font-family: 'EntypoRegular'; | |
src: url('font/entypo.eot'); | |
src: url('font/entypo.eot?#iefix') format('embedded-opentype'), | |
url('font/entypo.woff') format('woff'), | |
url('font/entypo.ttf') format('truetype'), | |
url('font/entypo.svg#EntypoRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
NewerOlder