Here’s a shout-out thanks to Kerry James for his WordPress Plugin – “Posts to Page“. I’ve been trying to figure out this issue for a while. I wanted my home page to have both a tiny bit of static content at the top, then a series of posts below. I also wanted to add individual post categories to specific internal pages. I kept looking for the right code to perform these actions and I don’t know why it didn’t dawn on me to search for a Plugin!
After a few days of banging my head against the computer screen, I did just that and searched for the right plugin. There are several other plugins that I tried, however, they just didn’t have the full functionality I was searching for. I don’t like to ever bad mouth programs or their programmers. I am always impressed when someone writes code and it does anything at all. So thanks everyone.
In this case, Kerry James is the winner for his Best WordPress Plugin for adding Post(s) to a Static Page. Now that you’ve felt the sunshine blow, the only other thing I could possibly ask for is a WordPress Dashboard help link with the list of parameters. Though I can easily find it on your site, I sometimes find that great programmer’s sites disappear for very sad and unknown reasons. I hope you don’t mind, Kerry, if I list them here:
“Posts to Page” Parameters
The basic function is to use the shortcode [posts-to-page].
To make any adjustments, simply add the function of the parameter (i.e. if you want to hide the title and date, use the short code [posts-to-page show_title=”false” show_date=”false”]).
Parameter | Description |
show_title | true/false the default is true, will show or hide the title |
show_date | true/false the default is true, will show or hide the date posted |
show_author | true/false the default is true, will show or hide the author |
show_content | true/false the default is true, will show or hide the content |
show_categories | true/false the default is true, will show or hide the categories |
show_tags | true/false the default is true, will show or hide the tags |
show_image | true/false the default is true, will show or hide the thumbnail image |
link_title | true/false the default is true, will link the title |
link_categories | true/false the default is true, will link the categories |
link_tags | true/false the default is true, will link the tags |
link_image | true/false the default is true, will link the image |
split_more | This forces an early split in the results |
type | The post types you would like to display |
split_point | Used in conjunction with “split_more”, this is soon to be deprecated |
limit | This limits the number of results |
cat_id | Now deprecated, please use “category” |
category | post category ID or slug you would like to display |
orderby | Order the result set |
order | Direction of the order |
offset | Offset is used to offset the resultset, great for related posts |
image_size | Size of the images to be displayed |
suppress_filters | Suppress any built in filters |
display_sequence | The sequence of items you |
class_title | the class name used in the title tag |
class_date | the class name used in the date tag |
class_author | the class name used in the author tag |
class_content | the class name used in the content tag |
class_categories | the class name used in the category item tags |
class_categories_wrap | the class name used in the outer category tag |
class_tags | the class name used in the tag item tag |
class_tags_wrap | the class name used in the outer tag tag |
class_wrap | the class name used in the post wrapper tag |
class_image | the class name used in the image wrapper tag |
tag_title | the actual tag used for the title |
tag_date | the actual tag used for the date |
tag_author | the actual tag used for the author |
tag_content | the actual tag used for the content |
tag_categories | the actual tag used for the category items |
tag_categories_wrap | the actual tag used for the outer category tag |
tag_tags | the actual tag used for the tag items |
tag_tags_wrap | the actual tag used for the outer tag tag |
tag_wrap | the actual tag used for the post wrapper |
tag_image | the actual tag used for the image wrapper |
sep_categories | the seperator used for the categories |
sep_tags | the seperator used for the tags |
pre_categories | the intro text for categories |
pre_tags | the intro text for tags |