Home Example Pages WordPress Related Posts Example

WordPress Related Posts Example

This page supports the article called “Create a Related Reading List with WordPress Shortcode” on this page. It shows three rows of four related posts. Shortcode would normally be used is [relatedposts cards="12" number="4" fontsize="1.2"]. Our example code is actually written as follows: [relatedposts cards="12" number="4" tags="wordpress" fontsize="1.2" height="160"]

■ ■ ■

■ ■ ■

In our second example we’ll create one row of four cards with a background color of #DBDBDB. Shortcode used is [relatedposts cards="4" number="4" tags="wordpress" fontsize="1.2" height="160" color="#DBDBDB"].

Telephone Call HTML Link (and WordPress Shortcode)

An image was used because of our dodgy use of inline CSS. In reality you would copy the appropriate styles to your custom functions file.

See the article here.