Custom Layouts – Post + Product grids made easy

Description

Build a list or grid layout of any post type (products, pages, posts + more).

The visual editing experience makes creating unqiue designs a breeze.

  • Design post templates (cards) using our drag and drop builder
  • Built for both Gutenberg users and non Gutenberg users (blocks + shortcodes available)
  • Query builder – select from multiple post types or restrict by tags, categories, taxonomies, authors and more
  • Works with any theme
  • No coding required
  • Responsive options

Links

What can you make with this plugin?

  • Popular posts widget
  • Recent posts widget
  • A shop layout for listing products (*when combined WooCommerce, Easy Digital Downloads and other product plugins)
  • A portfolio grid
  • Masonry layouts
  • Custom post type layouts
    And much more…

Layout Editor

Build single column or grid based layouts using the visual editor.

  • Supports Masonry out of the box
  • Tons of design options to build the layout you want
  • Choose to add numbered Pagination ( ‘Load more’ and ‘Infinite scroll’ options coming soon )
  • Powerful query builder
  • Responsive columns (choose how many columns to show for each device size – and set your own breakpoints)

Query Builder

Options include:

  • Multiple post type selection
  • Tag, Category and custom Taxonomy restriction
  • Single author or multiple author restriction
  • Ordering parameters – post title, published date (for recent posts), modified date, post ID, comment count (for popular posts), author
  • Posts per page
  • Offset
  • Ignore sticky posts

Template Editor

  • Design individual templates (cards) using our drag and drop editor – creativity is your only limit
  • Link them with your layouts to build beautiful designs
  • Hundreds of design options
  • Unique blocks for building templates + template editor
    • granular control over the blocks you add to your design – choose from a growing list
    • to re-arrange blocks, just drag and drop
    • each block has it’s own sidebar full of options such as spacing, colors (including gradients + alpha transparencies), font settings, borders, and more.
  • Currently available blocks: Post Title, Post Type, Post Excerpt, Post Author, Published + Modified Date, Custom Field, Taxonomies, Link, Basic Text (with shortcode support).
    Find out more about our template blocks.

Gutenberg integration

  • Custom blocks for building layouts
  • Seamlessly integrates with our Template Editor
  • UI built using 90% Gutenberg components 👍
  • Experimental FSE Query block support (drop our Post Template block into the Query block…)
  • Works with the version of Gutenberg shipped in WP core, and the Gutenberg plugin (using the latest stable build)

Built for speed

  • At its base – loads only 1 css file and 1 javascript file on the frontend – total bundle size approx 15kb.
  • CSS file dynamically created, saving resources and requests per page load (+ avoiding inline CSS)
  • Caches posts + queries for optimum performance
  • Not jQuery dependant

Includes 7 sample templates

We’ve included a pack of templates ready for you to customise – check the installation tab for how to import these to your site.

Known Issues

  • Admin Template Editor only works on desktop computers (tablets + mobiles not supported)
  • Admin Template Editor does not work on IE, all other major browsers supported – ** the frontend of this plugin supports IE 11+, no sweat

Roadmap

  • Improve performance and load speed by providing an option to use CSS Grid for layouts + masonry
  • Support more CSS unit types in more places
  • Blocks for WooCommerce
  • Blocks for ACF
  • More template blocks (possibly use the block library)
  • Additional hover options
  • Additional font options – either Google fonts or the Gutenberg api which looks like it’s coming soon
  • Social/sharing blocks

Reviews help us improve (and climb the plugin rankings)

Screenshots

  • Using the layout block
  • The Template Editor - full customization over each item
  • Frontend result
  • Short demo animation
  • Responsive controls

Blocks

This plugin provides 2 blocks.

  • Custom Layouts - Post + Product grids made easy
  • Custom Layouts - Post + Product grids made easy

Installation

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select custom-layouts.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download custom-layouts.zip
  2. Extract the custom-layouts directory to your computer
  3. Upload the custom-layouts directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

Importing the sample templates

To import the sample template data, follow these steps:

  1. Log in to your site as an administrator.
  2. Go to Tools: “Import” in the WordPress admin panel.
  3. Install the “WordPress” importer from the list.
  4. Activate & Run Importer.
  5. Upload the file from our plugin folder – custom-layouts/sample-data/sample-templates.xml – using the form provided on that page.
  6. You will first be asked to map the authors in this export file to users on the site. For each author, you may choose to map to an existing user on the site or to create a new user.
  7. WordPress will then import each of the templates into your site.
  8. Access your new templates via wp-admin -> “Custom Layouts” -> “Templates”

FAQ

How do I add a layout to a page? (Block editor way)

Then you can use the Custom Layouts block.

All of the layout options are available from within the block inspector, or you can load a saved layout.

How do I add a layout to a page? (Shortcode method)

You can find this shortcode in the sidebar of your Layout admin page.

It will look something like: [custom-layouts id="123"]

Where 123 is the ID of your layout

