- Contributors: bobbingwide
- Donate link: https://www.oik-plugins.com/oik/oik-donate/
- Tags: specific, behaviour
- Requires at least: 4.5.2
- Tested up to: 6.7
- Stable tag: 0.7.1
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
When one word won't do.
The bigram WordPress plugin has "specific behaviour".
Its purpose is to make it easy to gather all instances of the bigrams which are pairs of words where the first word starts with an 'S' and the second word starts with a 'B'.
It's only needed on the website seriouslybonkers.com
But the code itself could be quite educational since it tries to do things in WordPress that you might not normally attempt.
This plugin delivers blocks for use in the SB ( Second Byte ) theme:
- bigram/seen-before
- bigram/search-banter
- bigram/reactsb
- Upload the contents of the bigram plugin to the `/wp-content/plugins/bigram' directory
- Activate the bigram plugin through the 'Plugins' menu in WordPress
A bigram or digram is a sequence of two adjacent elements from a string of tokens, which are typically letters, syllables, or words. A bigram is an n-gram for n=2.
Yes, it is now.
See the website.
The custom post type used is 'bigram'. The attachments post type has also been customised.
The custom taxonomies are:
- s-word for the word beginning with S
- b-word for the word beginning with B
- synthesised-by - the name of the image generation routine
The above taxonomies, as well as the default Category, are attached to both bigrams and attachments.
Other custom taxonomies for the bigram CPT are:
- s-letter for the second letter of the S-word
- b-letter for the second letter of the B-word
- supplied-by - the name of the person who supplied the SB
We don't really use posts.
I'm developing an FSE theme called SB ( Second Byte ) to replace the genesis-SB theme ( Specially Built ) that was used in 2018.
The site was originally put together with TwentyFourteen.
It then suffered briefly with an Artisteer theme ( sb0515 ); used for styling basics.
And some bits were cribbed from Pictorico... but they didn't work well on tablets or smart phones.
- None yet
Adds the SB link logic for verse and table blocks.
- Fixed: Add missing end spann in bigram_block_dynamic_block() #49
- Changed: Add SB link logic for verse and table blocks #44
- Tested: With WordPress 6.7
- Tested: PHP 8.3
- Tested: With PHPUnit 9.6