This file contains 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
$args = array( | |
'post_type' => 'post' | |
); |
This file contains 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
$args = array( | |
'post_type' => 'post', | |
'category_name' => uncategorized | |
); |
This file contains 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
/* | |
* Woo Related posts slider hooked on woo_post_after | |
*/ | |
function woo_related_posts_slider() { | |
global $post; | |
if( is_single() ){ | |
$extra_args = array(); |
This file contains 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
/* | |
* Woo Related Posts Slider Shortcode | |
*/ | |
function woo_related_posts_slider($atts) { | |
global $post; | |
extract( shortcode_atts( array( | |
'tags' => 'true', | |
'cats' => 'true', |
This file contains 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: WooSlider - Related Posts Slider | |
Plugin URI: http://woothemes.com/ | |
Description: Related Posts WooSlider slideshow. | |
Version: 1.0.0 | |
Author: WooThemes | |
Author URI: http://woothemes.com/ | |
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
*/ |
This file contains 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
add_filter( 'woo_header_inside', 'woo_custom_social_links', 10 ); | |
function woo_custom_social_links () { | |
global $woo_options; | |
$settings = array( | |
'feed_url' => '', | |
'connect_rss' => '', | |
'connect_twitter' => '', | |
'connect_facebook' => '', |
This file contains 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
#header .social {float:right;} | |
#header .social a { | |
filter: alpha(opacity=@opacity * 100); | |
-moz-opacity: 0.8; | |
-khtml-opacity: 0.8; | |
opacity: 0.8; | |
-webkit-transition: all ease-in-out 0.2s; | |
-moz-transition: all ease-in-out 0.2s; | |
-o-transition: all ease-in-out 0.2s; |
This file contains 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
#navigation .social {float:right;margin:0.35em 0.5em 0 0;} | |
#navigation .social a { | |
filter: alpha(opacity=@opacity * 100); | |
-moz-opacity: 0.8; | |
-khtml-opacity: 0.8; | |
opacity: 0.8; | |
-webkit-transition: all ease-in-out 0.2s; | |
-moz-transition: all ease-in-out 0.2s; | |
-o-transition: all ease-in-out 0.2s; |
This file contains 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
add_filter( 'woo_nav_inside', 'woo_custom_social_links', 5 ); | |
function woo_custom_social_links () { | |
global $woo_options; | |
$settings = array( | |
'feed_url' => '', | |
'connect_rss' => '', | |
'connect_twitter' => '', | |
'connect_facebook' => '', |
This file contains 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
add_filter( 'woo_header_inside', 'woo_custom_social_links', 10 ); | |
function woo_custom_social_links() { | |
global $woo_options; | |
//Setup default variables, overriding them if the "Theme Options" have been saved. | |
$settings = array( | |
'feed_url' => '', | |
'connect_rss' => '', | |
'connect_twitter' => '', |