How do I add a template to a layout?

  • First create a template by heading to “Templates” in the “Custom Layouts” admin menu or by clicking “add new” in the layout block.
  • Edit your template and when finished you can choose it from the “Post Template” dropdown in your layout.

Reviews

يونيو 8, 2021
Great plugin and easy to use. Just what I needed and I like the positive tone in the support area. One wish/suggestion is to have a duplicate function (especially for Layouts) so it is faster to make a new layout. I tried two plugins incl 'Simple Copy Post' but they do not work inside the Custom Layouts area. Br, Henrik
ماي 13, 2021
Can't compliment the support on this plugin highly enough. The developer is always happy to help, take suggestions on board (often implementing them) and do so in a very reasonable time frame. On top of that, the plugin is easy to use and has helped us to display our search results in a far more user-friendly manner than our already paid for theme even allows. Keep up the fab work!
أبريل 7, 2021
I am so lucky to get this cool plugin finally, I was searching this for a long time! This plugin could let me add custom field to the product grid element with just few click, no coding required, and is very easy to embed into my landing page! Ease of use, powerful, flexible!! More than 5 stars. SO HAPPY 🙂 Thanks very much.
يناير 29, 2021
While I have for years just built my own queries with PHP, this is the best option I've seen yet for doing it the Gutenberg way. Very exciting! I'm looking forward to the future development of this plugin, including hopefully a "category" element so you can easily list what categories each post is in.
مارس 16, 2021
Today, I bought a Search & Filter Pro license, and combined it with this plugin, and even though it took me a few tries and about 30 minutes or so to get things exactly how I wanted, I managed to create a front end advanced search form that works like a charm. Now, to be honest, things are not completely perfect with this plugin yet, as there are some things missing but are on the roadmap to come hopefully in the (very near) future. The 2 things that I'm looking forward, which will be nice, but not a deal breaker are responsive layouts and meta fields (ACF Fields) in the templates. One last point: It took me about 30 minutes and a few configuration tries to get things to work maybe because I totally ignored the documentation, and worked things with trial and error, but I can see how some won't have the patience or the willingness to do the same. Both plugins should have a short video tutorial how to combine them and get the desire results, and also recommending to use the shortcodes within Gutenberg Columns, as the Filter & Search forms are only vertical. It seems to me that both plugins on their own seem incomplete, missing pieces of the puzzle if you will, but combine them together, and without any coding, almost anyone will be able to get amazing results, all they have to do is to learn how to properly use the plugins. I am very thankful to this plugin as well as the Search & Filter Pro plugin, they will save me many hours of manual coding. UpDATE: March 15, 2021. Thanks to the latest update which now supports Taxonomies and Custom Fields, this plugin along with the Search & Filter Pro completes my wishlist, my toolbox if you will, in having the ability to create complex front end search forms, WITHOUT CODING !!! I wish I could give them more than 5 stars !
Read all 9 reviews

Contributors & Developers

“Custom Layouts – Post + Product grids made easy” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.4.1

  • Fix – Templates – add alt text to featured images
  • New – Templates – comment count element
  • New – Templates – excerpt options – limit the manual excerpt length and hide the “read more” text
  • New – Templates + Layouts admin pages – integration with editor styles (for themes that support it) – only available with the latest Gutenberg plugin v10.6 (coming soon in WP core)

1.4.0

  • Fix – Layouts – ensure layouts are not affected by global pagination when pagination is set to “none”
  • Fix – Templates – default settings had some spacing issues
  • Fix – Templates – an issue where the “image source” option was not displaying if the post didn’t have a featured image
  • Fix – Templates – save the last preview content source when saving the template editor via the admin page
  • Fix – Templates – link block – when a background had a gradient set it wasn’t applied to the hover / focus styles
  • Fix – Templates – Taxonomy block – a php warning when no taxonomy was selected
  • Improvement – added a specific class to the results when used with Search & Filter to allow for multiple search forms + results on a page
  • Improvement – modals are now larger and more responsive
  • New – Modal feature – sync preview width – modals editors now inherit the width of the layout they were launched from (for better previews)
  • New – Layouts – access saved layouts directly via the layout block – edit and create new layouts via the layout editor modal or use the block inspector.
  • New – Layouts – add template information to posts edit screen
  • New – Templates – added line height to the Typography panel
  • New – Templates – added new shortcode [custom-template] for displaying an individual post template with a single post (matches behaviour of the post template block)
  • Upgrade notice – we have changed the name of our layout shortcode – it is now [custom-layout] – your previous shortcodes will continue to work for some time.

1.3.1

  • Fix – layout issue with excerpt display (when the excerpt automatically adds the read more link)
  • Fix – an issue with transients not being used correctly when there are multiple layouts on the same page
  • Fix – an issue with tax_query not being set properly
  • Fix – an issue with pagination not working correctly on the front page
  • Fix – issues with before/after text in the custom field block
  • Fix – an issue with the gradient sample template css
  • Improvement – increase template editor max preview width to 1000px
  • New – support html as a custom field type
  • New – offset query paramater (works with pagination)
  • New – post type block

