{"id":10358,"date":"2020-04-08T10:03:32","date_gmt":"2020-04-08T09:03:32","guid":{"rendered":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/?page_id=10358"},"modified":"2023-07-10T08:16:36","modified_gmt":"2023-07-10T07:16:36","slug":"tile-grid-block","status":"publish","type":"page","link":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/tile-grid-block\/","title":{"rendered":"Tile Grid Block"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Tile Grid block is designed for use on the Home page and Section front pages or on any Page or Post where you want to group together different types of information such as individual Posts, notices and links to resources.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Amongst many other uses, it can be used to signpost key pages on your site, link to related documents and \/ or posts. (Also see the <a href=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/library-tiles-block\/\">Library Tiles block<\/a> and <a href=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/post-tiles-block\/\">Post Tiles block<\/a> for adding a group of Tiles of a single type.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Tile Grid block allows you can add multiple tiles, with the option of 1, 2, 3 or 4 column layout. (Note that the number of columns may be reduced when viewing at smaller screen widths.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Five types of tile can be added:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>single-use Tiles where the content is added within the Tile Grid block;<\/li>\n\n\n\n<li>reusable Tiles which are added in a Tile Library;<\/li>\n\n\n\n<li>any standard Post;<\/li>\n\n\n\n<li>Latest Post; and <\/li>\n\n\n\n<li>image<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">There is a setting for Grid Balance. If this is selected, it will ensure that the bottom row of tiles is full. This is done by making some of the tiles in the first two rows of the block span two columns as necessary.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Single-use tiles can be added within the Tiles Grid block as explained below. There is also an option for this to be an image tile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tiles can also be added as Tile posts in the Tiles Library. Tiles added in the Library can then be included in any Tile Grid block across the site. Updating a Tile in the Library will update it site wide. Even for single-use Tiles you may prefer the interface in the Tiles Library for creating Tiles.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"847\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/add-new-tile.jpg\" alt=\"\" class=\"wp-image-10460\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/add-new-tile.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/add-new-tile-600x471.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/add-new-tile-360x282.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/add-new-tile-768x602.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/add-new-tile-300x235.jpg 300w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">There is an option to hide the Tile\u2019s image in the Tile Grid block. This can be used for consistency if other, single-use Tiles in the block don\u2019t have images added.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any standard Post can also be included as a Tile, with an output similar to how they appear in the Latest Posts block and Category listings. There are options to hide the Post\u2019s Featured or Heading Image and to hide the Post date.<\/p>\n\n\n\n<figure class=\"wp-block-image img-border\"><img decoding=\"async\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/01\/tiles-page.jpg\" alt=\"This image has an empty alt attribute; its file name is tiles-page.jpg\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">The Block Editor<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Within the Block Editor, a Tile Grid block can be displayed in either Preview or Edit mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can switch modes using the toolbar that appears above the block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit mode is enabled by clicking the pencil icon in the block\u2019s toolbar, once you are in Edit mode, that icon changes to an eye over a monitor screen which can be used to switch back to Preview mode for the block.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"300\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-preview-mode.jpg\" alt=\"Tile Grid bloc Preview mode\" class=\"wp-image-10456\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-preview-mode.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-preview-mode-600x167.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-preview-mode-360x100.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-preview-mode-768x213.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-preview-mode-300x83.jpg 300w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"300\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-edit-mode.jpg\" alt=\"Tile Grid bloc Edit mode\" class=\"wp-image-10457\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-edit-mode.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-edit-mode-600x167.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-edit-mode-360x100.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-edit-mode-768x213.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/tile-grid-block-edit-mode-300x83.jpg 300w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In Preview mode you will get a visual representation of how the tiles will display in your web page. The number of columns may not match your selection as the number of columns depends on the available width.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Adding and editing tiles can be done in either mode but is usually easier in Edit mode \u2013 in Preview mode the data input fields are squashed into the sidebar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Block settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Settings for the block are:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Number of columns<\/em><\/strong>: 1, 2, 3 or 4 (this is the maximum, actual columns may be reduced at narrower screen widths)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Grid Balance<\/em><\/strong>: if enabled, this will ensure that there aren&#8217;t empty spaces in the final row of the block, which is achieved by automatically by spanning some tiles over two columns<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Tile style<\/em><\/strong>: this can be <em>default<\/em>, <em>normal<\/em>, <em>reversed, shadow<\/em> or <em>gapless<\/em>; <em>default<\/em> will use the site-wide Customizer setting for Tile style; normal applies a background colour to each tile using a tint of the Theme Primary Colour; <em>reversed<\/em> applies a background colour to the block rather than each tile, with the tiles having a white background; <em>shadow<\/em> (no surprise) applies a shadow effect to each tile, with the tiles having a white background; <em>gapless<\/em> removes the spacing between tiles and adds gradient shading to the background to differentiate each tile<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Tile shape<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> can be <em>square<\/em> (the default) or <em>rounded<\/em> &#8211; rounded styling gives curved corners to each Tile (except with the Gapless Style) and makesthe image, if selected, circular. We recommend not using the Rounded tile option with blocks set to more than 3 columns if Wide aligned or 2 columns if Narrow aligned.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Tile border<\/em><\/strong>: gives the option of adding a line border to each tile (except with the gapless Tile style)<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">You can add tiles using the <strong>Add Tile<\/strong> button at the bottom of the block, which will add a tile at the end, or to add a new tile before a tile, use the plus icon (see diagram, below). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tiles can be reordered using drag and drop (see diagram, below).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/01\/Tile-instructions-v2-1080x798.png\" alt=\"This image has an empty alt attribute; its file name is Tile-instructions-v2-1080x798.png\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Individual Tiles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Data inputs for each tile are:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Tile name<\/strong>:<\/em> this should be kept fairly short, for Library Tiles and Posts, the title is only for reference<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Tile type<\/strong><\/em>: this gives you the option of a one-off Tile, a Tile from the Tile Library or an individual Post, Latest Post (auto-updating selected from one or more categories and with an offset option if you don&#8217;t want the most recent post), or an image<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Text colour<\/em><\/strong>: can be set to any colour in the Theme Colour Palette<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Tile background colour<\/em><\/strong>: can be set to any colour in the Theme Colour Palette<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additional inputs and options depend on the Tile type.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tile<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include an image<\/em><\/strong>: if selected an option to select an image will be shown below<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Image<\/strong>:<\/em> add an image from the Media Library or uploaded from your computer; the minimum size for images is 592 x 333 px, so images smaller than that will be greyed out in the Library and uploads will fail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Date<\/strong><\/em>: this is an optional field, click on the field to see a date-picker calendar<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Title<\/em><\/strong>: the tile heading<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Text<\/strong>:<\/em> this should usually be kept fairly short; although the Add Media button has, by default, not been disabled as there may be the odd occasion where this could be useful, in general this field will work best just with text<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Link Type<\/strong><\/em>: select the resource type you want to link to (if any) and its input field will appear below<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em><strong>Page Link<\/strong><\/em>: a searchable list of all your site pages will appear<\/li>\n\n\n\n<li><em><strong>File Link<\/strong><\/em>: you can select from the Media Library or upload a new file<\/li>\n\n\n\n<li><em><strong>External Link<\/strong><\/em>: paste in a web address of a web page or file (you can also use this for internal links to an anchor point within a page)  <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include Button<\/em><\/strong>: whether a button is added<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Style<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> default (set in site Customiser), solid or outline<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Content<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> text, text plus arrow (\u203a) or triangle arrow<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Button Text<\/strong><\/em>: the text that will appear on the link button if text or text plus arrow is selected for Button Content (defaults to Read More)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Alignment<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> left, centre or right<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Library, Post or Latest Post<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Library Tile \/ Post<\/em><\/strong>: a searchable list of the available Tiles or Posts<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include the Image<\/em><\/strong>: whether or not to display the image for the selected Tile \/ Post<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include the Date<\/em><\/strong>: for the Post or Library Tile<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include the Title<\/em><\/strong>: for the Post or Library Tile<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include the Text<\/em><\/strong>: for Library Tiles<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Excerpt type<\/em><\/strong>: for Post Tiles, <em>none<\/em> excludes an excerpt; <em>standard<\/em> excerpt matches the Post Archives, using the excerpt word length set in <em>Customiser &gt; Theme Settings<\/em> or the manual excerpt if set; <em>custom<\/em> excerpt length will use the word length set in Excerpt length, it will not use any manual excerpt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Excerpt length<\/em><\/strong>: for Post Tiles with <em>custom<\/em> Excerpt type, from 5 up to a maximum of 100 (the actual length won\u2019t be longer than the excerpt length set for the site)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include Button<\/em><\/strong>: the Read More button for Posts or the Link Button for Library Tiles<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Style<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> default (set in site Customiser), solid or outline<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Content<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> text, text plus arrow (\u203a) or triangle arrow<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Alignment<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> left, centre or right<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Latest Post<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include all categories<\/em><\/strong>: whether to include posts from all categories<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Categories<\/em><\/strong>: specific categories to include<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Multiple categories<\/em><\/strong>: when multiple categories are selected, use posts that are in ANY or must be in ALL of the selected categories<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Excerpt type<\/em><\/strong>: for Post Tiles, <em>none<\/em> excludes an excerpt; <em>standard<\/em> excerpt matches the Post Archives, using the excerpt word length set in <em>Customiser &gt; Theme Settings<\/em> or the manual excerpt if set; <em>custom<\/em> excerpt length will use the word length set in Excerpt length, it will not use any manual excerpt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Excerpt length<\/em><\/strong>: for Post Tiles with <em>custom<\/em> Excerpt type, from 5 up to a maximum of 100 (the actual length won\u2019t be longer than the excerpt length set for the site)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Include Button<\/em><\/strong>: whether a button is added<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Style<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> default (set in site Customiser), solid or outline<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Content<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> text, text plus arrow (\u203a) or triangle arrow<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Button Alignment<\/em><\/strong>:<sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup> left, centre or right<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Offset<\/em><\/strong>: specifies the number of posts to miss out<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Image<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Image<\/strong>:<\/em> add an image from the Media Library or uploaded from your computer; the minimum size for images is 592 x 333 px, so images smaller than that will be greyed out in the Library and uploads will fail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Title<\/em><\/strong>: the tile heading, used as either an overlay or caption<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Title position<\/em><\/strong>: hide (the same as Title being left blank), overlay (a centred h2 text) or caption<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See the <a href=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/tile-grid-example\/\">Tile Grid example<\/a> page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Tile Grid block is designed for use on the Home page and Section front pages or on any Page or Post where you want to group together different types of information such as individual Posts, notices and links to&nbsp;\u2026 <\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"class_list":["post-10358","page","type-page","status-publish","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/10358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/comments?post=10358"}],"version-history":[{"count":35,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/10358\/revisions"}],"predecessor-version":[{"id":14014,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/10358\/revisions\/14014"}],"wp:attachment":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/media?parent=10358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}