textfile-block
/
5.16.0
textfile-block 5.16.0
Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/textfile-block@5.16.0
Install via package.json:
"@wpmedia/textfile-block": "5.16.0"
About this version
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.
- 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.
Prop | Required | Type | Description |
---|---|---|---|
required prop | yes | ||
optional prop | no | ||
contentConfig example | Please specify which content sources are compatible |
Outline any schema information requirements necessary to know for ths block
- n/a
Phrase key | Default (English) |
---|---|
key |
english translation |
Blocks can emit events. The following is a list of events that are emitted by this block.
Event Name | Description |
---|---|
eventName | Describe the event |
Include block specific instructions for event listening.
OR
This block does not emit any events.
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
- textfile-block
- WPMedia
- over 2 years ago
- CC-BY-NC-ND-4.0
- 1 dependencies
Assets
- textfile-block-5.16.0-npm.tgz
Download activity
- Total downloads 21,638
- Last 30 days 0
- Last week 0
- Today 0