Giter VIP home page Giter VIP logo

Comments (3)

bobbingwide avatar bobbingwide commented on June 22, 2024

In Carolina Nymark's full site editing site she explains how to use PHP templates in block themes.
This is an alternative solution to implementing the search-banter.html template part, which itself would implement a dynamic server side rendered block.
I'm going to try the block solution first; I'll implement the bigram/search-banter block in the bigram plugin.

from sb.

bobbingwide avatar bobbingwide commented on June 22, 2024

There are a couple of problems with the current solution

  1. The number of posts displayed on archive pages is too low. 8 rather than 60.
  2. There's no Archive title or Breadcrumbs.
  1. The number of posts displayed on archive pages is too low. 8 rather than 60.

This can be resolved by using oik-types. For the bigram post type set the Archive posts per page setting to 60.
This is the same value as for Blog pages show at most on Settings > Reading Settings

  1. There's no Archive title or Breadcrumbs.

This can be resolved by using the Query Title and/or Breadcrumbs block

<!-- wp:query-title {"type":"any", "level":3, "align":"center" } /-->
<!-- wp:sb/breadcrumbs-block /-->

from sb.

bobbingwide avatar bobbingwide commented on June 22, 2024

This can be resolved by using the Query Title and/or Breadcrumbs block

See 94b7ad8

Delivered in SB v0.2.1.

from sb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.