| | |
| | | $tabs = false; |
| | | } |
| | | |
| | | |
| | | $fields = $this->fields; |
| | | if (!$this->isTimeline) { |
| | | $first = ['post_thumbnail', 'post_title', 'price']; |
| | |
| | | if ($tabs) { |
| | | $tabs['basic']['content'] .= Form::render($f, '', $fields[$f]); |
| | | } else { |
| | | Form::render($f, '', $fields[$f]); |
| | | echo Form::render($f, '', $fields[$f]); |
| | | } |
| | | |
| | | unset($fields[$f]); |
| | | } |
| | | } |
| | |
| | | if (in_array($config['type'], ['taxonomy', 'selector'])) { |
| | | $config = array_merge($config, $this->taxConfig($config['taxonomy'], $config['label'])); |
| | | } |
| | | Form::render($n, '', $config); |
| | | echo Form::render($n, '', $config); |
| | | } |
| | | } |
| | | |