1.3.0

  • Release notes – https://codeamp.com/update-custom-layouts-1-3-0/
  • Fix – some query issues when taxonomy query was disabled (but the settings were still being applied)
  • Fix – some instances where our assets were not being supplied the correct version number, and consequently remained cached after an update
  • Fix – author gravatar was not scaling with font size
  • Fix – various issues to do with popovers and tooltip alignment
  • Fix – regenerate CSS feature was not fully regenerating the CSS
  • Fix – by default, select display name in author block rather than full name (full name can be empty)
  • Fix – actions were not firing (filters were ok) – we were mixing back slash and forward – now all filters + actions use forward slashes only
  • Update – required WP version to 5.7
  • Update – sample templates – addition of taxonomies + new spacing controls
  • Update – admin icons for some template blocks
  • New – Filters + actions for frontend blocks
  • New – change container size of a block to be full width or wrap to content (new toolbar button)
  • New – “fill last row” layout option – you can now stretch the last row of a grid if results do not fill all of the columns
  • New – Custom Field block – display the value of a custom field in your templates as a string (restrict by words/characters) or formatted number (with decimals), or a formatted date (custom formatting options)
  • New – Taxonomies block – list any combination of taxonomy terms in your templates
  • New – allow unit types for margins, padding and border radius – upgrade components to use BoxControl

1.2.1

  • Fix – an issue when using the query restrictions the first time (in a new layout)
  • Fix – an issue with the S&F integration and Polylang
  • Fix – issues with custom classes on the layout block and layout shortcode
  • Fix – issues with the font size selector
  • Fix – a layout glitch when dragging the first block into a template
  • Fix – prevent saving of a new template via modal, until a title has been set
  • Improvement – when creating a new template via the modal, auto select it in the layout after saving
  • New – no results message – add your own message to display when the query settings return no results

1.2.0

  • Improvement – Change the label of the “Custom Layout” block to “Posts Layout”
  • New – “Post Template” Block – Drop into an FSE Query block or use the post selector to display any post with any template
  • New – Query options for Layouts – select multiple post types and restrict by tag/category/taxonomy

1.1.7

  • Fix – a JS error when launching the template editor modal
  • New – the template editor modal now uses the query from the layout to display the set of posts for previews
  • New – responsive columns – choose how many columns to show for Mobile, Tablet and Desktop
  • New – settings page to set responsive breakpoints + regenerate CSS

1.1.6

  • Fix – missing files from bad commit

1.1.5

  • Fix – issue with the order paramters on the frontend
  • Fix – issue with the sticky post paramater on the frontend
  • Fix – issue with block align not working on the frontend
  • Fix – add loaders/placeholders to layout block + admin page
  • Fix – an issue with CSS not loading due to a https bug in wp_uploads_url()

1.1.4

  • New – Add visual editing to the layout admin page

1.1.3

  • Fix – an issue with Post Title not being displayed correctly

1.1.2

  • Fix – an issue with CSS generation
  • Fix – Rename “Custom Layouts” block to “Custom Layout”
  • New – Show a default image icon when no image is present + allow color to be changed

1.1.1

  • Fix – Enable link on featured image was not working
  • Fix – Modal template title not showing up correctly
  • Fix – Grid spacing not working
  • Fix – Border color not being set properly
  • Fix – Update CSS file when templates are drafted / trashed / deleted
  • Improvement – store queried IDs in transients (they will get complex eventually)
  • Improvement – update icon (still room for improvement)
  • Improvement – Theme colours + gradients now available in template editor admin page with WP 5.7 or Gutenberg 9.7+
  • Improvement – Update all frontend class names to use BEM naming conventions for predictable and reliable naming (we do increase the specificity, though)
  • New – Gradient picker for background colors
  • New – Alpha transparency for all color pickers
  • New – Create new templates directly from the layout block
  • New – Equal height rows (when not using masonry)
  • New – Featured Image options – set image size, ratio and fit mode
  • New – Add support for layout block alignment (supports wide and full width)
  • New – Demo templates

1.1.0

  • New – Gutenberg Integration – New block + modal editor
    • Layout Block – build layouts using the new layout block
    • Modal Template Editor – get the full template editor as a modal from within the layout block
  • Fix – update version number whenever templates are saved to prevent caching of frontend CSS
  • Fix – remove admin-ajax dynamic CSS and opt to use inline CSS as a fallback instead
  • Fix – store generated CSS in post meta for faster loading, and only regenerate the updated templates when needed
  • General UI fixes

1.0.1

  • Fix – issue with imagesLoaded & re-initialising the layout on frontend
  • Fix – issue with frontend date formatting when “custom” was chosen (thanks @paaljoachim)
  • Fix – issues with the padlock unsetting in our dimension controls
  • Fix – allow for multiple layouts on a single page + support for multiple masonry instances

1.0.0

  • Initial version.

0.0.1

  • Init project setup