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 | |
function philosophy_button( $attributes ) { | |
$default = array( | |
'type'=>'primary', | |
'title'=>__("Button",'philosophy'), | |
'url'=>'', | |
); | |
$button_attributes = shortcode_atts($default,$attributes); |
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
//custom slider shortcode | |
function industry_theme_slide_shortcode($atts){ | |
extract(shortcode_atts(array( | |
'count' => 2, | |
'p_type' => 'page', | |
), $atts)); | |
$arg = array( | |
'post_type' => 'industry-slide', |
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |