| @@ -9,31 +9,57 @@ | ||
| 9 | 9 | $plugin_url = USP_URL; |
| 10 | 10 | |
| 11 | 11 | $array = array( |
| 12 | 12 | |
| 13 | - 0 => '<a target="_blank" rel="noopener noreferrer" href="https://digwp.com/" title="Take your WP skills to the next level"><img width="125" height="125" src="'. $plugin_url .'images/250x250-digging-into-wordpress.jpg" alt="Digging Into WordPress"></a>', | |
| 14 | - | |
| 15 | - 1 => '<a target="_blank" rel="noopener noreferrer" href="https://htaccessbook.com/" title="Secure and optimize your website"><img width="125" height="125" src="'. $plugin_url .'images/250x250-htaccess-made-easy.jpg" alt=".htaccess made easy"></a>', | |
| 16 | - | |
| 17 | - 2 => '<a target="_blank" rel="noopener noreferrer" href="https://wp-tao.com/" title="Learn the Way of WordPress"><img width="125" height="125" src="'. $plugin_url .'images/250x250-tao-of-wordpress.jpg" alt="The Tao of WordPress"></a>', | |
| 18 | - | |
| 19 | - 3 => '<a target="_blank" rel="noopener noreferrer" href="https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/" title="Wizard’s SQL Recipes for WordPress"><img width="125" height="125" src="'. $plugin_url .'images/250x250-wizards-sql.jpg" alt="Wizard’s SQL Recipes for WordPress"></a>', | |
| 20 | - | |
| 21 | - 4 => '<a target="_blank" rel="noopener noreferrer" href="https://wp-tao.com/wordpress-themes-book/" title="Build and sell awesome themes"><img width="125" height="125" src="'. $plugin_url .'images/250x250-wp-themes-in-depth.jpg" alt="WordPress Themes In Depth"></a>', | |
| 22 | - | |
| 23 | - // | |
| 24 | - | |
| 25 | - 5 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/banhammer-pro/" title="Banhammer Pro: Drop the hammer."><img width="125" height="125" src="'. $plugin_url .'images/250x250-banhammer-pro.jpg" alt="Banhammer Pro"></a>', | |
| 26 | - | |
| 27 | - 6 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/bbq-pro/" title="Fastest WordPress Firewall"><img width="125" height="125" src="'. $plugin_url .'images/250x250-bbq-pro.jpg" alt="BBQ Pro Firewall"></a>', | |
| 28 | - | |
| 29 | - 7 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/blackhole-pro/" title="Trap bad bots in a virtual black hole"><img width="125" height="125" src="'. $plugin_url .'images/250x250-blackhole-pro.jpg" alt="Blackhole Pro"></a>', | |
| 30 | - | |
| 31 | - 8 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/ga-google-analytics-pro/" title="Connect Google Analytics to WordPress"><img width="125" height="125" src="'. $plugin_url .'images/250x250-ga-pro.jpg" alt="GA Google Analytics Pro"></a>', | |
| 32 | - | |
| 33 | - 9 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/simple-ajax-chat-pro/" title="Unlimited chats for WordPress"><img width="125" height="125" src="'. $plugin_url .'images/250x250-sac-pro.jpg" alt="Simple Ajax Chat Pro"></a>', | |
| 13 | + 0 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/bbq-pro/" title="BBQ Pro: Fastest Firewall for WordPress"> | |
| 14 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-bbq-pro.jpg" alt=""> | |
| 15 | + </a>', | |
| 34 | 16 | |
| 35 | - 10 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/usp-pro/" title="Unlimited front-end forms"><img width="125" height="125" src="'. $plugin_url .'images/250x250-usp-pro.jpg" alt="USP Pro"></a>', | |
| 17 | + 1 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/banhammer-pro/" title="Banhammer Pro: Monitor Traffic. Hammer the Enemy."> | |
| 18 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-banhammer-pro.jpg" alt=""> | |
| 19 | + </a>', | |
| 20 | + | |
| 21 | + 2 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/blackhole-pro/" title="Blackhole Pro: Trap Bad Bots in a Virtual Black Hole"> | |
| 22 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-blackhole-pro.jpg" alt=""> | |
| 23 | + </a>', | |
| 24 | + | |
| 25 | + 3 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/ga-google-analytics-pro/" title="GA Pro: Connect Google Analytics to WordPress"> | |
| 26 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-ga-pro.jpg" alt=""> | |
| 27 | + </a>', | |
| 28 | + | |
| 29 | + 4 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/head-meta-pro/" title="Head Meta Pro: Ultimate Meta Tags for WordPress"> | |
| 30 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-head-meta-pro.jpg" alt=""> | |
| 31 | + </a>', | |
| 32 | + | |
| 33 | + 5 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/simple-ajax-chat-pro/" title="SAC Pro: Own Your Chats"> | |
| 34 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-sac-pro.jpg" alt=""> | |
| 35 | + </a>', | |
| 36 | + | |
| 37 | + 6 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/usp-pro/" title="USP Pro: Unlimited Front-End Forms"> | |
| 38 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-usp-pro.jpg" alt=""> | |
| 39 | + </a>', | |
| 40 | + | |
| 41 | + // | |
| 42 | + | |
| 43 | + 7 => '<a target="_blank" rel="noopener noreferrer" href="https://digwp.com/" title="Take your WordPress Skills to the Next Level"> | |
| 44 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-digging-into-wordpress.jpg" alt=""> | |
| 45 | + </a>', | |
| 46 | + | |
| 47 | + 8 => '<a target="_blank" rel="noopener noreferrer" href="https://wp-tao.com/" title="Learn the Way of WordPress"> | |
| 48 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-tao-of-wordpress.jpg" alt=""> | |
| 49 | + </a>', | |
| 50 | + | |
| 51 | + 9 => '<a target="_blank" rel="noopener noreferrer" href="https://wp-tao.com/wordpress-themes-book/" title="WordPress Themes In Depth"> | |
| 52 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-wp-themes-in-depth.jpg" alt=""> | |
| 53 | + </a>', | |
| 54 | + | |
| 55 | + 10 => '<a target="_blank" rel="noopener noreferrer" href="https://htaccessbook.com/" title="Optimize and Secure with .htaccess"> | |
| 56 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-htaccess-made-easy.jpg" alt=""> | |
| 57 | + </a>', | |
| 58 | + | |
| 59 | + 11 => '<a target="_blank" rel="noopener noreferrer" href="https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/" title="Wizard’s SQL Recipes for WordPress"> | |
| 60 | + <img width="125" height="125" src="'. $plugin_url .'images/250x250-wizards-sql.jpg" alt=""> | |
| 61 | + </a>', | |
| 36 | 62 | |
| 37 | 63 | ); |
| 38 | 64 | |
| 39 | 65 | $items = array_rand($array, 3); |
| @@ -72,8 +98,9 @@ | ||
| 72 | 98 | |
| 73 | 99 | #project-wrap .project-links { width: 100%; overflow: hidden; margin: 15px 0; } |
| 74 | 100 | #project-wrap .project-links img { display: block; width: 125px; height: 125px; margin: 0; padding: 0; border: 0; background-color: #fff; color: #fff; } |
| 75 | 101 | #project-wrap .project-links a { float: left; width: 125px; height: 125px; margin: 0 0 0 15px; padding: 1px; border: 1px solid #ccc; opacity: 0.9; } |
| 102 | + #project-wrap .project-links a:link, #project-wrap .project-links a:visited, #project-wrap .project-links a:hover, #project-wrap .project-links a:after { box-shadow: none; } | |
| 76 | 103 | #project-wrap .project-links a:hover { opacity: 1.0; } |
| 77 | 104 | |
| 78 | 105 | #project-wrap .project-blurb { |
| 79 | 106 | float: left; width: 220px; box-sizing: border-box; margin: 5px 0 25px 20px; padding: 15px 20px; border-radius: 5px; |