Plugin Directory

Changeset 1440129


Ignore:
Timestamp:
06/20/2016 02:52:55 PM (10 years ago)
Author:
Trendwerk
Message:

Discontinue support

Location:
multiple-content-blocks
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • multiple-content-blocks/trunk/README.md

    r1136125 r1440129  
    22=========
    33
    4 Allow for more content blocks in WordPress than just the one.
    5 
    6 
    7 Installation
    8 --------------
    9 If you're using Composer to manage WordPress, add this plugin to your project's dependencies. Run:
    10 ```sh
    11 composer require trendwerk/multiple-content-blocks 3.2.2
    12 ```
    13 
    14 Or manually add it to your `composer.json`:
    15 ```json
    16 "require": {
    17     "trendwerk/multiple-content-blocks": "3.2.2"
    18 },
    19 ```
    20 
    21 
    22 How to use
    23 --------------
    24 Place one of the template tags in a WordPress template. When that template is used, an extra editor will appear in the back-end.
    25 
    26 
    27 Template tags
    28 --------------
    29 ```php
    30 the_block( $name, $args )
    31 ```
    32 This will display the $name content block
    33 
    34 ```php
    35 get_the_block( $name, $args )
    36 ```
    37 This will get $name content block's content, for you to process
    38 
    39 ```php
    40 has_block( $name, $args )
    41 ```
    42 Will check if a block exists and has content
    43 
    44 Additional arguments
    45 --------------
    46 ```php
    47 the_block( $name, array(
    48     'label'         => __( 'Admin label', 'text-domain' ),
    49     'type'          => 'one-liner',
    50     'apply_filters' => false,
    51 ) );
    52 ```
    53 
    54 ### label
    55 *(string)* Label for the admin area.
    56 
    57 Default: *None*
    58 
    59 ### type
    60 *(string)* The type of content block.
    61 
    62 Default: *editor*
    63 
    64 - **editor**: WordPress' WYSIWYG editor.
    65 - **one-liner**: A plain one line text field.
    66 
    67 ### apply_filters
    68 *(boolean)* Whether to apply `the_content` filters or not.
    69 
    70 Default: *true*
     4**Active development for this plugin has been discontinued. We would advice to use [Advanced Custom Fields](http://www.advancedcustomfields.com/) as an alternative.**
  • multiple-content-blocks/trunk/readme.txt

    r1220707 r1440129  
    77Stable tag: 3.2.2
    88
    9 Allow more content blocks in WordPress.
     9Active development for this plugin has been discontinued. We would advice to use Advanced Custom Fields (http://www.advancedcustomfields.com/) as an alternative.
    1010
    1111== Description ==
    1212
    13 Allows more content blocks in WordPress than just one.
    14 
    15 Documentation: https://github.com/trendwerk/multiple-content-blocks/
    16 
    17 == Installation ==
    18 
    19 1. Download the zip
    20 2. Unpack and upload to the /wp-content/plugins/ folder
    21 3. Activate the plugin
    22 4. Use one of the template tags. Documentation: https://github.com/trendwerk/multiple-content-blocks/
    23 
    24 == Screenshots ==
    25 
    26 1. Use a template tag
    27 2. And get an extra editor when editing
     13<strong>Active development for this plugin has been discontinued. We would advice to use Advanced Custom Fields (http://www.advancedcustomfields.com/) as an alternative.</strong>
    2814
    2915== Changelog ==
     16
     17<strong>Active development for this plugin has been discontinued. We would advice to use Advanced Custom Fields (http://www.advancedcustomfields.com/) as an alternative.</strong>
    3018
    3119= 3.2.2 =
Note: See TracChangeset for help on using the changeset viewer.