Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mentor-medier/author-bio-block

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mentor-medier/author-bio-block

Fusion News Theme byline block

  • 5.13.3
  • latest
  • stable
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@wpmedia/author-bio-block

Author Short Biography block for Fusion News Theme

Acceptance Criteria

  • Add AC relevant to the block

Props

PropRequiredTypeDescription
required propyes
optional propno
contentConfig examplePlease specify which content sources are compatible

ANS Schema

The Author Bio Block expects the credits section from Composer's ANS schema, which is laid out as

credits: {
    by: [{
        name: ...
        url: ...
        ...
    }]
}

If there is no description provided by the schema, then no author bio will be displayed - this means that they are not a staff writer. If there is no credits or global content provided, no section tag at all will be rendered.

ANS fields

  • credits.by via globalContent
  • credits.by[x]
  • credits.by[x].description optional
  • credits.by[x].additional_properties.original optional
{
  credits: {
    by: [
      {
        social_links: [
          {
            site: 'linkedin',
            url: 'https://linkedin.com/in/jack'
          }
        ],
        description: 'They are a journalist',
        additional_properties: {
          original: {
            bio: 'I enjoy long walks on the beach and writing journalism'
          } 
        }
      }
    ]
  }
}

Internationalization fields

  • Add all internationalization fields used in the block

Events

Blocks can emit events. The following is a list of events that are emitted by this block.

Event NameDescription
eventNameDescribe the event

Event Listening

Include block specific instructions for event listening.

OR

This block does not emit any events.

Additional Considerations

This is optional. Please add an additional context that would be important to know in order to use this block.

FAQs

Package last updated on 05 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc