TypeRocket is like Advanced Custom Fields + Laravel + Magic in WordPress for FREE.
TypeRocket gives you extendable and modern tools to build anything you want on WordPress.
- Build component based designs
- Register post types
- Register taxonomies
- Create meta boxes
- Add pages
- Use forms and fields
- Use models, controllers, and views
- Register custom routes and middleware
- The list goes on...
Let the code speak for itself. (WordPress hooks not required)
// Register Post Type
$person = tr_post_type('Person');
// Chain Methods with Eloquence
$person->setIcon('users')
->setTitlePlaceholder( 'Enter full name here' )
->setArchivePostsPerPage(-1);
->setTitleForm( function() {
$form = tr_form();
echo $form->image('Photo');
echo $editor->text('Company');
echo $editor->textarea('About Person');
});
// Add Sortable Columns to Admin Index View
$person->addColumn('company', true);
// REST API
$person->setRest('person');
$form = tr_form();
// Basic
echo $form->repeater('Speakers')->setFields([
$form->image('Photo'),
$form->text('Name'),
$form->text('Slides URL')
]);
// With Layout Tabs
$tabs = tr_tabs()->bindCallbacks();
$tabs->addTab('Content')
->setTabFields('Content', [
$form->textarea('Quote', ['maxlength' => 200]),
$form->row(
$form->text('First Name'),
$form->text('Last Name')
)
]);
$tabs->addTab('Images')
->setTabFields('Images', [
$form->image('Avatar'),
$form->gallery('Gallery'),
]);
echo $form->repeater('Stories')
->setFields([$tabs])
->setHeadline('Story');
TypeRocket is open-sourced software licenced under the GNU General Public License 3.0