Easily configure this and you can choose what custom post type and amount of post you want to display intro widget area of your site.
A few notes about the sections above:
- You can create custom titles
- You can choose from what Custom Post Types to display
- You can set how many posts you wish to display
- You can choose whether or not to display the post title and the excerpt along with the feature image
- You can choose from predefined image sizes, or set custom width and height
- You can choose whether or not to link the post to new tab
Plans for future releases prior to v1.1
Please feel free to put some comments about the plugin, of what i missed, need to upgrade and bugs.
So you want to feature some posts on your site, Awesome! Let's get it done!
Upload Manually
- Download and unzip the plugin
- Upload
AC Simple Post Widget
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
Install Via Admin Area
- In the admin are go to Plugins > Add New and search for AC Simple Post Widget
- Click Install and then Click Activate
How to used the Widget
- Set up the plugin (refer to above)
- Go to Appearance > Widgets and drag the AC Simple Post Widget to your sidebar
- Enter the title to appear in front end. For default "AC Simple Post Widget"
- Choose what custom post type you want to display. For default "post"
- Set how many post you want to display. For default "4"
- Check the box if you want to display the content and the excerpt along with the Feature Image. For default "checked"
- Set the custom height and width for the featured image. For default "100 by 100"
- Check the box if you want the post to open new tab. For default "checked"
How to use shortcode
- Navigate to the post or page you would like to custom post type to display.
- Enter shortcode [ac_spw]
- Customize the type of posts displayed by adding parameter 'post_type' with the custom post type you want to display. [ac_spw post_type='post']. By default 'post' custom type to be display.
- Customize the number of posts displayed by adding parameter 'num_post' with the number of posts you want to display. [ac_spw num_post='4']. By default '4' posts are display.
- Customize whether the title and excerpt will be displayed along with the featured image by adding parameter 'num_post' with the with a value of 'on' and 'off' [ac_spw title_content='on']. By default the title and excerpt has an 'on' setting.
- Customize the width the feature image by adding parameter 'width' for the width [ac_spw width='100']. By default the width was set by '100'.
- Customize the height the feature image by adding parameter 'height' for the height [ac_spw height='100']. By default the height was set by '100'.
- Customize whether the link will be open in a new tab by adding parameter 'new_Tab' with the with a value of 'on' and 'off' [ac_spw new_tab='on']. By default the setting is 'on'.
- You can use all parameters together like so [ac_spw post_type='post' num_post='4' title_content='on' width='100' height='100' new_tab='on']