Created
June 27, 2014 20:12
-
-
Save simplethemes/a9332125c20f27ca4ec2 to your computer and use it in GitHub Desktop.
Latest Shortcode Parameters
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
/*-----------------------------------------------------------------------------------*/ | |
// | |
// Latest Posts | |
// Shortcode Parameters: | |
// | |
/*-----------------------------------------------------------------------------------*/ | |
// excerpt="true|false" ------ display the excerpt or 'more' tag break | |
// length="50" ------ excerpt word length | |
// thumbs="true|false" ------ display featured thumbnail | |
// width="50" ------ featured thumbnail width | |
// cols="2" ------ split the results into X number of columns (4 max) | |
// height="50" ------ featured thumbnail height | |
// num="6" ------ number of entries to display | |
// cat="1,-2" ------ categories to include or exclude (-) | |
// morelink="Read More..." ------ more link text | |
// offset="0" ------ offset/skip X number of posts | |
// type="page|post" ------ query type | |
// parent="1" (page only) ------ page parent | |
// orderby="date|customfield" ------ custom ordering | |
// order="ASC|DESC" ------ sort order | |
/*-----------------------------------------------------------------------------------*/ | |
// Example: [latest excerpt="true" thumbs="true" width="50" height="50" num="5" cat="8,10,11"] | |
/*-----------------------------------------------------------------------------------*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment