{"id":739,"date":"2017-12-12T11:17:55","date_gmt":"2017-12-12T16:17:55","guid":{"rendered":"https:\/\/carleton.ca\/cms-help\/?page_id=739"},"modified":"2022-03-03T09:15:18","modified_gmt":"2022-03-03T14:15:18","slug":"content-includes","status":"publish","type":"page","link":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/","title":{"rendered":"Content Includes"},"content":{"rendered":"<p>Content Includes allow you to create a piece of content once and re-use it in multiple places throughout your website. If you need to make a change to the content, you only have to do it in one place for it to show up in every instance of the Content Include across your site.<\/p>\n<h2>Step-by-Step<\/h2>\n<h3>Create a Content Include<\/h3>\n<ol>\n<li>Add a new Content Include <a href=\"https:\/\/carleton.ca\/cms-help\/basic-training\/module-1-getting-started\/managing-content-part-1\/\">using the side or top menu<\/a>.<\/li>\n<li>Add a title to the <strong>Add Title<\/strong> field.<\/li>\n<li>Add content to the content area.<\/li>\n<li>Click Publish.<\/li>\n<\/ol>\n<h3>Edit a Content Include<\/h3>\n<ol>\n<li>Navigate to <strong>All Content Includes<\/strong> using the side menu.<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1370 \" src=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include.png\" alt=\"\" width=\"369\" height=\"79\" srcset=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include.png 1081w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-240x52.png 240w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-400x86.png 400w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-160x34.png 160w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-768x165.png 768w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-360x77.png 360w\" sizes=\"(max-width: 369px) 100vw, 369px\" \/><\/li>\n<li>Open your Content Include.<\/li>\n<li>Make your edits.<\/li>\n<li>Click Update.<\/li>\n<li>These edits will appear in every instance of the Content Include on your website.<\/li>\n<\/ol>\n<h3>Add a Content Include to a Page<\/h3>\n<ol>\n<li>Add or edit the page to which you would like to add a Content Include.<img decoding=\"async\" loading=\"lazy\" class=\" wp-image-1371 alignright\" src=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-Icon.png\" alt=\"\" width=\"144\" height=\"148\" srcset=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-Icon.png 235w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Content-Include-Icon-160x164.png 160w\" sizes=\"(max-width: 144px) 100vw, 144px\" \/><\/li>\n<li>Click\u00a0<strong>Add Post Element\u00a0<\/strong>located above the Content Editor.<\/li>\n<li>Click the\u00a0<strong>Content Include<\/strong>\u00a0icon.<\/li>\n<li>Type the title of your Content Include into the drop down menu and select it.<\/li>\n<li>Click\u00a0<strong>Insert Element.<\/strong><\/li>\n<li>Publish or Update the page.<\/li>\n<\/ol>\n<h2>Video Tutorial<\/h2>\n<div class=\"content__video\"><iframe loading=\"lazy\" title=\"Module Three: Content Includes\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/xcTUw5vVHfY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<h3>Transcript<\/h3>\n<div class=\"slideme\"><dl class=\"slideme__list\"><dt class=\"slideme__term\"><a href=\"#slideme-module-three-content-includes\" aria-expanded=\"false\" aria-controls=\"slideme-module-three-content-includes\" class=\"slideme__heading slideme__trigger\">Module Three: Content Includes<\/a><\/dt><dd class=\"slideme__description\" id=\"slideme-module-three-content-includes\" aria-hidden=\"true\"><p><\/p>\n<p><span style=\"font-weight: 400;\">Hello and welcome to Module 3 of our Advanced CMS Training. This video will cover how to create Content Includes and add them to your page. A Content Include is a piece of content that you wish to display in multiple places on your website. By using a Content Include, you will be able to edit all these instances of content across your website by simply editing the base Content Include.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To create a new content include, hover over <strong>Content Includes<\/strong> in the side menu and click <strong>Add New<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Fill out the title in the <strong>Add Title<\/strong> field. The title will not display when the content is pulled onto the page, but you will need a title to be able to find your include.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then, add content to the content editor. You can add elements like media, post elements, and hyperlinks, just as you would for a page.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You also have the option to hide the content include everywhere it appears on your website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you have finished creating your content, publish your content include.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To add your content include to a page, go to your page and click <strong>Add Post Element<\/strong>. Click the <strong>Content Include<\/strong> icon and type the name of your include into the dropdown. Once it appears, click on it, and, finally, click <strong>Insert Element<\/strong>.<\/span><\/p>\n<p><\/p><\/dd><dl><\/div>\n<h2>Try It Out!<\/h2>\n<p>To test your knowledge, create a Content Include and add it to a page.<\/p>\n<ol>\n<li>Create a new content include and add some content, including an image and a link.<\/li>\n<li>Add your content include to your test page.<\/li>\n<li>Save your test page.<\/li>\n<\/ol>\n\n<div class=\"u-center-text\">\n\t<p>\n\t\t<a class=\"button__red button__red--solid\" href=\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/gallery\/\"  rel=\"noopener noreferrer\">Next: Gallery<\/a>\n\t<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Content Includes allow you to create a piece of content once and re-use it in multiple places throughout your website. If you need to make a change to the content, you only have to do it in one place for it to show up in every instance of the Content Include across your site. Step-by-Step [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":864,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Content Includes - Carleton CMS Help Centre<\/title>\n<meta name=\"description\" content=\"Content Includes allow you to create a piece of content once and re-use it in multiple places throughout your website. If you need to make a change to the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/\",\"url\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/\",\"name\":\"Content Includes - Carleton CMS Help Centre\",\"isPartOf\":{\"@id\":\"https:\/\/carleton.ca\/cms-help\/#website\"},\"datePublished\":\"2017-12-12T16:17:55+00:00\",\"dateModified\":\"2022-03-03T14:15:18+00:00\",\"description\":\"Content Includes allow you to create a piece of content once and re-use it in multiple places throughout your website. If you need to make a change to the\",\"breadcrumb\":{\"@id\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/carleton.ca\/cms-help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced Training\",\"item\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Module 3: Advanced Post Elements\",\"item\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Content Includes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/carleton.ca\/cms-help\/#website\",\"url\":\"https:\/\/carleton.ca\/cms-help\/\",\"name\":\"Carleton CMS Help Centre\",\"description\":\"Web Services - Carleton university\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/carleton.ca\/cms-help\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Content Includes - Carleton CMS Help Centre","description":"Content Includes allow you to create a piece of content once and re-use it in multiple places throughout your website. If you need to make a change to the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/","url":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/","name":"Content Includes - Carleton CMS Help Centre","isPartOf":{"@id":"https:\/\/carleton.ca\/cms-help\/#website"},"datePublished":"2017-12-12T16:17:55+00:00","dateModified":"2022-03-03T14:15:18+00:00","description":"Content Includes allow you to create a piece of content once and re-use it in multiple places throughout your website. If you need to make a change to the","breadcrumb":{"@id":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/content-includes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/carleton.ca\/cms-help\/"},{"@type":"ListItem","position":2,"name":"Advanced Training","item":"https:\/\/carleton.ca\/cms-help\/advanced-training\/"},{"@type":"ListItem","position":3,"name":"Module 3: Advanced Post Elements","item":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/"},{"@type":"ListItem","position":4,"name":"Content Includes"}]},{"@type":"WebSite","@id":"https:\/\/carleton.ca\/cms-help\/#website","url":"https:\/\/carleton.ca\/cms-help\/","name":"Carleton CMS Help Centre","description":"Web Services - Carleton university","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/carleton.ca\/cms-help\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"acf":{"banner_image_type":null,"banner_uploaded_image":null,"banner_hosted_image":null,"banner_opacity":null,"banner_button":null,"banner_buttons":null},"_links":{"self":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/739"}],"collection":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/comments?post=739"}],"version-history":[{"count":4,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/739\/revisions"}],"predecessor-version":[{"id":1387,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/739\/revisions\/1387"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/864"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/media?parent=739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}