{"id":25786,"date":"2013-10-22T19:43:29","date_gmt":"2013-10-22T19:43:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-template-on-the-fly\/"},"modified":"2013-10-30T10:51:43","modified_gmt":"2013-10-30T10:51:43","slug":"wp-template-on-the-fly","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-template-on-the-fly\/","author":12410667,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.1","tested":"3.6.1","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"WP Template On The Fly","header_author":"Mohammad Ali Aghababaei Amir","header_description":"","assets_banners_color":"302a24","last_updated":"2013-10-30 10:51:43","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/alibabaei.com\/category\/web-development\/wordpress\/plugins\/wp-template-on-the-fly\/","header_plugin_uri":"http:\/\/alibabaei.com\/wp\/plugins\/wp_template_on_the_fly\/","header_author_uri":"http:\/\/alibabaei.com\/","rating":1,"author_block_rating":0,"active_installs":10,"downloads":3034,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<p>I am sorry if version 1.0 did not work, please upgrade so this version will fix bugs and errors and now, will work perfect.<\/p>"},"ratings":{"1":"3","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"791974","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"791974","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"791974","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"791974","resolution":"3","location":"assets"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"791974","resolution":"4","location":"assets"},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"791974","resolution":"5","location":"assets"},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":"791974","resolution":"6","location":"assets"},"screenshot-7.jpg":{"filename":"screenshot-7.jpg","revision":"795716","resolution":"7","location":"assets"},"screenshot-8.jpg":{"filename":"screenshot-8.jpg","revision":"795716","resolution":"8","location":"assets"},"screenshot-9.jpg":{"filename":"screenshot-9.jpg","revision":"795716","resolution":"9","location":"assets"}},"screenshots":{"1":"List of all templates, either I created and yours, these templates can be activated, then WP will use these templates instead of template files in \/themes directory.","2":"Tail of above list.","3":"Create new template, select type of it, for example I want to create Specific Template for specific term from specific taxonomy! then I should select <strong>taxonomy-$taxonomy-$term.php<\/strong> from <strong>Template Type List<\/strong>","4":"Whe I selected <strong>taxonomy-$taxonomy-$term.php<\/strong>, a simple form appeared by ajax, in this form i can select <strong>taxonomy<\/strong> and <strong>term<\/strong>, when i click on <strong>create<\/strong> button, template will be created, this template will be used by WP if i activate it.","5":"Here I can <strong>Create<\/strong> any <strong>Sidebar<\/strong> or <strong>Remove<\/strong> them. these sidebars can be used anywhere in WP, as well, WPTOF.","6":"Here I can <strong>Append<\/strong> any sidebar to any template, apply style to templates, apply style to sidebars, order sidebars, or deappend sidebars.","7":"2 sidebar added to a template.","8":"15 sidebar added to a template. I changed styles of sidebars so presentation changed by ajax.","9":"This is how my sample template will be shown, but there is now plugins inside sidebars, only remained step is it. I should go to Widget page of WP and add any plugin to my sidebar, once I added them, they will apear in my sample tempalte. thet's it, enjoy."}},"plugin_section":[],"plugin_tags":[168,975,1141],"plugin_category":[43],"plugin_contributors":[90627],"plugin_business_model":[],"class_list":["post-25786","plugin","type-plugin","status-closed","hentry","plugin_tags-sidebar","plugin_tags-template","plugin_tags-theme","plugin_category-customization","plugin_contributors-alimotorolla","plugin_committers-alimotorolla"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-template-on-the-fly_302a24.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-1.jpg?rev=791974","caption":"List of all templates, either I created and yours, these templates can be activated, then WP will use these templates instead of template files in \/themes directory."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-2.jpg?rev=791974","caption":"Tail of above list."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-3.jpg?rev=791974","caption":"Create new template, select type of it, for example I want to create Specific Template for specific term from specific taxonomy! then I should select <strong>taxonomy-$taxonomy-$term.php<\/strong> from <strong>Template Type List<\/strong>"},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-4.jpg?rev=791974","caption":"Whe I selected <strong>taxonomy-$taxonomy-$term.php<\/strong>, a simple form appeared by ajax, in this form i can select <strong>taxonomy<\/strong> and <strong>term<\/strong>, when i click on <strong>create<\/strong> button, template will be created, this template will be used by WP if i activate it."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-5.jpg?rev=791974","caption":"Here I can <strong>Create<\/strong> any <strong>Sidebar<\/strong> or <strong>Remove<\/strong> them. these sidebars can be used anywhere in WP, as well, WPTOF."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-6.jpg?rev=791974","caption":"Here I can <strong>Append<\/strong> any sidebar to any template, apply style to templates, apply style to sidebars, order sidebars, or deappend sidebars."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-7.jpg?rev=795716","caption":"2 sidebar added to a template."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-8.jpg?rev=795716","caption":"15 sidebar added to a template. I changed styles of sidebars so presentation changed by ajax."},{"src":"https:\/\/ps.w.org\/wp-template-on-the-fly\/assets\/screenshot-9.jpg?rev=795716","caption":"This is how my sample template will be shown, but there is now plugins inside sidebars, only remained step is it. I should go to Widget page of WP and add any plugin to my sidebar, once I added them, they will apear in my sample tempalte. thet's it, enjoy."}],"raw_content":"<!--section=description-->\n<p>Create templates on the fly.<\/p>\n\n<p>Just by some few clicks.<\/p>\n\n<p>Override your theme's template files by your wish.<\/p>\n\n<p>Create any number of sidebars you want.<\/p>\n\n<p>Put sidebars in your custom created templates.<\/p>\n\n<p>Apply your custom style to created sidebars as well as templates.<\/p>\n\n<p>Add any number of plugins to sidebars.<\/p>\n\n<p>And its done, yes!<\/p>\n\n<p>You created new theme which you can edit it from 0% to 100% by only some clicks, any time, any where, and for any reason, and add any number of custom template to your theme too.<\/p>\n\n<p>This version is just for start. There are many  extreme properties which I designed, but I need more time to implement them, be patient.<\/p>\n\n<p>Help me make it better by your ideas as well as subscription payment!<\/p>\n\n<p>This plugin will change the world of WordPress Theme Development!<\/p>\n\n<p>You not agree? let see!<\/p>\n\n<p><strong>Documents - Tutorial - Gallery - Donate - Help &amp; Support and .... at <a href=\"http:\/\/alibabaei.com\">alibabaei.com<\/a><\/strong><\/p>\n\n<h4>Documentation<\/h4>\n\n<p>WP : WordPress<\/p>\n\n<p>WPTOF : WP Template On The Fly<\/p>\n\n<h4>What is the approach?<\/h4>\n\n<p>If you are familiar with WP, you know that it is based on <strong>Post<\/strong>s.<\/p>\n\n<p>But <strong>Post<\/strong>s have <strong>ID<\/strong>, <strong>Title<\/strong>, <strong>Date<\/strong>, they can have <strong>Category<\/strong>s, <strong>Custom Taxonomy<\/strong>s, <strong>Tag<\/strong>s, <strong>Custom Post Type<\/strong>s and so on.<\/p>\n\n<p>Then think you have created your blog with some <strong>Post<\/strong>s, <strong>Page<\/strong>s, other <strong>Custom Post Type<\/strong> <strong>Post<\/strong>s, some <strong>Category<\/strong>s, some <strong>Custom Taxonomy<\/strong>s, some <strong>Tags<\/strong>s, some of them are published by some <strong>Author<\/strong>s, in some <strong>Month<\/strong>s, <strong>Year<\/strong>s, <strong>Day<\/strong>s, <strong>Week<\/strong>s, and in continue, you have uploaded some <strong>Attachment<\/strong> to your blog.<\/p>\n\n<p>What should you do if you decided to make <strong>Specific Template<\/strong> per <strong>Post<\/strong>?<\/p>\n\n<p>In the best case you have read codex.wordpress.org articles and made a good understanding on it, then you can create some files to gain your goal.<\/p>\n\n<p>But if you have no knowledge in PHP, WP Functions and Coding Structure and etc, what should you do?<\/p>\n\n<p>Before you email me to do such jobs for you, I decided to do it by myself, in general purpose, and with all aspects and considerations.<\/p>\n\n<p><strong>Specific Template<\/strong> can be made based on <strong>ID<\/strong> of <strong>Post<\/strong>, <strong>Date<\/strong> such as <strong>Year<\/strong>, <strong>Month<\/strong> and <strong>Day<\/strong> of publish, the <strong>Author<\/strong>, the <strong>Type<\/strong> of <strong>Post<\/strong>, <strong>Tag<\/strong>, <strong>Category<\/strong>, <strong>Taxonomy<\/strong>, or if its an <strong>Attachment<\/strong>, it can be made based on <strong>Mimetype<\/strong>, <strong>Subtype<\/strong>, or <strong>Mimetype_Subtype<\/strong>.<\/p>\n\n<p>It is the capability of WP, not me, not you, not any one else.<\/p>\n\n<p>But using this capability is hard for publics, conversely, easy or less hard to programmers.<\/p>\n\n<p>By WPTOF, you can create any <strong>Specific Template<\/strong> you want, for any reason, by some clicks.<\/p>\n\n<p>No programming skill you need as well as no WP structural understanding.<\/p>\n\n<p>Because you will not create any <strong>.php<\/strong> file, although you will create <strong>Template<\/strong>!<\/p>\n\n<p>Yes!<\/p>\n\n<p><strong>All job is done as virtual.<\/strong><\/p>\n\n<h4>Process:<\/h4>\n\n<p>you will create <strong>Template<\/strong>s by just select <strong>Type of Template<\/strong>,<\/p>\n\n<p>which is : <strong>Which request the Template will serve to?<\/strong>,<\/p>\n\n<p>you will save <strong>Template<\/strong>s in <strong>Database<\/strong>,<\/p>\n\n<p>you will apply <strong>Style<\/strong> to <strong>Template<\/strong>s by just some click and inserting some values, as well,<\/p>\n\n<p>you will save <strong>Style<\/strong> of <strong>Template<\/strong>s into <strong>Database<\/strong>,<\/p>\n\n<p>you will create some boxes to be displayed in <strong>Template<\/strong>s,<\/p>\n\n<p>these boxes are <strong>Sidebar<\/strong>s,<\/p>\n\n<p>(although they can be in center, top or bottom, or anywhere, the surname is remained <strong>Sidebar<\/strong> since past),<\/p>\n\n<p>any <strong>Sidebar<\/strong> has a unique name,<\/p>\n\n<p>then you will apply <strong>Style<\/strong> to <strong>Sidebar<\/strong>s by just some click and inserting some values, as well,<\/p>\n\n<p>you will save <strong>Style<\/strong> of <strong>Sidebar<\/strong>s into <strong>Database<\/strong>,<\/p>\n\n<p>you will sort <strong>Sidebar<\/strong>s by your wish in each <strong>Template<\/strong>,<\/p>\n\n<p>then you will find some <strong>Plugin<\/strong>s, going to <strong>Widgets<\/strong> page, you will assign those <strong>Plugin<\/strong>s to <strong>Sidebar<\/strong>s,<\/p>\n\n<p>and that's it.<\/p>\n\n<h4>Point 1:<\/h4>\n\n<p>Any <strong>Sidebar<\/strong> can be in any <strong>Template<\/strong>, it can be repeated multiple times in a <strong>Template<\/strong>, as well, in the same time, it can be in other <strong>Template<\/strong>s, <strong>Style<\/strong> of <strong>Sidebar<\/strong> is applied to it everywhere it is, in any <strong>Template<\/strong> and in any <strong>Sort<\/strong> number.<\/p>\n\n<h4>Example 1:<\/h4>\n\n<p>Create <strong>index.php<\/strong>, if there is no <strong>Theme<\/strong> and no other <strong>Template<\/strong>s, for any request WP will select <strong>index.php<\/strong>. (See WP <strong>Template<\/strong> Hierarchy)<\/p>\n\n<p>Apply some <strong>Style<\/strong>s, such as <strong>max-width<\/strong>, <strong>padding<\/strong> and <strong>margin<\/strong>.<\/p>\n\n<p><strong>Notice:<\/strong> WPTOF will print a <strong>div<\/strong> for <strong>Template<\/strong> and will apply <strong>Style<\/strong> to it. (If you have no idea which <strong>div<\/strong> is, don't worry, there is no need to know!)<\/p>\n\n<p>You can see any changes in <strong>Style<\/strong> after you clicked on <strong>Save Style<\/strong> button.<\/p>\n\n<p>In the next step, create a <strong>Sidebar<\/strong> and name it <strong>Header<\/strong>.<\/p>\n\n<p>Going to <strong>Template-Sidebar<\/strong> tab, assign new <strong>Sidebar<\/strong> to your new <strong>Template<\/strong>.<\/p>\n\n<p>Now you will see a box added to <strong>Template<\/strong> box, click on new box, <strong>Active<\/strong> sign appeared, <strong>Style Target<\/strong> changed, now you can change the <strong>Default Style<\/strong> of new children box.<\/p>\n\n<p>It will result a <strong>Template<\/strong> box which is <strong>Parent<\/strong>, and a <strong>Sidebar<\/strong> box which is <strong>Children<\/strong>.<\/p>\n\n<p>In this Time you can go to <strong>Widgets<\/strong> page of WP and assign a plugin to it.<\/p>\n\n<p>In this example i assumed that you want show only one <strong>Banner<\/strong> in your <strong>Header Sidebar<\/strong>.<\/p>\n\n<p>Then you can install <strong>Image Banner Widget<\/strong> and put an banner image into your sidebar.<\/p>\n\n<p>This was soooooo simple, wasn't it?!<\/p>\n\n<p>Now you can create any number of <strong>Template<\/strong>s and assign this <strong>Header Sidebar<\/strong> to them.<\/p>\n\n<p>In fact you created a simple <strong>Theme<\/strong>, but untill now, only <strong>Header<\/strong> part of it is complete!<\/p>\n\n<h4>Some definitions:<\/h4>\n\n<h4>Template:<\/h4>\n\n<p>When you install WP, it came with default <strong>Theme<\/strong>.<\/p>\n\n<p>Going to \/wp-content\/themes\/<strong>Current Theme<\/strong> directory, you will see some <strong>.php<\/strong> files, as well as some folders and etc.<\/p>\n\n<p>Some of those <strong>.php<\/strong> files are <strong>Template<\/strong>s.<\/p>\n\n<p>Then, short concept, any <strong>Theme<\/strong> is made of <strong>Template<\/strong>s and other things, but <strong>Template<\/strong>s are basic.<\/p>\n\n<p>Without <strong>Template<\/strong>s, no <strong>Theme<\/strong> can show posts, pages, archives or etc.<\/p>\n\n<p>Then <strong>Template<\/strong> is a <strong>.php<\/strong> file which is related to a part of WP, and <strong>Theme<\/strong> is made of <strong>Template<\/strong>s, each for responding to the kind of visitor's requests.<\/p>\n\n<p>When WP receives a request, which has a URL, and is sent by site visitors, it tries to find the <strong>Template<\/strong> provided by <strong>Theme<\/strong> to reply to such kind of requests, when found, WP will load <strong>Template<\/strong>, which is, <strong>.php<\/strong> file.<\/p>\n\n<p>We will see the WP <strong>Template<\/strong> Hierarchy later (as well as you can see it in <strong>Template<\/strong> tab in WPTOF setting page, it is shown as <strong>Parent<\/strong> fields of <strong>Primary<\/strong> <strong>Template<\/strong>s), but now you should know that WP will search <strong>Template<\/strong>s in a hierarchical manner, such as a tree, for example, if a leaf not found, WP will search for parent of that leaf, if parent not found, WP will search for grand parent of leaf and so on.<\/p>\n\n<p>At the end, if there was no <strong>Tempalte<\/strong> except <strong>index.php<\/strong>, it will be shown to the visitor.<\/p>\n\n<h4>Point 1:<\/h4>\n\n<p>If you want the <strong>Template<\/strong>s in WPTOF override their brothers in your WP installed <strong>Theme<\/strong>, you should <strong>Active<\/strong> them, if they are <strong>Inactive<\/strong>, they will not be considered by WP at all.<\/p>\n\n<h4>Example 2:<\/h4>\n\n<p><strong>page.php<\/strong> is a <strong>Template<\/strong> to show <strong>Page<\/strong>s.<\/p>\n\n<p><strong>archive.php<\/strong> is a <strong>Template<\/strong> to show any <strong>Archive<\/strong>s.<\/p>\n\n<p><strong>category.php<\/strong> is a <strong>Template<\/strong> to show <strong>Category<\/strong>s.<\/p>\n\n<p><strong>author.php<\/strong> is a <strong>Template<\/strong> to show <strong>Author<\/strong>s.<\/p>\n\n<h4>Example 3:<\/h4>\n\n<p>If request URL is for a <strong>Category<\/strong>, WP will search for <strong>category.php<\/strong>, if it found, it will be shown, else WP will search for <strong>archive.php<\/strong>, in same manner, if it found it will be shown, else WP will search for <strong>index.php<\/strong>.<\/p>\n\n<h4>Some used words:<\/h4>\n\n<h4>Primary:<\/h4>\n\n<p>These are constant <strong>Template<\/strong>s which I created and inserted to WPTOF database, without them WPTOF could not did the job correctly, these <strong>Template<\/strong>s are defined and you have no need to define them, they number is too less than number of <strong>Template<\/strong>s which you can define.<\/p>\n\n<p>If you want to use them, add them <strong>Sidebar<\/strong>s and <strong>Active<\/strong> them, then they will be shown by WP.<\/p>\n\n<h4>These <strong>Template<\/strong>s are:<\/h4>\n\n<ul>\n<li>index.php<\/li>\n<li>\n<ul>\n<li>404.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>archive.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>author.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>category.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>date.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>day.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>month.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>year.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>tag.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>taxonomy.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>comments-pupop.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>home.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>front-page.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>page.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>paged.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>search.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>single.php<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>attachment.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>single-post.php<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p>These are <strong>Constant<\/strong> <strong>Template<\/strong>s, so you can only add <strong>Sidebar<\/strong>s to them and <strong>Active<\/strong> them, but there are some <strong>Variable<\/strong> <strong>Template<\/strong>s which are as following:<\/p>\n\n\n\n<p><strong>archive-$posttype.php<\/strong><\/p>\n\n<p>[Child of <strong>archive.php<\/strong>]<\/p>\n\n<p>*** The bolder part of <strong>Template<\/strong>'s name is <strong>Variable<\/strong>, but as its word shows, <strong>$posttype<\/strong>, it expects a <strong>Post Type<\/strong>, which can be <strong>Post<\/strong>, <strong>page<\/strong>, or other <strong>Custom Post Type<\/strong>.<\/p>\n\n<p>If you created a <strong>Custom Post Type<\/strong> and want to allocate <strong>Specific Template<\/strong> to its <strong>Archive<\/strong>, create this type of <strong>Template<\/strong>, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Post Type<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>year-$year.php<\/strong><\/p>\n\n<p>[Child of <strong>year.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to the <strong>Post<\/strong>s of certain year, create this type of <strong>Template<\/strong>, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a text box for you to insert year number, in should be in 4 digit format like 2013.<\/p>\n\n\n\n<p><strong>month-$month.php<\/strong><\/p>\n\n<p>[Child of <strong>month.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to the <strong>Post<\/strong>s of certain month, create this type of <strong>Template<\/strong>, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a text box for you to insert month number, in should be in 2 digit format like 10.<\/p>\n\n\n\n<p><strong>day-$day.php<\/strong><\/p>\n\n<p>[Child of <strong>day.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to the <strong>Post<\/strong>s of certain day, create this type of <strong>Template<\/strong>, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a text box for you to insert day number, in should be in 2 digit format like 06.<\/p>\n\n\n\n<p><strong>taxonomy-$taxonomy.php<\/strong><\/p>\n\n<p>[Child of <strong>taxonomy.php<\/strong>]<\/p>\n\n<p>If you created a <strong>Custom Taxonomy<\/strong> and  want to allocate <strong>Specific Template<\/strong> to it, create this type of <strong>Template<\/strong>, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Custom Taxonomy<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>taxonomy-$taxonomy-$term.php<\/strong><\/p>\n\n<p>[Child of <strong>taxonomy-$taxonomy.php<\/strong>]<\/p>\n\n<p>If you created a <strong>Custom Taxonomy<\/strong> and  want to allocate <strong>Specific Template<\/strong> to certain <strong>Term<\/strong> of this type, create this type of <strong>Template<\/strong>, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Custom Taxonomy<\/strong>s  as well as a list of <strong>Term<\/strong>s from each <strong>Custom Taxonomy<\/strong> for you to select.<\/p>\n\n\n\n<p><strong>category-$id.php  |  category-$slug.php<\/strong><\/p>\n\n<p>[Child of <strong>category.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to certain <strong>Category<\/strong> by <strong>id<\/strong> or <strong>slug<\/strong>, create on of these types of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Category<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>tag-$id.php  |  tag-$slug.php<\/strong><\/p>\n\n<p>[Child of <strong>tag.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to certain <strong>Tag<\/strong> by <strong>id<\/strong> or <strong>slug<\/strong>, create on of these types of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Tag<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>page-$id.php  |  page-$slug.php<\/strong><\/p>\n\n<p>[Child of <strong>page.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to certain <strong>Page<\/strong> by <strong>id<\/strong> or <strong>slug<\/strong>, create on of these types of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Page<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>author-$id.php  |  author-$nicename.php<\/strong><\/p>\n\n<p>[Child of <strong>author.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to certain <strong>Author<\/strong> by <strong>id<\/strong> or <strong>nicename<\/strong>, create on of these type of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Author<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>single-$posttype.php<\/strong><\/p>\n\n<p>[Child of <strong>single.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to show single <strong>Post<\/strong>s of certain <strong>Post Type<\/strong>, create on of this type of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Post Type<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>$mimetype.php<\/strong><\/p>\n\n<p>[Child of <strong>attachment.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to show single <strong>Attachment<\/strong>s of certain <strong>Mime Type<\/strong>, create on of this type of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Mime Type<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>$subtype.php<\/strong><\/p>\n\n<p>[Child of <strong>attachment.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to show single <strong>Attachment<\/strong>s of certain <strong>Sub Type<\/strong>, create on of this type of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>Sub Type<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>$mimetype_subtype.php<\/strong><\/p>\n\n<p>[Child of <strong>attachment.php<\/strong>]<\/p>\n\n<p>If you want to allocate <strong>Specific Template<\/strong> to show single <strong>Attachment<\/strong>s of certain <strong>Mime Type &amp; Sub Type<\/strong>, create on of this type of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>mimetype_subtype<\/strong>s for you to select.<\/p>\n\n\n\n<p><strong>$custom.php<\/strong><\/p>\n\n<p>[Child of <strong>page.php<\/strong> or <strong>index.php<\/strong>]<\/p>\n\n<p>If you want to define a custom <strong>Template<\/strong> to allocate it to any page or anything possible, create on of this type of <strong>Template<\/strong>s, add <strong>Sidebar<\/strong>s to it, and finally <strong>Active<\/strong> it.<\/p>\n\n<p>I provided a list of <strong>mimetype_subtype<\/strong>s for you to select.<\/p>\n\n\n\n<p>Now you know which type of <strong>Template<\/strong>s you can create and how.<\/p>\n\n<p>When you created a <strong>Template<\/strong> from one of above <strong>Variable Template<\/strong>s, you will see that the <strong>Primary<\/strong> field of its record will be yellow image, it means your new <strong>Template<\/strong> is not <strong>Primary<\/strong>, because you created it, not me!:))<\/p>\n\n<p>Now you know what are <strong>Active<\/strong>, <strong>Inactive<\/strong>, <strong>Primary<\/strong>.<\/p>\n\n<p><strong>Deleted<\/strong> is not anything, do not pay attention to it!:))<\/p>\n\n<p>When you created your custom <strong>Template<\/strong>s, you should go to <strong>Sidebar<\/strong>s.<\/p>\n\n<p>Here we go!<\/p>\n\n<h4>Sidebar:<\/h4>\n\n<p>When you install <strong>Theme<\/strong>s or use default <strong>Theme<\/strong>, certainly you would deal with <strong>Sidebar<\/strong>s.<\/p>\n\n<p>You would install some of the <strong>Plugin<\/strong>s and put their <strong>Widget<\/strong>s in <strong>Sidebar<\/strong>s.<\/p>\n\n<p>There is no difference between your previous <strong>Theme<\/strong>'s <strong>Sidebar<\/strong>s and newly created <strong>Sidebar<\/strong>s in WPTOF.<\/p>\n\n<p>The points are:<\/p>\n\n<p>1- WPTOF <strong>Sidebar<\/strong>s are dynamically <strong>Create<\/strong>d by you, not by your <strong>Theme<\/strong> developer.<\/p>\n\n<p>2- WPTOF <strong>Sidebar<\/strong>s are dynamically <strong>Style<\/strong>d by you, not by your <strong>Theme<\/strong> developer.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to Plugins-&gt;Add New.<\/li>\n<li>Search for 'WP Template On The Fly'.<\/li>\n<li>Install and Activate it.<\/li>\n<li>Enjoy Theming on the fly.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can i use this?<\/dt>\n<dd><p>Come to my site and pay for tutorial.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>This version fixes some bugs and errors in JS and jQuery coding, so the plugin will work perfect now.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Create templates, override your theme&#039;s template files, create sidebars, put sidebars in your templates, apply your custom style, add plugins.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25786"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alimotorolla"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25786"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25786"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25786"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25786"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25786"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}