Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ class component_text extends project_brick
*/
public function set_fields()
{
$this->add_field(new acf_fields\wysiwyg( 'Content' , 'text' , '202001031024a' ));
$this->add_field(new acf_fields\text( 'Content' , 'text' , '202001031024a', [
'instructions' => 'Keep the summary text concise and under 350 characters (including spaces).',
'maxlength' => 350
] ));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public function set_fields()
'layout' => 'row'
]);

//$l = new layout('', 'text', '202001031019a');
//$l->add_brick(new component_text('text', '202001031019b'));
//$fc->add_layout($l);
$l = new layout('', 'text', '202001031019a');
$l->add_brick(new component_text('text', '202001031019b'));
$fc->add_layout($l);

$l = new layout('', 'intro', '202001031449a');
$l->add_brick(new component_intro('intro', '202001031449b'));
Expand Down
Loading