Coauthors
By default, wordpress only allows a single author for any post. The coauthors shortcode is used to display multiple authors and / or editors as is more common with scientific papers and articles. Currently, it appears on posts, in the header and the footer of the article pages and is called by using the [authors-editors]…
Custom Fields and Post Types
Custom fields are additional form-fill fields, created for our sites which are not available by default Bitesize Bio Resources Marketing
Article header
The Article header element appears at the top of every article page on bitesizebio.com. it displays article categories, title, excerpt, author and publish date The appearance differs based on whether the ACF field is ticked to indicate that it is a sponsored post. If it is, it will also display the sponsor card. The Element…
Events shortcode
This shortcode displays posts from the events custom post type. By default, it will display all upcoming events and no past events. However, it has 2 paramaters to allow what is displayed to be customised. Number of posts The main purpose of this parameter is to maintain a consistent length of block, even though the…
Latest Product Article
The latest-product-article shortcode is a block which displays the latest Product article. It has two parameters:– Layout– Number of posts By default, it displays the single latest post in a horizontal layout. by adding layout=”vertical”, this will, instead display as a column. We can also adjust the number of posts which are displayed by using…
Callout Block
The Callout Block uses the built in WordPress ‘Info Box’ block and can be used inline in articles to draw attention to a specific section of the article. In a future iteration of the theme, these styles will be applied automatically, but for now, there’s a small amount of configuration to keep the call-out on-brand….
