{"id":2580415,"date":"2018-07-26T06:15:31","date_gmt":"2018-07-26T06:15:31","guid":{"rendered":"https:\/\/wpml.org\/?p=2580415"},"modified":"2020-11-25T12:45:02","modified_gmt":"2020-11-25T12:45:02","slug":"creating-custom-content-for-multilingual-sites-with-toolset","status":"publish","type":"post","link":"https:\/\/wpml.org\/ja\/tutorials\/2018\/07\/creating-custom-content-for-multilingual-sites-with-toolset\/","title":{"rendered":"Creating custom content for multilingual sites with Toolset"},"content":{"rendered":"<p class=\"lead\">In this post, we show how easy it is to build the custom structure for your site. We\u2019ll use Types and View Lite plugins, which are available from your WPML account.<\/p>\n<h2>Custom Types and Fields Help Organize Content<\/h2>\n<p>The most important thing for your clients is being able to manage the site\u2019s content, without having to ask you for every edit.<\/p>\n<p>Custom post types and fields make this happen. They allow editing content in an intuitive and organized way.<\/p>\n<div class=\"embed-responsive embed-responsive-16by9\"><iframe title=\"How custom types and fields make it easy to manage content\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/BNu5PGG93J0?feature=oembed&#038;enablejsapi=1&#038;origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<p>As you can see, this is how to structure your custom content:<\/p>\n<ul>\n<li>Use <b>custom post types<\/b> to separate content from your regular WordPress posts and pages. You might have a post type for Portfolio, Tours, Books, Ads, Products\u2026 whatever you need.<\/li>\n<li>Use <b>custom fields <\/b>to easily add information to each custom post and then display it on the front-end separately from the post&#8217;s main &#8220;body&#8221;. For example, each custom &#8220;book&#8221; post can have fields for &#8220;Date of publishing&#8221;, &#8220;Author&#8221;, &#8220;Publisher&#8221;, &#8220;Price&#8221;, and anything else you require.<\/li>\n<li>Use <b>custom taxonomies <\/b>to categorize your posts. For example, your &#8220;Movie&#8221; and &#8220;Book&#8221; posts could belong to different &#8220;genres&#8221;, where &#8220;Genre&#8221; is a custom taxonomy you create.<\/li>\n<\/ul>\n<h2>Step 1) Install Types Plugin<\/h2>\n<p>To create these custom post types, fields and taxonomies, you will need <strong>Types<\/strong> plugin. Go to your <a href=\"https:\/\/wpml.org\/account\/\">WPML account<\/a> and click on <strong>Downloads<\/strong>. Scroll to the <strong>Toolset<\/strong> section and download <strong>Types<\/strong>.<\/p>\n<h2>Step 2) Create Your Site&#8217;s Custom Structure<\/h2>\n<p>Once you have <strong>Types<\/strong> plugin installed, go to <b>Toolset &gt; Dashboard<\/b> in the WordPress admin. Here, you can create new post types and create custom fields, taxonomies, and more.<\/p>\n<figure id=\"attachment_2580555\" aria-describedby=\"caption-attachment-2580555\" style=\"width: 972px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"size-full wp-image-2580555\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-dashboard-overview.png\" alt=\"Use Toolset Dashboard to easily create custom post types, fields, and taxonomies\" width=\"972\" height=\"475\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-dashboard-overview.png 972w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-dashboard-overview-150x73.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-dashboard-overview-300x147.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-dashboard-overview-768x375.png 768w\" sizes=\"(max-width: 972px) 100vw, 972px\" \/><figcaption id=\"caption-attachment-2580555\" class=\"wp-caption-text\">Use Toolset Dashboard to easily create custom post types, fields, and taxonomies<\/figcaption><\/figure>\n<p>For a step-by-step guide, please visit the Toolset page about <a href=\"https:\/\/toolset.com\/documentation\/getting-started-with-toolset\/structure-your-data-with-custom-post-types-fields-and-taxonomies\/\">setting up custom post types, fields, and taxonomy<\/a>.<\/p>\n<h2>Step 3) Write the New Content<\/h2>\n<p>Once you&#8217;ve created custom types (with their fields and taxonomy), you can go ahead and start writing content. This content will not yet appear on the site&#8217;s front-end, but it&#8217;s ready in the WordPress admin.<\/p>\n<table>\n<tbody>\n<tr>\n<th>List of custom posts<\/th>\n<th>Editing custom posts<\/th>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-list-of-custom-content-in-the-backend.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-2582888\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-list-of-custom-content-in-the-backend-300x175.png\" alt=\"List of custom posts in the backend\" width=\"300\" height=\"175\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-list-of-custom-content-in-the-backend-300x175.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-list-of-custom-content-in-the-backend-150x88.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-list-of-custom-content-in-the-backend-768x448.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-list-of-custom-content-in-the-backend.png 947w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<td><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-2582899\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend-266x300.png\" alt=\"Editing custom posts in the backend\" width=\"266\" height=\"300\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend-266x300.png 266w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend-133x150.png 133w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend-768x867.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend-907x1024.png 907w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend-300x339.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/07\/toolset-editing-custom-content-in-the-backend.png 990w\" sizes=\"(max-width: 266px) 100vw, 266px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can already see the benefits of using custom types. Now, you can organize the site&#8217;s different content to appear as separate menu items. Different items have their own fields, matching the information that they need to hold.<\/p>\n<h2>What&#8217;s Next?<\/h2>\n<p>There are a number of great courses which will help reinforce what you have learned. Check out this great list of the <a href=\"https:\/\/wpbuffs.com\/ways-to-learn-wordpress-online\/\">best online resources to learn WordPress<\/a> which will take you through exactly what you need to learn as well as which course is the best fit for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we show how easy it is to build the custom structure for your site. We\u2019ll use Types and View Lit [&hellip;]<\/p>\n","protected":false},"author":76577,"featured_media":2735512,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2580415","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/posts\/2580415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/users\/76577"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/comments?post=2580415"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/posts\/2580415\/revisions"}],"predecessor-version":[{"id":7525313,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/posts\/2580415\/revisions\/7525313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/media\/2735512"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/media?parent=2580415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/categories?post=2580415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/ja\/wp-json\/wp\/v2\/tags?post=2580415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}