I spent a bit of time trying different options, and wanted to share this… I wanted to add something similar to a 2 column post grid, but only for 2 pages (and 1 row). Basically I wanted to show: the feature image, the page header and a button to point to the page. These look nice in any page.
I don’t uses posts on my site, so I wanted something similar to a post grid, that would point to a couple of “pages”, not “posts”. The theme’s post grid opitons are really nice, but they only work well with posts. For example you can do some nice selection options with posts, such as show only certain categories, or posts with certain tags. But for pages, you don’t have those options.
The easiest way I found, is by using the TB shortcodes (see 2nd image below). I know this may seem obvious, but I spent hours trying to use the Layout builder’s “Columns” element with raw content and shortcodes, and I also tried using the Post Grid element and changing the Query Search to show 2 pages, but couldn’t find any way to do that.
With the various, nice post grid options in the theme, I felt there had to be a way to easily show pages (with the page’s featured image and title) in a nice grid. But I couldn’t find any way to do so.
Jason, It would be really cool if there was a shortcode to create a “page grid”, and specify the # of columns, # of rows, and which pages to show (using comma delimited list of slugs or page ID’s). In your free time of course. 🙂
Hope the images help someone else who might want to do the same thing. A grid that points to pages looks nice on a home page, and helps direct people to selected pages.
Example result of grid of 2 pages:
Editor window showing shortcodes and inserted media and header text to create the grid.
- The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.