Wordpress Post List Template

admin 11/22/2021
45 Comments

Descrizione

Locating the template file. The first thing we need to do is find out which theme template file is experiencing issues with broken pagination. Looking at the template hierarchy can help you figure out which template files are being used in your theme. You can also use a plugin to locate a specific template. Often you will want unique content structure or layout depending on what is being displayed. There are many templates you can use to customize content structure based on the context within the site. The two most notable post template files are home.php and single.php which display a feed of posts and a single post respectively. Top ↑ Home.php # Home.php. No fiddling with templates. With just a few keyboard entries and clicks you get a customized posts list. The plugin Ultimate Post List for WordPress gives you an easy-to-use toolbox to make lists of posts. You can insert the lists. As widgets in every widget area per drag’n’drop easily.

Display Posts (any custom post type), Terms (any custom taxonomy), Users (any role) on Content or Widget Areas by placing a shortcode. Select what to show and design how to show it. Using the plugin is really easy. You will find Tinymce button on post/page editor to quickly inset a list. Also, there’s a separate page for creating or editing list.

List Types

  • Post
  • Voci
  • Utenti
  • Terms & Posts
  • Users & Posts

Creating a list is just few steps. There are different sets option for different List Type, following options are available for List Type – posts.

Post

  • post type
  • post mime type
  • post status
  • post search keyword
  • include post by ids
  • exclude post by ids
  • exclude current post
  • posts per page – while using pagination
  • post by parent ids
  • post by author ids
  • post by terms ( tax_query )
  • post by meta ( meta_query )
  • post by year, month, day ( date_query )

Group Results by

  • anno
  • mese
  • month year
  • category, post tag or custom taxonomies
  • autori
  • parents

Order Results by

  • post id
  • titolo del post
  • post name
  • post publish date
  • post modified date
  • ordine menu
  • approved comment count
  • meta value
  • or random

Multi-Page Pagination by

  • Next / Previous links
  • Numeric navigation flat – Ex: 1, 2, 3.
  • Numeric navigation showing in unordered list.
  • Enable/Disable pagination by ajax

To Create Template

Templates are designed using Shortcodes. You can create a simple list just showing post title and linked to the post page, or you can display complex list using any of the information relating to post. Some of the available shortcodes are –

  • post thumbnail
  • post categories
  • post tags
  • post custom taxonomy terms
  • post author name / links / avatar
  • post publish time
  • post modified time
  • post excerpt
  • post content
  • post meta value (multiple times, with multiple meta keys)
  • media thumbnail

Check all of the available shortcodes here.

Check Example

Privacy Policy

W4 Post List uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements.

Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice. We collect the data to ensure a great user experience for all our users.

Integrating Appsero SDK DOES NOT IMMEDIATELY start gathering data, without confirmation from users in any case.

Learn more about how Appsero collects and uses this data.

Blocchi

Questo plugin fornisce 1 blocco.

  • W4 Post List

Installazione

  1. Upload zip file to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. You will find W4 post list menu below Posts Menu. Create / manage your list from there.
Wordpress create a post template

FAQ

How to display a list

Each list have a unique id. Display a list by using [postlist].

Recensioni

I have been using this plug-in for several years now and find it to be very functional and useful. A recent release added support for a widget that can be dropped into the editor. Nice idea. But originally it only supported 10 lists. The author upped that to 100, which was good. But it then took nearly a minute to load on a fast server. And during that time the server slowed to a crawl. Highly recommend not using the widget. Otherwise a great tool.

Description

Make up custom-tailored preview lists of your website’s contents easily and place them in widget areas and post contents.

Promote your website’s content with many kinds of post lists. No programming skills are necessary. No fiddling with templates. With just a few keyboard entries and clicks you get a customized posts list.

The plugin Ultimate Post List for WordPress gives you an easy-to-use toolbox to make lists of posts. You can insert the lists

  • as widgets in every widget area per drag’n’drop easily
  • via configurable shortcodes in every post content
  • via calls of the function upl_print_list() in PHP code
Wordpress custom post template

You can switch between a vertical list layout or a responsive grid layout. A few options help you to get a nice layout without any need to code.

You can filter the posts by their post type “Post” or/and “Page” and by multiple categories. For filtering by custom post types check out Ultimate Post List Pro.

You can switch on a “Load more posts” link or button which loads further posts without leaving the page. Its text is controlled easily for you.

The plugin is multi-widget capable. That is, you can have several widgets of Ultimate Post List on your blog, each with its own settings!

You can clone (duplicate, copy) every list with a single click on the action link.

The plugin is available in English, German (Deutsch) and Greek (Ελληνικά). It does not collect any personal data, so it is ready for EU General Data Protection Regulation (GDPR) compliance.

Options you can set

The free version of Ultimate Post List offers you many options to type and click customized post lists easily. These are the options:

  • List Options
    • List Display Options
      • List Visibility
      • Text if no posts
    • List Title Options
      • List title
      • URL of list title
      • HTML element of list title
  • Post List Options
    • Post List Options In General
      • Number of posts
      • Posts offset
      • Hide current viewed post in list
      • Show sticky posts on top of the list
    • Posts Sort Order
      • Order by
        • Post date
        • Post title
        • Post author
      • Order direction
        • Ascending
        • Descending
  • Post Filter Options
    • Post Type Filter
      • Show posts of selected types: posts or/and pages
    • Category Filter
      • Show posts of selected categories only
      • Show only posts that are in all selected categories
  • Post List Item Options
    • Post Data Order
      • Position of post thumbnail
      • Position of post title
      • Position of post date
      • Position of post author name
      • Position of post excerpt
    • Post Display Options
      • Show post thumbnail (default)
      • Show post title (default)
      • Show post date
      • Show post author name
      • Show post excerpt
    • Post Links Options
      • Set post title clickable (default)
      • Set post thumbnail clickable (default)
      • Set post date clickable, pointing to the month archive
      • Set post author clickable, pointing to the author’s archive
      • Set post excerpt clickable
      • Open post links in new windows
    • Post Title Options
      • Maximum length of post title
      • Text after shortened title
    • Post Date Options
      • Format of the post date (over 100 options available)
    • Post Thumbnail Options
      • Source of the post thumbnail
        • Featured image
        • First post content image if previously uploaded to the media library
        • Featured image if the first post content image is not available
        • First post content image if the featured image is not available
        • Avatars of post authors
      • Use post title as the alternative text for the thumbnail
      • Use default thumbnail if no image could be ascertained
        • URL of default thumbnail
        • Thumbnail size
      • Width of thumbnail in px
      • Height of thumbnail in px
      • Use aspect ratios of original images
      • Alignment of thumbnail
        • Align left
        • Align center
        • Align right
      • Top image margin width in px
      • Bottom image margin width in px
      • Left image margin width in px
      • Right image margin width in px
      • Flow of text at the thumbnail (wrap right/left or side by side)
    • Post Excerpt Options
      • Maximum length of post excerpt
      • Text after shortened excerpt
      • Ignore post excerpt field as excerpt source
      • Ignore post content as excerpt source
  • “More” Element Options
    • “More” Element Appearance
      • Show a clickable “More” element for loading further list items at the bottom of the list
      • “More” element type
        • Show element as a link
        • Show element as a button
      • Label of “More” element
      • Show icon while new posts are loaded
      • Icon style
        • Small icons
          • Small gray circle with rotating dot
          • Small turning wheel
        • Big icons
          • Big gray circle with rotating dot
          • Big turning wheel
      • Text that appears when no further posts have been found
  • List Layout Options
    • List Layout Type: vertical list or responsive grid
    • Grid item width in px
    • Minimal height of grid item in px
    • List Item Margin Options
      • Top item margin in px
      • Bottom item margin in px
      • Left item margin in px
      • Right item margin in px

Additional options in the Pro version

The Pro version has all the options of the free version and many additional options for layouts, numbered lists, colors, custom post types and much more. Go to Ultimate Post List Pro.

Installation

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘Ultimate Post List’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard
  5. Go to ‘Ultimate Post List’

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select ultimate-post-list.zip
    from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard
  6. Go to ‘Ultimate Post List’

Using FTP

  1. Download ultimate-post-list.zip
  2. Extract the ultimate-post-list
    directory to your computer
  3. Upload the ultimate-post-list
    directory to the /wp-content/plugins/
    directory
  4. Activate the plugin in the Plugin dashboard
  5. Go to ‘Ultimate Post List’

FAQ

Useful hints for developers

Every Ultimate Post List offers you some IDs and class names to address the HTML elements with CSS. They are:

Wordpress Posts Page Template

is every Ultimate Post List.

is the list with %d as the list ID set by WordPress

is every list item that contains a sticky post.

is every container of a post thumbnail in the list.

is every post thumbnail in the list.

is every post title in the list.

is every post date in the list.

is every post author in the list.

is every post excerpt in the list.

is the “more” element with %d as the list ID set by WordPress.

is every “more” element, as a link or as a button in the list.

Wordpress Blog Post List Template

is the “more” link with %d as the list ID set by WordPress.

is the “more” button with %d as the list ID set by WordPress.

is the spinning wheel image with %d as the list ID set by WordPress.

Shortcode Attributes

To place a Ultimate Post List in the content of a post or page a shortcode is available. The shortcode keyword for this plugin is ultimate-post-list.

Wordpress Post List Page Template

The attribute id with the ID of a published list is required. Otherwise there is no output.
Example: This shortcode prints the list of ID 48 as set on the List Edit page.
[ultimate-post-list id=”48″]

You can add some attributes to overwrite the respective settings of the list.

list_title
Sets the headline of the list. To remove a headline use an empty string.
Example: list_title='Your Site, Your Way'
Example: list_title='

included_categories
Displays only posts of the categories specified by their IDs, slugs or names, separated by commas.
Example: included_categories='323,245,788'
Example: included_categories='lorem-ipsum,fringilla-mauris,dolor-sit-amet'
Example: included_categories='Lorem ipsum,Fringilla mauris,Dolor sit amet'

You can use specifiers of different types in a comma-separated list.
Example: included_categories='Lorem ipsum,245,dolor-sit-amet'

Example: [ultimate-post-list list_title='Your Site, Your Way' included_categories='News']

Reviews

Wordpress Custom Post Template

Ultimate post list has made it so much easier to display posts. It was easy to set up and works well. I ran into a problem from a recent update and was given immediate and effective support. Thanks Ultimate Post List!