herb miller

WordPress plugin specialist

  • Home
  • About
    • Online CV
    • Contact
    • Find me
  • Shop
    • Seriously Bonkers – softback book
    • Seriously Bonkers – signed book
    • Seriously Bonkers – PDF
  • Dev env
    • Local development
    • WordPress plugins
    • Server environments
    • Development hardware
    • WAMP configuration
    • Tools and languages
    • What’s not in my development environment?
    • Anything else in your development toolkit?
  • Sites
Dynamic content block in oik-blocks v0.4.0-beta-20200209

Dynamic content block in oik-blocks v0.4.0-beta-20200209

I’m away on vacation very soon. I’ve taken the opportunity to release another beta version of my oik-blocks plugin with a new block called Dynamic content block ( oik/content-block ).

This block implements 11 of my dynamic content shortcodes delivered by the oik base plugin, hence the prefix. When it’s ready for production then I’ll deliver the block in oik v4.1.0.

Example

Here I use it to implement the same output as the bw_pages shortcode for WooCommerce products, using the default display: Title, Featured image (as a link), Excerpt and Read more button. The posts are ordered by Title, in descending order.

Seriously Bonkers – softback book

Seriously Bonkers – softback book

Containing a specially selected subset from the world’s largest hand curated set of SB bi-grams, this short book was published to celebrate the author’s sixtieth birthday. Read the book then see the full collection at seriouslybonkers.com or bigram.co.uk.

read more

Seriously Bonkers – signed book

Seriously Bonkers – signed book

Containing a specially selected subset from the world’s largest hand curated set of SB bi-grams, this short book was published to celebrate the author’s sixtieth birthday. Read the book then see the full collection at seriouslybonkers.com or bigram.co.uk.

A dedication of your choice, hand written and signed by the author will be included inside the front cover. You just have to tell me what to write.

read more

Seriously Bonkers – PDF

Seriously Bonkers – PDF

Containing a specially selected subset from the world’s largest hand curated set of SB bi-grams, this short book was published to celebrate the author’s sixtieth birthday. Read the book then see the full collection at seriouslybonkers.com or bigram.co.uk

read more

ReactJS for web app development

Quite possibly the worst book on software development that I’ve ever read.

I bought it from Amazon on 21st April 2016.

It has some uses:

It shows you how not to write a technical book It may give you a good laugh

ISBN: 97815191689

read more

Notes

There have been a few challenges implementing this block. I’m not the only one who has suffered them. I came across at least two Gutenberg issues, neither of which have a satisfactory solution. One of them is “working as implemented”.

I’ve been learning a bit more about Gutenberg’s React based JavaScript but I’m still struggling with understanding syntax and semantics. I had hoped that my work on building the WordPress Blocks Reference would help with my understanding of the source code I might need. But it hasn’t helped as much as I’d hoped.

Further reading

The block will be documented in oik-plugins.com and blocks.wp-a2z.org.

On oik plugins I expect to provide quite a few examples, showing the 11 different layouts.

Download oik-blocks

Categories: Gutenberg, programmingTags: Dynamic content, oik-blocks

Published: February 9, 2020 | Last updated: February 9, 2020

Products

  • Seriously Bonkers - signed book £8.99 £5.99
  • Seriously Bonkers - PDF £1.00
  • Seriously Bonkers - softback book £8.99 £4.99

Recent Posts

  • Localization of Full Site Editing themes
  • Fizzie – an experimental Full Site Editing theme
  • How to survive WordPress 5.5’s removal of jQuery-migrate
  • SB Children block – my first Single Block plugin
  • Horizontally scrolling tables on narrow devices

Recent Comments

  • Aprende gutenberg #49 - Aprende gutenberg on SB Children block – my first Single Block plugin
  • Richard Cagle on Installing Imagick for PHP 7 on Windows 10
  • WordCamp Birmingham on bucket list – WordCamp Birmingham UK 2015 (#wcbrum)
  • mick on WordPress capabilities: How to restrict Add New while allowing Edit
  • mick on WooCommerce 2.2.4 – Dynamic API Reference

Archives

Categories

WordPress 5.6. PHP: 7.3.26

WordPress version: 5.6

Gutenberg version: 9.7.0

Tide times from tidetimes.co.uk

Tide Times & Heights for Northney on Wednesday, 27 January 2021
Low Tide: 03:43 ( 1.40m )
High Tide: 10:43 ( 4.40m )
Low Tide: 16:05 ( 1.00m )
High Tide: 23:16 ( 4.30m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on 27th January 2021
03:43 - Low Tide ( 1.36m )
10:43 - High Tide ( 4.35m )
16:05 - Low Tide ( 1.01m )
23:16 - High Tide ( 4.34m )

Follow me

  • Home
  • About
  • Blog
  • Contact
  • Find me
  • Privacy notice
  • Sitemap

Site:  herbmiller.me
© Copyright herb miller 2012-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress