{"id":115479,"date":"2020-01-04T05:56:36","date_gmt":"2020-01-04T05:56:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/timeless-component-builder\/"},"modified":"2020-01-17T10:07:36","modified_gmt":"2020-01-17T10:07:36","slug":"timeless-component-builder","status":"closed","type":"plugin","link":"https:\/\/kal.wordpress.org\/plugins\/timeless-component-builder\/","author":15349673,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"5.3.21","requires":"4.6","requires_php":"7.0","requires_plugins":"","header_name":"Timeless Component Builder","header_author":"coder618","header_description":"Build Solid and Timeless Component, in minimum amount of time.","assets_banners_color":"","last_updated":"2020-01-17 10:07:36","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/coder618.github.io","header_plugin_uri":"","header_author_uri":"https:\/\/coder618.github.io","rating":0,"author_block_rating":0,"active_installs":10,"downloads":582,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>First relase.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[180390,180389,180605,180391],"plugin_category":[],"plugin_contributors":[175911],"plugin_business_model":[],"class_list":["post-115479","plugin","type-plugin","status-closed","hentry","plugin_tags-component-builder","plugin_tags-component-system","plugin_tags-tcb","plugin_tags-timeless-component-builder","plugin_contributors-coder618","plugin_committers-coder618"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/timeless-component-builder.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin will help developer to build component in minimum amount of time.\nThis plugin based on some wordpress core function like : add_filter , meta box , Custom post type.\nthats why you can consider this plugin is a timeless plugin, because i dont think WordPress going to replace \nthis function in the feature release.<\/p>\n\n<h3>How to use<\/h3>\n\n<h3>How to Create Component:<\/h3>\n\n<p>There are Only 2 step you have to follow to create a component, which is\n1. Create Component by registering Component Fields.\n2. Create Component Rendering Template (a .php file, you can use HTML markup there too)<\/p>\n\n<p>Detail:\nStep 1: \nTo Create a component Field first you have to define a function with any name you want. \nThen you need to add those function in a filter hook, name ---- tcb__fileds -----<\/p>\n\n<p>example:\nfunction banner_fields($arr){<br \/>\n    $arr['banner'] = [<br \/>\n        [\n            'type' =&gt; 'text',\n            'field' =&gt; 'title',\n            'label' =&gt; __('Banner Title', 'tcb'),\n            'columns' =&gt; '12',\n        ],<br \/>\n        [\n            'type' =&gt; 'textarea',\n            'field' =&gt; 'detail',\n            'label' =&gt; __('Banner detail', 'tcb'),\n            'columns' =&gt; '12',\n        ],<br \/>\n    ];\n    return $arr;\n}\nadd_filter( 'tcb__fields', 'banner_fields' );<\/p>\n\n<p>Step 2: \nCreate a template file (.php) at the location \" activated-theme\/tcb\/component-{$component-category}.php\"\nIn the template file you just have to call a function to receive the user input data.\neg: $component_data = tcb_data();\nAfter that all the user provided data will store in the $component_data variable as array.<\/p>\n\n<p>Now you can use the data as per your template need.<\/p>\n\n<p>Isn't that simple ?<\/p>\n\n<p>For Example full Documentation :\nPlease Visit: <a href=\"https:\/\/coder618.github.io\/tcb\">Plugin Landing Page<\/a><\/p>\n\n<h3>How to use a component<\/h3>\n\n<ol>\n<li>From Dashboard, go to Component-&gt;Add New<\/li>\n<li>Give a name and Select the Component Type\/Category and publish\/update the component post.<\/li>\n<li>You will find Component Related field with the component will be available below the title, user can provide the necessary data in the field and update the component post.<\/li>\n<li>Copy the shortcode and use it where you want to render\/view the component.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<\/ol>\n\n<p>This plugin do not have any settings page, so after install you just have to active the plugin, thats it.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Is this plugin have any settings page<\/dt>\n<dd><p>No, This plugin currently do not have any settings page. you just have to activated the plugin to use.<\/p><\/dd>\n<dt>Is this plugin compatible with other builder<\/dt>\n<dd><p>Yes, You can, use this plugin with other builder like : gutenberg, elementor, Composer etc. Because this component render via shortcode<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>File structure change with filter name.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"This plugin will help developer to build component in minimum amount of time.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/115479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=115479"}],"author":[{"embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/coder618"}],"wp:attachment":[{"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=115479"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=115479"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=115479"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=115479"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=115479"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=115479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}