Skip to content
textfile-block / 5.15.1-arc-themes-release-version-1.20.3460

textfile-block 5.15.1-arc-themes-release-version-1.20.3460

Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/textfile-block@5.15.1-arc-themes-release-version-1.20.3460
Install via package.json:
"@wpmedia/textfile-block": "5.15.1-arc-themes-release-version-1.20.3460"

About this version

@wpmedia/textfile-block

Text File block for Fusion News Theme. This block offers a convenient way to render text files such as ads.txt or robots.txt. It must be used with text output type only, if other output type is selected, it will render nothing.

Acceptance Criteria

  • The content of the custom field Text is the data to be rendered on the page.
  • Be sure to use the page output type text or nothing will render.

Props

Prop Required Type Description
required prop yes
optional prop no
contentConfig example Please specify which content sources are compatible

ANS Schema

Outline any schema information requirements necessary to know for ths block

ANS Fields

  • n/a

Internationalization fields

Phrase key Default (English)
key english translation

Events

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

Event Name Description
eventName Describe the event

Event Listening

Include block specific instructions for event listening.

OR

This block does not emit any events.

Additional Considerations

Production

Before go live, open a ticket with ACS (Arc Customer Service) asking to have a redirect added:

rewrite ^/robots.txt$ /robots.txt?outputType=text? last;

Details


Assets

  • textfile-block-5.15.1-arc-themes-release-version-1.20.3460-npm.tgz

Download activity

  • Total downloads 1,650
  • Last 30 days 0
  • Last week 0
  • Today 0