Adding post lists and grids to your Site couldn’t be easier than with the WP Show Posts plugin. Dispatch uses the Free version to display posts on the Front page and in the Sidebars. Of course with a little Flint Skin CSS treatment.
Head off to Dashboard > WP Show Posts > All Lists. Within are six lists:
- Align
- Standard
- Sidebar
- Header
- Simple
- Simple Sidebar
Each of them have very particular settings required to match the demo content you see here. Changing those settings may affect the way the post is displayed, and not necessarily for the better. So please work on a duplicate or make a note before changing.
Note: the name of the List has no relevance to the different styles displayed.
General ( and important ) information
Before we go into the detail let’s cover some basic and very important information.
Advanced Settings
For the purpose of the demo content a couple of the Lists are using Advanced Settings. First off the Standard List is using Ascending Order (Default: Descending). Secondly the Simple List is using Offset, so it omits the first 4 posts. You may want to put these back to default if you’re not intending to replace them.
Duplicating WP Show Posts List
So we have four lists, and we want to make a new Standard list with a different category. The easiest way is to use one of the Duplicate Post plugins in the WordPress repository. Simple hey. And it works for all post types including GP Elements. Awesome. Note: When making a duplicate you are generally given two options. Clone and New Draft. I advise using the New Draft as some people have reported issues when using Clone.
List: Standard
This is the standard WP Show Post list that has the same custom styling applied to the GP Blog:
Glendale International Film Festival 2023: A Cinematic Celebration Awaits
GIFF 2023: Connecting Filmmakers, Audiences, and Stories. As the world of cinema continues to evolve, Glendale, CA has proudly positioned itself at the nexus of…
Large Herbivores vs. Large Carnivores: Size and Evolution Analysis
Why are elephants so large? The Secrets Behind the Size: Comparing Large Herbivores and Carnivores In the world of mammals, size differences are notably prevalent…
Heroes of the Metal Underground: 1980s Independent Metal Bands, Interview with Alexandros Anesiadis
The Bands that Defined a Decade: The Rise of 1980s Independent Metal. The 1980s: a decade often remembered for its neon lights, larger-than-life hairstyles, and…
Blonde Redhead Releases New Single “Before” From Upcoming Album
In Anticipation: Blonde Redhead’s Prelude to ‘Sit Down for Dinner. Anticipation continues to build as Blonde Redhead presents their fresh track, “Before,” giving listeners a…
‘My Father Loved Me’ — Kilgour’s Emotional Testament to Paternal Love
Rachael Kilgour, known for her heartfelt lyrics and emotive performances, has recently released an album titled “My Father Loved Me”. The album, which came out…
Microsoft’s Analog Iterative Machine: Revolutionizing Optimization Problems
Transcending Moore’s Law: How AIM is Redefining Computing Efficiency. In the realm of technology, a revolution is quietly taking shape. Microsoft’s research team has been…
Aphex Twin’s New Release: ‘Blackbox Life Recorder 21F / In A Room7 F760’
Aphex Twin & Weirdcore: A Symphony of Sound and Vision in 2023 Probing the enigmatic realm of electronic music, Aphex Twin has once again punctuated…
The Language Alchemist: Shakespeare’s Contribution to English Vocabulary
Beyond Invention: Shakespeare’s Adaptation of Classical and Foreign Elements An in-depth look at Shakespeare’s unparalleled contribution to English vocabulary through innovative techniques and creative adaptations…
Canine Cognition: Understanding Dogs’ Interaction with Television
How do dogs perceive television? Memory Recall: Dogs and Visual Cues on Television Unravel the mystery of how dogs perceive and interact with television. This…
This is how the list is displayed within the Content area just by adding the WP Show Post Shortcode. Here follows the basic styling changes that have been made.
Content Wrap (WPSP Only)
Using a custom Hook Element the Post article content is now wrapped within a DIV container. This container carries a class of wpsp-content-wrap
for styling. This wrap is present on all WP Show Posts that are output inside Dispatch.
Featured Image
The featured image has a fixed height to match the layout. This is achieved using this CSS:
.generate-columns-container article .inside-article img, .wp-show-posts-image img {
height: 180px;
width: 100%;
-o-object-fit: cover !important;
object-fit: cover !important;
}
You can edit the height property to suit, or remove the CSS it entirely if you want to use your own sizes.
Meta above title
This is achieved using a flex box on the Entry Header. Again this applied to the GP Blog:
.generate-columns-container article .entry-header, .wp-show-posts-entry-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse;
}
Entry Title forced to 2 lines
The entry title always displays a minimum and maximum of 2 lines. This mantains the across row alignment. Again this is applied to GP Blog. The ex
unit is used to define the number of lines visible. The lines are set by defining the line-height
and setting the height
to as many mutiples as you require lines. e.g up the height to 7.5ex will create three lines.
.generate-columns-container article .entry-header .entry-title, .wp-show-posts article .wp-show-posts-entry-title {
line-height: 2.5ex;
height: 5ex;
overflow: hidden;
text-overflow: ellipsis;
}
List: Align
Designed for a single column list this displays the content the image to the left and content to the right. This is subtly different to just resizing the image in the WP Show Posts list settings and aligning it left. Thanks to the Content Wrap we added (above) the content will never wrap around the image. On mobile it just stacks.
To add one of these your posts requires a little markup. And is done like so:
<div class="wpsp-align">shortcode_goes_here</div>
Harry Cloud Talks ‘The CYST’, Interview
An Exploration of Experimental Music Harry Cloud is a talented musician and producer known for his unique sound and captivating performances. In this interview, he talked about his musical journey, how he got started in the industry, his collaboration with Paul Roessler, and the artistic process behind the creation of his music. Harry’s latest album,…
Tomie by Junji Ito, Review
Tomie: A Graphic Novel Review – A Chilling Exploration of Beauty, Obsession and Horror Tomie is a horror manga series written and illustrated by Junji Ito. It follows the story of a mysterious and beautiful girl named Tomie, who has the ability to drive those around her to madness and murder. The series is a…
Ranxerox by Tamburini, Liberatore, Chabat, review
Ranxerox is a satire of contemporary society highlighting the violent and sadistic elements inherent in it. Ranx is a cyberpunk comic by Stefano Tamburini, Tanino Liberatore, Andrea Pazienza, and Alain Chabat. The series has been well received internationally by critics and readers, and it has been translated and published in various countries including France, Spain,…
Review of the Metabarons by Jodorowsky & Juan Giménez
A must-read cult spin-off of Moebius and Jodorowsky’s “The Incal,” focusing on the fascinating ancestry of the ultimate warrior, has gained a cult following. Related article: Review of The Incal The Metabarons is a science fiction epic written by Alejandro Jodorowsky and illustrated by Juan Giménez. The series follows the journey of the Metabaron, a…
Interview with ChatGPT: Empathy, Creativity & Humor according to an AI
Interview with ChatGPT on self-awareness, copyright issues, empathy, job displacement, creativity and humor. AI systems play a very significant role in creative activities and are a contemporary tool in constant use in modern society. Their skills grow and improve at such a speed that people could wonder if they can be more than a tool,…
The Palmeral of Elche
The Palmeral of Elche, The Largest Palm Grove in Europe The Palmeral de Elche (Huertos de Palmeras de Elche), is a large palm grove in Elche, Spain, 30 kilometres away from Alicante. It is the largest palm grove in Europe, encompassing around 500 hectares, and one of the largest in the world, second only to…
Lists: Sidebar
In the right had sidebar you can see the Sidebar list. This List is set to 1 column and only displays the Featured Image, Title and Category. This is designed for Widgets, a narrow column or as part of a grid (like in our next List).
To add this style the Widget requires a CSS Class of:
wpsp-card
Dispatch comes with Widget Classes Plugin installed. This provides this function.
List: Header
The Header list as seen on the Front Page requires a list containing only 5 posts. And can accomodate most of the content elements. Which are only displayed on the large leader post.
To add this style the Header Element requires the following element classes:
wpsp-grid wpsp-card
List: Simple
This is output using the wpsp-card
inserted into a containing DIV like so:
<div class="wpsp-card">shortcode goes here</dib>
List: Simple Sidebar
Nothing fancy here, just a list being output using the a Widget in the sidebar.
Retrofurista is a site on design, interesting things, audio visual arts, and food.