[crayon-5ab6219c6786e314321493/] Reference URL
There is always the_excerpt(), but that does some pretty specific stuff (e.g. adding paragraph tags, adding [...], not respect the more comment, use the saved excerpt...). Advanced Excerpt is pretty good at customizing that. If you want to get real simple though: [crayon-5ab6219c68108938178906/] Reference URL
@@ -2033,6 +2033,7 @@ [crayon-5ab6219c683db010752362/] @@ -2056,6 +2057,9 @@ [crayon-5ab6219c683e4042990795/] This is a direct edit to a core file: /wp-includes/query.php Note the plus signs in the above code indicate new lines to add. Author Notes: A client wanted me to setup a custom field called "Guide Rank" which allowed them to assign #1 - 20 [...]
Pre WordPress 3.3 only. Either add this CSS to your CSS file, add all the code to your functions.php file, or make a quick little plugin. [crayon-5ab6219c6872d373464709/] Reference URL
Archives.php only shows content of type 'post', but you can alter it to include custom post types. Add this filter to your functions.php file: [crayon-5ab6219c689d0063814816/] Reference URL
[crayon-5ab6219c68c78161300429/] Uses WordPress functions and queries to pull user information, and to display the login/logout/register links.
WordPress lacks a wp_list_posts() function that might seem logical go with the robust and useful wp_list_pages() function. You can simulate it though, by using the get_posts() function and running your own loop through the results. The parameters for get_posts() below are just examples, replace with your needs. [crayon-5ab6219c68f16492310735/] wp_list_pages() also has the feature of adding [...]