Manual
Blocks

    Archive block

    An archive block is one of the most powerful blocks in AXIO. It shows a group of your posts or team members for you, and it keeps that group up to date: publish a new item and it appears in the right place, without anyone touching the page. That saves you work every time you post something new, and it keeps your overview pages complete.

    Let's dive in.

    Purpose and when to use

    Sometimes you want to show more than one item: the latest news, all your how-tos, the people in a team, or the pages that belong to one topic. You could place a card for each item by hand, but then you have to remember to add a card every time something new is published.

    That is exactly what the archive block is for. You say what to show, for example a post type, a category or a hand-picked selection, and AXIO does the rest. Use it for overview pages, for a "latest" strip on your home page, and for related content at the end of an article.

    What makes it handy

    It fills itself

    Choose a post type, a category or both. New posts with that label appear on their own, and drafts stay out until they are published.

    Your layout, your way

    Show the items as cards in a grid or as a compact list. Columns, gap and card style follow your theme, unless you want something different here.

    Easy to find things

    Visitors can page through a long group, or you show a button to the full overview. An optional search field lets them narrow it down.

    The archive block in action

    Four variations. Each one changes more than one thing: what is shown, how it is laid out and how the cards look. The examples below are real archive blocks.

    Latest news

    Newest first, in a grid with hover cards and a button.

    The three newest news items. Publish a news item and it takes its place at the top. The button leads to the complete overview.

    One category

    As a compact list, sorted from A to Z.

    Every manual page in the category Website settings. This is how the manual overview is built: give a post that category and it shows up here by itself.

      A hand-picked selection

      With fixed cards in a soft colour.

      Three posts you choose yourself, even from different post types. Use it when a group has no label, or when you want your own order.

      With a search field

      All how-tos, with outline cards and pagination.

      Visitors type a word and the archive narrows down to the items that match. Handy for a long group that keeps growing, such as a library of how-tos.

      What you can set

      • What to show: posts or team members. For posts, narrow it down by post type, by category or both. Or switch to a selection and pick the items yourself.
      • How many, and in what order: a limit per page, newest first or oldest first, or sorted A to Z. For event post types you can show only past or only upcoming events.
      • How it looks: cards in a grid or a compact list. For cards you can choose the style (hover, fixed or text), filled or outline, and the colours. Card style, colours, columns and gap follow your theme, and you can override them for this block. See How the theme works.
      • Finding more: pagination above, below or both, or a button that links to a full overview.
      • Search: switch on search to put a search field above an automatic archive. Visitors type a word, and the archive narrows down to the items whose title, summary or keywords contain it. It works on automatic archives, not on a hand-picked selection.
      • An introduction: a heading and a few lines above the block.

      What visitors see

      Only published items are shown. Drafts stay out, and in preview mode you see them too. An automatic archive with nothing to show stays empty; with a search field, a short message says that nothing was found. A hand-picked selection shows exactly the items you chose, without pagination.

      Alternatives

      The archive block is not always the right tool. Some alternatives, and when they fit better:

      • Grid block: you want full control over every card, including its text, image and link, or you mix cards with other content. A grid does not update itself, so it suits a few items that rarely change, such as your services. See Grid block.
      • Cards in columns: one or two cards next to a text. Good for a single call to action. See Column block.
      • Submenu: a list of links beside the page, for a group of related pages. A post type can build it automatically from its posts. See Submenus.
      • Links block: a handful of buttons or links to fixed destinations.

      Keep your page lively by varying the form. A grid of the newest items near the top, and a compact list further down for the full overview, reads better than the same layout twice.

      Learn more

      Want to see an instructional video about how to add an archive card? Check out this link.

      Share: