CINXE.COM
Creating a Custom Post Type in WordPress - Toolset
<!DOCTYPE html> <html lang="en-US" class="no-js"> <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="profile" href="http://gmpg.org/xfn/11"/> <link rel="pingback" href="https://toolset.com/xmlrpc.php"/> <link rel="apple-touch-icon" sizes="180x180" href="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/img/apple-touch-icon.png"/> <script type="text/javascript" src="https://app.termly.io/resource-blocker/e9fa822a-6735-49a0-831d-faa4dc0ee97c?autoBlock=on" data-rocket-defer defer> </script><meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <!-- Google Tag Manager for WordPress by gtm4wp.com --> <script data-cfasync="false" data-pagespeed-no-defer> var gtm4wp_datalayer_name = "dataLayer"; var dataLayer = dataLayer || []; const gtm4wp_use_sku_instead = false; const gtm4wp_currency = 'EUR'; const gtm4wp_product_per_impression = false; const gtm4wp_clear_ecommerce = false; </script> <!-- End Google Tag Manager for WordPress by gtm4wp.com --><!-- OG publish time --><meta property="article:published_time" content="2020-05-11T14:39:55+00:00"><!-- / OG publish time --> <!-- This site is optimized with the Yoast SEO plugin v23.7 - https://yoast.com/wordpress/plugins/seo/ --> <title>Creating a Custom Post Type in WordPress - Toolset</title><link rel="preload" data-rocket-preload as="image" href="https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-1024x576.png" imagesrcset="https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-1024x576.png 1024w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-300x169.png 300w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-150x84.png 150w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-768x432.png 768w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-1536x864.png 1536w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-805x453.png 805w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type.png 1920w" imagesizes="(max-width: 1024px) 100vw, 1024px" fetchpriority="high"> <meta name="description" content="In this lesson, you will learn how to add custom post types (CPT) to WordPress sites with Toolset. We'll also cover how to customize the CPT listing and editing." /> <link rel="canonical" href="https://toolset.com/course-lesson/creating-a-custom-post-type/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Creating a Custom Post Type in WordPress - Toolset" /> <meta property="og:description" content="In this lesson, you will learn how to add custom post types (CPT) to WordPress sites with Toolset. We'll also cover how to customize the CPT listing and editing." /> <meta property="og:url" content="https://toolset.com/course-lesson/creating-a-custom-post-type/" /> <meta property="og:site_name" content="Toolset" /> <meta property="article:publisher" content="https://www.facebook.com/toolsetplugins/" /> <meta property="article:modified_time" content="2022-03-24T08:17:53+00:00" /> <meta property="og:image" content="https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type.png" /> <meta property="og:image:width" content="1920" /> <meta property="og:image:height" content="1080" /> <meta property="og:image:type" content="image/png" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@ToolsetPlugins" /> <meta name="twitter:label1" content="Est. reading time" /> <meta name="twitter:data1" content="1 minute" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://toolset.com/course-lesson/creating-a-custom-post-type/","url":"https://toolset.com/course-lesson/creating-a-custom-post-type/","name":"Creating a Custom Post Type in WordPress - Toolset","isPartOf":{"@id":"https://toolset.com/#website"},"primaryImageOfPage":{"@id":"https://toolset.com/course-lesson/creating-a-custom-post-type/#primaryimage"},"image":{"@id":"https://toolset.com/course-lesson/creating-a-custom-post-type/#primaryimage"},"thumbnailUrl":"https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type.png","dateModified":"2022-03-24T08:17:53+00:00","breadcrumb":{"@id":"https://toolset.com/course-lesson/creating-a-custom-post-type/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://toolset.com/course-lesson/creating-a-custom-post-type/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https://toolset.com/course-lesson/creating-a-custom-post-type/#primaryimage","url":"https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type.png","contentUrl":"https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type.png","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https://toolset.com/course-lesson/creating-a-custom-post-type/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://toolset.com/"},{"@type":"ListItem","position":2,"name":"Course lessons","item":"https://toolset.com/course-lesson/"},{"@type":"ListItem","position":3,"name":"Creating a Custom Post Type"}]},{"@type":"WebSite","@id":"https://toolset.com/#website","url":"https://toolset.com/","name":"Toolset","description":"WordPress development framework with no coding","publisher":{"@id":"https://toolset.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://toolset.com/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://toolset.com/#organization","name":"Toolset","url":"https://toolset.com/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://toolset.com/#/schema/logo/image/","url":"https://toolset.com/wp-content/uploads/2021/07/toolset-fb-dark-bg.jpg","contentUrl":"https://toolset.com/wp-content/uploads/2021/07/toolset-fb-dark-bg.jpg","width":1200,"height":628,"caption":"Toolset"},"image":{"@id":"https://toolset.com/#/schema/logo/image/"},"sameAs":["https://www.facebook.com/toolsetplugins/","https://x.com/ToolsetPlugins","https://www.linkedin.com/company/toolset","https://www.youtube.com/channel/UCkXU96V638K0OQ-297dL2qA"]}]}</script> <!-- / Yoast SEO plugin. --> <style id='wp-emoji-styles-inline-css' type='text/css'> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <style id='elasticpress-related-posts-style-inline-css' type='text/css'> .editor-styles-wrapper .wp-block-elasticpress-related-posts ul,.wp-block-elasticpress-related-posts ul{list-style-type:none;padding:0}.editor-styles-wrapper .wp-block-elasticpress-related-posts ul li a>div{display:inline} </style> <style id='view_editor_gutenberg_frontend_assets-inline-css' type='text/css'> .wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default > span.wpv-sort-list,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item {border-color: #cdcdcd;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item a {color: #444;background-color: #fff;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default a:hover,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default a:focus {color: #000;background-color: #eee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item.wpv-sort-list-current a {color: #000;background-color: #eee;} .wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default > span.wpv-sort-list,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item {border-color: #cdcdcd;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item a {color: #444;background-color: #fff;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default a:hover,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default a:focus {color: #000;background-color: #eee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item.wpv-sort-list-current a {color: #000;background-color: #eee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey > span.wpv-sort-list,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey .wpv-sort-list-item {border-color: #cdcdcd;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey .wpv-sort-list-item a {color: #444;background-color: #eeeeee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey a:hover,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey a:focus {color: #000;background-color: #e5e5e5;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey .wpv-sort-list-item.wpv-sort-list-current a {color: #000;background-color: #e5e5e5;} .wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default > span.wpv-sort-list,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item {border-color: #cdcdcd;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item a {color: #444;background-color: #fff;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default a:hover,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default a:focus {color: #000;background-color: #eee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-default .wpv-sort-list-item.wpv-sort-list-current a {color: #000;background-color: #eee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey > span.wpv-sort-list,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey .wpv-sort-list-item {border-color: #cdcdcd;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey .wpv-sort-list-item a {color: #444;background-color: #eeeeee;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey a:hover,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey a:focus {color: #000;background-color: #e5e5e5;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-grey .wpv-sort-list-item.wpv-sort-list-current a {color: #000;background-color: #e5e5e5;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-blue > span.wpv-sort-list,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-blue .wpv-sort-list-item {border-color: #0099cc;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-blue .wpv-sort-list-item a {color: #444;background-color: #cbddeb;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-blue a:hover,.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-blue a:focus {color: #000;background-color: #95bedd;}.wpv-sort-list-dropdown.wpv-sort-list-dropdown-style-blue .wpv-sort-list-item.wpv-sort-list-current a {color: #000;background-color: #95bedd;} </style> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} </style> <style id='global-styles-inline-css' type='text/css'> :root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #FFF;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--primary: #ed793e;--wp--preset--color--secondary: #783eed;--wp--preset--color--green: #3eed78;--wp--preset--color--dark-gray: #343434;--wp--preset--color--gray: #666666;--wp--preset--color--light-gray: #f5f5f5;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--font-family--inter: "Inter", sans-serif;--wp--preset--font-family--cardo: Cardo;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;} :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;} :root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;} </style> <link rel='stylesheet' id='dashicons-css' data-oprm-on-first-user-action data-oprm-id=wpDashIcons data-oprm-src='https://toolset.com/wp-includes/css/dashicons.min.css?ver=6.6.2' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='anchor-header-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/plugins/icl-mpp/res/css/anchor-header.css?ver=1730703566' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='otgs-icons-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/icons/css/otgs-icons.css?ver=1730703369' type='text/css' media='all' /> <style id='woocommerce-inline-inline-css' type='text/css'> .woocommerce form .form-row .required { visibility: visible; } </style> <link data-minify="1" rel='stylesheet' id='wp-postratings-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/plugins/wp-postratings/css/postratings-css.css?ver=1730703369' type='text/css' media='all' /> <link rel='stylesheet' id='wpml-legacy-dropdown-0-css' href='https://toolset.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-dropdown/style.min.css?ver=1' type='text/css' media='all' /> <style id='wpml-legacy-dropdown-0-inline-css' type='text/css'> .wpml-ls-statics-shortcode_actions{background-color:#eeeeee;}.wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-statics-shortcode_actions a {border-color:#cdcdcd;}.wpml-ls-statics-shortcode_actions a, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu a, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu a:link, .wpml-ls-statics-shortcode_actions li:not(.wpml-ls-current-language) .wpml-ls-link, .wpml-ls-statics-shortcode_actions li:not(.wpml-ls-current-language) .wpml-ls-link:link {color:#444444;background-color:#ffffff;}.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu a:hover,.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu a:focus, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu a:link:hover, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu a:link:focus {color:#000000;background-color:#eeeeee;}.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {color:#444444;background-color:#ffffff;}.wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus {color:#000000;background-color:#eeeeee;} </style> <link rel='stylesheet' id='wpml-menu-item-0-css' href='https://toolset.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/style.min.css?ver=1' type='text/css' media='all' /> <style id='wpml-menu-item-0-inline-css' type='text/css'> .wpml-ls-current-language.wpml-ls-menu-item ul { min-width: 0; } </style> <link data-minify="1" rel='stylesheet' id='cms-navigation-style-base-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/plugins/wpml-cms-nav/res/css/cms-navigation-base.css?ver=1730703369' type='text/css' media='screen' /> <link data-minify="1" rel='stylesheet' id='cms-navigation-style-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/plugins/wpml-cms-nav/res/css/cms-navigation.css?ver=1730703369' type='text/css' media='screen' /> <link data-minify="1" rel='stylesheet' id='toolset-main-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/themes/wp-types-bootstrap-theme/style.css?ver=1730703369' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='comments-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/themes/wp-types-bootstrap-theme/css/comments.css?ver=1730703369' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='blog-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/themes/wp-types-bootstrap-theme/css/page-blog.css?ver=1730703369' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='training-courses-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/themes/wp-types-bootstrap-theme/css/page-courses.css?ver=1730703603' type='text/css' media='all' /> <script type='text/javascript'> /* <![CDATA[ */ var ajaxurl = 'https://toolset.com/wp-admin/admin-ajax.php'; /* ]]> */ </script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/cred-frontend-editor/vendor/toolset/common-es/public/toolset-common-es-frontend.js?ver=1730703369" id="toolset-common-es-frontend-js"></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script> <script type="text/javascript" id="codesnipjs-js-extra"> /* <![CDATA[ */ var the_ajax_script = {"ajaxurl":"https:\/\/toolset.com\/wp-admin\/admin-ajax.php","postid_to_ajax":"1620001"}; /* ]]> */ </script> <script type="text/javascript" data-oprm-on-first-user-action data-oprm-id=codeSnips data-oprm-src="https://toolset.com/wp-content/plugins/code-snips/res/js/codesnipjs.js?ver=1.9.3.2" id="codesnipjs-js"></script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js?ver=6.6.2" id="shCore-js"></script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJScript.js?ver=6.6.2" id="shBrushJScript-js"></script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCss.js?ver=6.6.2" id="shBrushCss-js"></script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js?ver=6.6.2" id="shBrushXml-js"></script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPhp.js?ver=6.6.2" id="shBrushPhp-js"></script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/icl-mpp/res/js/anchor-header.js?ver=1730703567" id="anchor-header-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/icl-mpp/modules/HTMX/assets/js/htmx.min.js?ver=1.9.5" id="htmx-js" data-rocket-defer defer></script> <script type="text/javascript" id="htmx-extras-js-extra"> /* <![CDATA[ */ var wp_data = {"nonce":"3556765cc3"}; /* ]]> */ </script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/icl-mpp/modules/HTMX/assets/js/htmx-extras.js?ver=1730703369" id="htmx-extras-js" data-rocket-defer defer></script> <script type="text/javascript" data-oprm-manual data-oprm-id=wonderPluginLightbox data-oprm-src="https://toolset.com/wp-content/plugins/wonderplugin-lightbox/engine/wonderpluginlightbox.js?ver=10.4.1PRO" id="wonderplugin-lightbox-script-js"></script> <script type="text/javascript" id="woocommerce-js-extra"> /* <![CDATA[ */ var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%"}; /* ]]> */ </script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-dropdown/script.min.js?ver=1" id="wpml-legacy-dropdown-0-js" data-rocket-defer defer></script> <script type="text/javascript" id="otgs-public-resources-manager-js-extra"> /* <![CDATA[ */ var oprmConstants = {"showInfoMessages":"","attributeId":"data-oprm-id","attributeSrc":"data-oprm-src","attributeLazyLoadManual":"data-oprm-manual","attributeLazyLoadOnFirstUserAction":"data-oprm-on-first-user-action","attributeScriptToLoadBeforeCallbacks":"data-oprm-script-to-load-before-callbacks","attributeScriptToLoadAfterCallbacks":"data-oprm-script-to-load-after-callbacks"}; /* ]]> */ </script> <script type="text/javascript" src="https://toolset.com/wp-content/plugins/otgs-public-resources-manager/build/otgs-public-resources-manager.min.js" id="otgs-public-resources-manager-js" data-rocket-defer defer></script> <link rel="https://api.w.org/" href="https://toolset.com/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://toolset.com/wp-json/wp/v2/course-lesson/1620001" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://toolset.com/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.6.2" /> <meta name="generator" content="WooCommerce 9.3.3" /> <link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://toolset.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Ftoolset.com%2Fcourse-lesson%2Fcreating-a-custom-post-type%2F" /> <link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://toolset.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Ftoolset.com%2Fcourse-lesson%2Fcreating-a-custom-post-type%2F&format=xml" /> <meta name="generator" content="WPML ver:4.7.0 stt:1,4,3,2;" /> <script type="text/javascript"> if ('function' !== typeof otgs_datalayer_push) { function otgs_datalayer_push(eventlabel) { if ('object' === typeof window.dataLayer) { window.dataLayer.push({ event: 'gaEvent', eventCategory: 'Product', eventAction: 'purchase', eventLabel: eventlabel }); } } } </script> <!-- Google Tag Manager for WordPress by gtm4wp.com --> <!-- GTM Container placement set to manual --> <script data-cfasync="false" data-pagespeed-no-defer type="text/javascript"> var dataLayer_content = {"visitorLoginState":"logged-out","visitorType":"visitor-logged-out","pagePostType":"course-lesson","pagePostType2":"single-course-lesson","cartContent":{"totals":{"applied_coupons":[],"discount_total":0,"subtotal":0,"total":0},"items":[]}}; dataLayer.push( dataLayer_content ); </script> <script data-cfasync="false"> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KHXMTVB'); </script> <!-- End Google Tag Manager for WordPress by gtm4wp.com --> <link rel='preload' href='https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-regular.woff2' as='font' type='font/woff2' crossorigin> <link rel='preload' href='https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff2' as='font' type='font/woff2' crossorigin> <style type='text/css'> @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; src: local(''), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-regular.woff2') format('woff2'), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-regular.woff') format('woff'); } /* source-sans-pro-600 - latin */ @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; src: local(''), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff2') format('woff2'), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff') format('woff'); } /* source-sans-pro-700 - latin */ @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 700; src: local(''), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff2') format('woff2'), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff') format('woff'); } /* source-sans-pro-900 - latin */ @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 900; src: local(''), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff2') format('woff2'), url('https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/css/fonts/source-sans-pro/source-sans-pro-v14-latin-600.woff') format('woff'); } </style> <noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript> <script> window.addEventListener("load",function(){ var c={script:false,link:false}; function ls(s) { if(!['script','link'].includes(s)||c[s]){return;}c[s]=true; var d=document,f=d.getElementsByTagName(s)[0],j=d.createElement(s); if(s==='script'){j.async=true;j.src='https://toolset.com/wp-content/plugins/wp-views/vendor/toolset/blocks/public/js/frontend.js?v=1.6.13';}else{ j.rel='stylesheet';j.href='https://toolset.com/wp-content/plugins/wp-views/vendor/toolset/blocks/public/css/style.css?v=1.6.13';} f.parentNode.insertBefore(j, f); }; function ex(){ls('script');ls('link')} window.addEventListener("scroll", ex, {once: true}); if (('IntersectionObserver' in window) && ('IntersectionObserverEntry' in window) && ('intersectionRatio' in window.IntersectionObserverEntry.prototype)) { var i = 0, fb = document.querySelectorAll("[class^='tb-']"), o = new IntersectionObserver(es => { es.forEach(e => { o.unobserve(e.target); if (e.intersectionRatio > 0) { ex();o.disconnect();}else{ i++;if(fb.length>i){o.observe(fb[i])}} }) }); if (fb.length) { o.observe(fb[i]) } } }) </script> <noscript> <link data-minify="1" rel="stylesheet" href="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/wp-views/vendor/toolset/blocks/public/css/style.css?ver=1730703369"> </noscript><style id='wp-fonts-local' type='text/css'> @font-face{font-family:Inter;font-style:normal;font-weight:300 900;font-display:fallback;src:url('https://toolset.com/wp-content/plugins/woocommerce/assets/fonts/Inter-VariableFont_slnt,wght.woff2') format('woff2');font-stretch:normal;} @font-face{font-family:Cardo;font-style:normal;font-weight:400;font-display:fallback;src:url('https://toolset.com/wp-content/plugins/woocommerce/assets/fonts/cardo_normal_400.woff2') format('woff2');} </style> <link rel="icon" href="https://toolset.com/wp-content/uploads/2017/06/toolset-favicon-90x90.png" sizes="32x32" /> <link rel="icon" href="https://toolset.com/wp-content/uploads/2017/06/toolset-favicon.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://toolset.com/wp-content/uploads/2017/06/toolset-favicon.png" /> <meta name="msapplication-TileImage" content="https://toolset.com/wp-content/uploads/2017/06/toolset-favicon.png" /> <style type="text/css" id="wp-custom-css"> /* You can add your own CSS here. Click the help icon above to learn more. */ body.page-id-620642 { background-color: #fff; } .toolset-box-shadow { color: #666; box-shadow: 0 20px 37.24px 0.76px rgba(107, 107, 108, 0.2); margin-bottom: 40px; } /************************ * Post Relationships API * ***********************/ @media (min-width: 992px) { .old-vs-new-code .gutter { display: none; } } .old-vs-new-code #codesnipfrontend { display: none; } .post-content .syntaxhighlighter, .post-content .syntaxhighlighter .code { overflow-y: hidden !important; } .old-vs-new-code .code .container { min-height: 17em !important; } .old-vs-new-code>div { padding: 30px 19px 20px; margin-top: 30px; } .old-vs-new-code>div:last-child{ box-shadow: 0px 9px 29px -1px rgba(106,107,108,0.16); } .old-vs-new-code h3 { font-size: 16px; text-transform: uppercase; font-weight: 600; padding-top: 0; letter-spacing: .15em; } .post-content article>h2 { font-size: 28px; padding-top: 30px; } .page-id-58 .post-content h2 { font-weight: 600; color: #ed793e !important; } .page-id-58 .post-content h2 svg, .page-id-58 .post-content h2 i.fa { margin-right: 10px; } .mb-0 { margin-bottom: 0 !important; } .mt-0 { margin-top: 0 !important; } @media (min-width: 768px) { .fixed-menu { top: 100px !important; } } .comment .comment-body .comment-content, .comment .comment-author .toolset-team { color: #343434; } .lead { font-size: 20px; color: #343434; } .wp-block-toolset-blocks-container.course-image { position: relative; overflow:hidden; } .wp-block-toolset-blocks-container.preview { position: relative; } .home .wp-block-toolset-blocks-container.preview .wp-block-image:first-child { opacity: 0.6; transition: transform 0.25s ease; } .wp-block-toolset-blocks-container.preview-top .wp-block-image:first-child { opacity: 0.7; transition: transform 0.25s ease; } .wp-block-toolset-blocks-container.preview:hover .wp-block-image:first-child { opacity: 1.0; transition:0.5s; } .wp-block-toolset-blocks-container.preview .wp-block-image:last-child { position: absolute; top: 50%; left: 50%; margin: -30px 0 0 -30px; } .wp-block-toolset-blocks-container.preview-top .wp-block-image:last-child { top: 36%; left: 54%; margin: 0; } .post-type-archive-training-course .breadcrumbs { display: none;} .post-type-archive-training-course .post-content .breadcrumbs { display: block;} body.post-type-archive-training-course .btn-arrow i.tb-button__icon { font-size: 14px; line-height: 22px; } .doc-content { padding:17px; } .btn-round { border: none; border-radius: 5px; padding: 14px 25px; margin-top: 20px; font-size: 18px; font-weight: 700; } @media (max-width: 767px) { .page-author-meta { font-size: 0.9em !important; } .page-author-meta__publish dl { margin-left: 10%; } } .single-course-lesson .page-title { margin-bottom: 65px; } .video-content ol[start="2"] { counter-increment: li 1; } .video-content ol[start="3"] { counter-increment: li 2; } .video-content ol[start="4"] { counter-increment: li 3; } .video-content ol[start="5"] { counter-increment: li 4; } .video-content ol[start="6"] { counter-increment: li 5; } .video-content ol[start="7"] { counter-increment: li 6; } .video-content ol[start="8"] { counter-increment: li 7; } .video-content ol[start="9"] { counter-increment: li 8; } .video-content ol ul { margin: 10px 0 20px 30px; } .video-content ol ul li:before { content: "\2022" !important; top: -2px !important; counter-increment: none !important; } .single-course-chapter .preview-video .tour-video img { width: 100%; height: auto; } .types-fields-menu li.active a { display: inline-block; } .single-course-chapter .entry-content .chapter-videos__grid-one .chapter-video__content .btn { flex-grow: 0; } .single-lesson-placement .entry-content h2, .single-course-lesson .entry-content h2 { font-size: 22px; font-weight: 600; } .single-lesson-placement .entry-content h3, .single-course-lesson .entry-content h3, .single-course-lesson-placement .entry-content h3 strong, .single-course-lesson .entry-content h3 strong { font-size: 20px; font-weight: 400; margin: 40px 0 20px; } .single-lesson-placement .entry-content h4, .single-course-lesson .entry-content h4 { font-size: 18px; font-weight: 400; } .lesson-image{ opacity:.5; } .lesson-image:hover{ opacity:.8; transition:0.5s; } .wp-block-toolset-blocks-container.lesson-video.preview:hover .wp-block-image:first-child { opacity: .8; transition:0.5s; } .mention-btn a{ text-align:left; } .book-icon{ position:absolute; top: 18px; width:40px; right:15px; height:40px } .html5lightbox-div { margin-bottom: -20px; } .syntaxhighlighter { border: 1px solid #ccc !important; padding: 1em 0; } .account-wrapper .acc-content .item-box p:last-child { margin-bottom: 0; } .account-wrapper .acc-content .item-box .flex-row-center { display: flex; align-items: center; } .modal-dialog-centered { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; min-height: calc(100% - (.5rem * 2)); } @media (min-width: 576px){ .modal-dialog { max-width: 550px; margin: 1.75rem auto; } } @media (min-width: 576px){ .modal-dialog-centered { min-height: calc(100% - (1.75rem * 2)); } } .tb-heading__lesson-parts { position: relative; font-size: 18px !important; font-weight: bold !important; margin-top: 0 !important; margin-bottom: 10px !important; } .tb-heading__lesson-parts .dashicons { font-size: smaller; margin-left: 0.5em; color: #888; margin-top: 4px; text-decoration: none; } .documentation-feedback a { text-decoration: none; } .documentation-feedback a img { margin-right: 10px; } .single-course .course-title { font-size: 36px; font-weight: 700; color: #fff; padding-bottom: 0; margin: 0 0 15px; } /************************ PURCHASE PAGE ***********************/ .bc-header__title { font-size: 3rem; } .guarantee-banner{ padding: 28px 14px 14px 65px; border-radius: 5px; background: url(https://toolset.com/wp-content/uploads/2020/03/shield-2.png) no-repeat 20px rgba(64,237, 122,0.16); background-size:30px; margin-bottom:90px; max-width:100%; } @media (min-width: 1000px) { .guarantee-banner{ width:890px; float:right; } } @media (max-width: 767px) { .container { width: 100%; } } .bc-footer { height: 100px; } .buy-comparison { margin-top: -1px; } .buy-comparison__head { margin-top: 50px; } .buy-comparison__head .buy-compare-col { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .buy-comparison__body .buy-compare-col { border-radius: 0; } .buy-comparison__foot .buy-compare-col { border-top-left-radius: 0; border-top-right-radius: 0; } .buy-comparison .col-title { margin-bottom: 0; } .buy-comparison .col-title .features-collapse { position: relative; color: #343434; text-decoration: none; } .buy-comparison .col-title .features-collapse:after { position: absolute; top: 3px; right: -20px; content: ''; display: block; width: 10px; height: 10px; background: url(/wp-content/themes/wp-types-bootstrap-theme/img/svg/navigation/arrow.svg) 99% 53% no-repeat; background-size: 10px; transform: rotate(180deg); transition: rotate 2s; } .buy-comparison .col-title .features-collapse.collapsed:after { transform: none; } #buy-comparison-features { overflow: hidden; position: relative; z-index: 10; } @media (max-width: 639px) { .buy-comparison { display: none; } .buy-comparison__head { display: block; } } @media (max-width: 991px) { #buy-comparison-features { display: block; } #buy-comparison-features .bc-row:empty { display: block; } } @media (max-width: 768px) { .single-course-lesson .lesson-row { flex-direction: column; } .single-course-lesson .lesson-row .entry-content { order: 0; margin-bottom: 50px; } } .entry-content img.aligncenter, .entry-content figure.aligncenter { max-width: 100%; height: auto; } /************************ HOMEPAGE *************************/ .site-head { margin-bottom: 0px; } .breadcrumbs{ margin-top: 25px; } #main-video{ width:1140px; max-width:100%; border-radius:5px; box-shadow: 1px 100px 100px -50px rgba(44,17,99,.4); } .white-link{ color:#fff; } .white-link:hover{ color:#3EED78; text-decoration:none; } body.page-id-306 .popover-content .checkout-table-white .description { color: #343434; } body.page-id-306 .details .fa-ul { list-style: none; padding-left: 0; } body.page-id-306 .details .fa-ul li i.fa-li { margin-right: 10px; } .single-lesson-placement .entry-content .chapter-videos__grid-one .chapter-video .preview-video img, .single-course-chapter .entry-content .chapter-videos__grid-one .chapter-video .preview-video img, .single-course-lesson .entry-content .chapter-videos__grid-one .chapter-video .preview-video img { min-width: 200px; } .home .img-55 img { height: 55px; width: auto; } .wp-block-image .tb-image.aligncenter { text-align: center; } .site-head--navigation>ul li a { white-space: nowrap; } .site-head--navigation ul.sub-menu li.wpml-ls-item { min-width: 46px; } .tb-social-share__facebook__share-button { background-image: url(/wp-content/plugins/wp-views/vendor/toolset/blocks/public/css/icons/facebook.svg) !important; } .tb-social-share__twitter__share-button { background-image: url(/wp-content/plugins/wp-views/vendor/toolset/blocks/public/css/icons/twitter.svg) !important; } .tb-social-share__linkedin__share-button { background-image: url(/wp-content/plugins/wp-views/vendor/toolset/blocks/public/css/icons/linkedin.svg) !important; } body.single.logged-in .wp-block-columns { display: flex; flex-wrap: wrap; } @media (min-width: 782px) { body.single.logged-in .wp-block-columns { flex-wrap: nowrap; } body.single.logged-in .wp-block-column:not(:first-child) { margin-left: 2em; } } .wp-block-image figcaption { display: block !important; } .legacydocalert { background-color:#fcf8e3; border-color:#faebcc; color:#8a6d3b; padding: 20px 10px 20px 20px; margin: 40px 0; } .gfield select, .gfield textarea { display: inline-block; width: 100%; height: 40px; } legend { border-bottom:none; } .contact-nav a.contact-nav-partner { background-image: url(https://toolset.com/wp-content/uploads/2022/01/terms.png); background-size: 46px; } h1[id]:hover a.anchorlink:before, h2[id]:hover a.anchorlink:before, h3[id]:hover a.anchorlink:before, h4[id]:hover a.anchorlink:before, h5[id]:hover a.anchorlink:before, h6[id]:hover a.anchorlink:before { content: "\47"; } h1[id]:hover a.anchorlink:hover, h2[id]:hover a.anchorlink:hover, h3[id]:hover a.anchorlink:hover, h4[id]:hover a.anchorlink:hover, h5[id]:hover a.anchorlink:hover, h6[id]:hover a.anchorlink:hover { text-decoration: none; } .checkout-table-white .description, .checkout-table-primary .description { color: #343434; } div[data-custom-class="body"] { max-width: 900px; margin: 0 auto; } div[data-custom-class="body"] div { line-height: 160%; margin-bottom: 15px; } span[data-custom-class="heading_1"] { display: block; font-size: 1.5em; margin: 30px 0 15px; } div[data-custom-class="body"] table td { padding: 10px 15px; } /* systemsdev-6074 */ #add_issue_tracker.plus-icon::after { margin-left: 8px; content: "k"; font-family: "otgs-icons"; font-size: 12px; color: #ed793e; } /* end systemsdev-6074 */ </style> <noscript><style id="rocket-lazyload-nojs-css">.rll-youtube-player, [data-lazy-src]{display:none !important;}</style></noscript> <!--[if lt IE 9]> <script src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/js/html5shiv.min.js" type="text/javascript"></script> <![endif]--> <meta name="generator" content="WP Rocket 3.17.2" data-wpr-features="wpr_defer_js wpr_minify_js wpr_lazyload_images wpr_lazyload_iframes wpr_oci wpr_image_dimensions wpr_minify_css wpr_desktop" /></head> <body class="course-lesson-template-default single single-course-lesson postid-1620001 theme-wp-types-bootstrap-theme woocommerce-no-js course-lesson-creating-a-custom-post-type views-template-ct-course-lesson"> <a id="toolset-skip-nav" class="screen-reader-text" href="#main-container"> Skip Navigation</a> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KHXMTVB" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" display="none"><symbol id="ico-facebook"><circle cx="17" cy="17" r="17" fill="#3b5998"/><path d="M21.3 17.7h-3v11.1h-4.6V17.7h-2.2v-3.9h2.2v-2.5c0-1.8.9-4.6 4.6-4.6h3.4v3.8h-2.5c-.4 0-1 .2-1 1.1v2.3h3.4l-.3 3.8z" fill="#fff"/></symbol><symbol id="ico-google-plus"><circle id="google-plus-XMLID_30_" cx="17" cy="17" r="17" fill="#d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-1.5-.6-2.2v-.7l.4.2c-.2-.3-.3-.7-.4-1-.2-.9 0-1.8.4-2.6l.4-.6.5.6c1.5 1.7 3.4 2.7 5.7 3-.1-.6 0-1.2.2-1.8S9.2 3 9.8 2.6c.7-.4 1.6-.6 2.4-.6.9.1 1.7.4 2.3 1 .3-.1.5-.2.9-.3.2-.1.4-.2.7-.2l1-.3-.6 1.8h1.1l-.6.8s0 .1-.1.1c0 .1-.1.2-1 1.3-.2.3-.3.7-.3 1 .1 1.5-.1 2.8-.5 4-.4 1.1-1 2-1.9 2.8-1 .9-2.4 1.6-3.9 1.9-.8 0-1.6.1-2.5.1z" fill="#bbb"/></symbol><symbol viewBox="0 0 18 18" id="ico-icon-yt"><path d="M18 5.4c0-1.5-1.2-2.7-2.7-2.7H2.7C1.2 2.7 0 3.9 0 5.4v7.2c0 1.5 1.2 2.7 2.7 2.7h12.6c1.5 0 2.7-1.2 2.7-2.7V5.4zM7.2 12V5.3l5.1 3.4L7.2 12z" fill="#bbb"/></symbol><symbol id="ico-linkedin"><circle cx="17" cy="17" r="17" fill="#007ab9"/><path d="M27.2 18.4v7h-4.1v-6.5c0-1.6-.6-2.8-2.1-2.8-1.1 0-1.8.8-2.1 1.5-.1.3-.1.6-.1 1v6.8h-4.1s.1-11.1 0-12.2h4.1v1.7c.5-.8 1.5-2 3.7-2 2.7 0 4.7 1.7 4.7 5.5zM10.5 7.3c-1.4 0-2.3.9-2.3 2.1 0 1.2.9 2.1 2.2 2.1 1.4 0 2.3-.9 2.3-2.1.1-1.2-.8-2.1-2.2-2.1zm-2 18.1h4.1V13.2H8.5v12.2z" fill="#fff"/></symbol><symbol id="ico-twitter"><circle cx="17" cy="17" r="17" fill="#55acee"/><path d="M27.4 12.2c-.7.3-1.5.5-2.3.6.8-.5 1.5-1.3 1.8-2.2-.8.5-1.7.8-2.6 1-.7-.8-1.8-1.3-3-1.3-2.2 0-4.1 1.8-4.1 4.1 0 .3 0 .6.1.9-3.3-.1-6.3-1.8-8.3-4.2-.4.6-.5 1.3-.5 2 0 1.4.7 2.7 1.8 3.4-.7 0-1.3-.2-1.8-.5v.1c0 2 1.4 3.6 3.3 4-.3.1-.7.2-1.1.2-.3 0-.5 0-.8-.1.5 1.6 2 2.8 3.8 2.8-1.4 1.1-3.2 1.7-5.1 1.7-.3 0-.6 0-1-.1 1.8 1.2 3.9 1.8 6.2 1.8 7.5 0 11.6-6.2 11.6-11.6v-.5c.8-.5 1.5-1.3 2-2.1z" fill="#fff"/></symbol></svg><header class="full-bg site-head"> <div class="container site-head--wrapper"> <div class="site-head--logo"> <a href="https://toolset.com/">Toolset</a> </div> <div class="site-head--navigation-wrapper site-head--navigation"> <nav class="site-head--navigation" aria-label="Horizontal" role="navigation"> <ul id="head-menu-main" class="menu"><li id="menu-item-239706" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-239706"><a href="https://toolset.com/documentation/">Documentation</a> <ul class="sub-menu"> <li id="menu-item-2425137" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2425137"><a href="https://toolset.com/documentation/">Getting Started</a></li> <li id="menu-item-2425191" class="menu-item menu-item-type-post_type_archive menu-item-object-course-lesson menu-item-2425191"><a href="https://toolset.com/course-lesson/">Lessons</a></li> <li id="menu-item-2425141" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2425141"><a href="https://toolset.com/documentation/legacy-features/">Legacy Features</a></li> <li id="menu-item-2425139" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2425139"><a href="https://toolset.com/documentation/programmer-reference/">Programmer Information</a></li> <li id="menu-item-2010357" class="menu-item menu-item-type-post_type_archive menu-item-object-glossary menu-item-2010357"><a href="https://toolset.com/glossary/">Toolset and WordPress Glossary</a></li> <li id="menu-item-2010359" class="menu-item menu-item-type-post_type_archive menu-item-object-block-item menu-item-2010359"><a href="https://toolset.com/block-item/">Toolset's Blocks Library</a></li> <li id="menu-item-2425189" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2425189"><a href="https://toolset.com/faq/">Frequently Asked Questions</a></li> </ul> </li> <li id="menu-item-573303" class="menu-item menu-item-type-post_type_archive menu-item-object-showcase menu-item-573303"><a href="https://toolset.com/showcase/">Showcase</a></li> <li id="menu-item-1776897" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1776897"><a href="/forums/forum/professional-support/">Support</a> <ul class="sub-menu"> <li id="menu-item-505285" class="menu-item menu-item-type-post_type menu-item-object-forum menu-item-505285"><a href="https://toolset.com/forums/forum/professional-support/">Technical Support</a></li> <li id="menu-item-586059" class="menu-item menu-item-type-post_type_archive menu-item-object-contractors menu-item-586059"><a href="https://toolset.com/contractors/">Toolset Contractors</a></li> </ul> </li> <li id="menu-item-239728" class="menu-item menu-item-type-post_type menu-item-object-page current_page_parent menu-item-239728"><a title="Blog" href="https://toolset.com/blog/">Blog</a></li> </ul> </nav> <a class="btn" title="Buy Now" href="https://toolset.com/buy/">Buy Now</a> </div> <nav class="site-head--navigation site-head--navigation-right"> <a class="btn" title="Buy Now" href="https://toolset.com/buy/">Buy Now</a> <a class="search-toggle search-icon" id="search-toggle" title="Search "></a> <form id="searchform" class="form-inline collapse" role="search" method="get" action="https://toolset.com/"> <label class="sr-only" for="s">Search for:</label> <input type="search" name="s" id="s" class="form-control" value=" "> <input type="hidden" name="lang" value="en"> <button type="submit" class="btn btn-default">Search</button> </form> <div id="account-menu-wrapper" style="visibility: hidden" class="otgs-dynamic-frontend-elements-unhide"> <ul id="head-menu-account" class="menu"><li id="menu-item-2006147" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2006147"><a href="https://toolset.com/log-in/">Log In</a></li> </ul> </div> <div class="site-head--navigation-mobile"> <div data-toggle="collapse" data-target=".site-head--navigation-wrapper">Menu <div class="hamburger-icon"><div></div></div></div> </div> </nav> </div> </header> <div class="container"> <div class="breadcrumbs"> <a href="https://toolset.com/">Home</a> » <a href="https://toolset.com/course-lesson/">Course lessons</a> » Creating a Custom Post Type in WordPress </div> <h1 class="page-title">Creating a Custom Post Type in WordPress</h1> <div class="row lesson-row"> <div class="col-sm-8 entry-content"> <div class="video-entry"> <p class="lead">In this lesson, you will learn how to add custom post types (CPT) to WordPress sites with Toolset. We'll also cover how to customize the CPT listing and editing.</p> <div id="video-box" style="display:none;"> <video id="video-src" src="/wp-content/uploads/videos/02_03_Creating_a_Custom_Post_Type.mp4" controls="" controlslist="nodownload" width="800" height="450"></video> </div> <div class="preview-video"> <a id="video-link" href="#video-box" class="wplightbox tour-video video-link" data-width="800" data-height="450"> <img width="1024" height="576" src="https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-1024x576.png" class="img-responsive wp-post-image" alt="" decoding="async" fetchpriority="high" srcset="https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-1024x576.png 1024w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-300x169.png 300w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-150x84.png 150w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-768x432.png 768w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-1536x864.png 1536w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type-805x453.png 805w, https://toolset.com/wp-content/uploads/2020/05/Creating-a-custom-post-type.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /> <img class="icon-play img-svg" src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/img/svg/training/play.svg" width="58" height="58" alt="" /> </a> <div class="preview-video__duration"> Duration <time>1:52</time> </div> </div> <div class="video-content"> <div class="tces-js-style-encoded" style="display:none;">LnRiLWZpZWxke21hcmdpbi1ib3R0b206MC43NmVtfS50Yi1maWVsZC0tbGVmdHt0ZXh0LWFsaWduOmxlZnR9LnRiLWZpZWxkLS1jZW50ZXJ7dGV4dC1hbGlnbjpjZW50ZXJ9LnRiLWZpZWxkLS1yaWdodHt0ZXh0LWFsaWduOnJpZ2h0fS50Yi1maWVsZF9fc2t5cGVfcHJldmlld3twYWRkaW5nOjEwcHggMjBweDtib3JkZXItcmFkaXVzOjNweDtjb2xvcjojZmZmO2JhY2tncm91bmQ6IzAwYWZlZTtkaXNwbGF5OmlubGluZS1ibG9ja311bC5nbGlkZV9fc2xpZGVze21hcmdpbjowfQ==</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="tces-js-style-encoded" style="display:none;">LnRiLWhlYWRpbmcuaGFzLWJhY2tncm91bmR7cGFkZGluZzowfQ==</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="tces-js-style-encoded" style="display:none;">LnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gLndwLWJsb2NrLXRvb2xzZXQtYmxvY2tzLWNvbnRhaW5lci50Yi1jb250YWluZXJbZGF0YS10b29sc2V0LWJsb2Nrcy1jb250YWluZXI9IjM1YThjN2U3NWJkN2NhMDk1YzAwNmE2NzAyMWM3Mjg2Il0geyBib3JkZXItcmFkaXVzOiA1cHg7cGFkZGluZzogMjVweDttYXJnaW4tYm90dG9tOiAzMHB4O2JvcmRlcjogMXB4IHNvbGlkIHJnYmEoIDIyMSwgMjIxLCAyMjEsIDEgKTsgfSAudGItZ3JpZCwudGItZ3JpZD4uYmxvY2stZWRpdG9yLWlubmVyLWJsb2Nrcz4uYmxvY2stZWRpdG9yLWJsb2NrLWxpc3RfX2xheW91dHtkaXNwbGF5OmdyaWQ7Z3JpZC1yb3ctZ2FwOjI1cHg7Z3JpZC1jb2x1bW4tZ2FwOjI1cHh9LnRiLWdyaWQtaXRlbXtiYWNrZ3JvdW5kOiNkMzhhMDM7cGFkZGluZzozMHB4fS50Yi1ncmlkLWNvbHVtbntmbGV4LXdyYXA6d3JhcH0udGItZ3JpZC1jb2x1bW4+Knt3aWR0aDoxMDAlfS50Yi1ncmlkLWNvbHVtbi50Yi1ncmlkLWFsaWduLXRvcHt3aWR0aDoxMDAlO2Rpc3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dyaWQ9ImNiZTA2NWM3NDBmNDUzZTZlODBjNjFlNzk1NzkzOWU2Il0geyBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IG1pbm1heCgwLCAxZnIpO2dyaWQtYXV0by1mbG93OiByb3cgfSAud3AtYmxvY2stdG9vbHNldC1ibG9ja3MtZ3JpZC50Yi1ncmlkW2RhdGEtdG9vbHNldC1ibG9ja3MtZ3JpZD0iY2JlMDY1Yzc0MGY0NTNlNmU4MGM2MWU3OTU3OTM5ZTYiXSAgPiAudGItZ3JpZC1jb2x1bW46bnRoLW9mLXR5cGUoMW4rMSkgeyBncmlkLWNvbHVtbjogMSB9ICAgLndwLWJsb2NrLXRvb2xzZXQtYmxvY2tzLWdyaWQtY29sdW1uLnRiLWdyaWQtY29sdW1uW2RhdGEtdG9vbHNldC1ibG9ja3MtZ3JpZC1jb2x1bW49IjMwMzRmYmU4ODZjMTEwNTRlOTViNDZiMDlkM2U0MTEyIl0geyBkaXNwbGF5OiBmbGV4OyB9IC50Yi1jb250YWluZXIgLnRiLWNvbnRhaW5lci1pbm5lcnt3aWR0aDoxMDAlO21hcmdpbjowIGF1dG99LnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30udGItZmllbGRbZGF0YS10b29sc2V0LWJsb2Nrcy1maWVsZD0iN2Q5MzVhZGE3ODIxM2MwOWQ1NDczZjM3YjI5M2I0ZDciXSBhIHsgdGV4dC1kZWNvcmF0aW9uOiBub25lOyB9ICAgfSA=</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="tb-field" data-toolset-blocks-field="7d935ada78213c09d5473f37b293b4d7"><p>WordPress comes with <strong>pages</strong> and <strong>posts</strong>. For other things such as products, services, your team, testimonials and anything else, the best way is to setup <strong><a href="https://toolset.com/glossary/custom-post-type/">custom post types</a></strong>. </p><p>The main advantages of using custom types are:</p><ul class="wp-block-list"><li>Each custom post type gets its own editing interface in the admin, including its own fields and taxonomy.</li><li>It’s easier to edit content, when you separate different kinds of content into custom post types.</li><li>You can design different templates for different custom post types.</li><li>You can connect between different post types using post-relationship.</li><li>You can control user access for different types on both the admin and the site’s front-end.</li></ul><p>Interested? Let’s get started!</p><h2 class="wp-block-heading" id="steps-for-creating-custom-post-types">Steps for Creating Custom Post Types<a class="anchorlink" href="#steps-for-creating-custom-post-types"></a></h2><ol class="wp-block-list"><li>Go to the <strong>Toolset → Dashboard </strong>page and click the <strong>Add new post type </strong>button.</li><li>Enter the plural and singular name for your post type. Slug is created automatically.</li><li>Click the <strong>Save Post Type </strong>button.</li></ol><p>The page will reload and you will see your post type appear in the main WordPress admin menu.</p></div><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="96dd493c18393b66ad77e3fa227a7227"><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"><div id="wpv-view-layout-1586419-CATTR530e152d9d8a1bc3ec615f3058420446" class="js-wpv-view-layout js-wpv-layout-responsive js-wpv-view-layout-1586419-CATTR530e152d9d8a1bc3ec615f3058420446" data-viewnumber="1586419-CATTR530e152d9d8a1bc3ec615f3058420446" data-pagination='{"id":1586419,"query":"normal","type":"disabled","effect":"fade","duration":"500","speed":"5","pause_on_hover":"disabled","stop_rollover":"false","cache_pages":"enabled","preload_images":"enabled","preload_pages":"enabled","preload_reach":"1","spinner":"builtin","spinner_image":"https://testing-toolset-danijel-e-2020-03-06-b786c7.otgs.work/wp-content/plugins/wp-views/embedded/res/img/ajax-loader.gif","callback_next":"","manage_history":"disabled","has_controls_in_form":"disabled","infinite_tolerance":"0","max_pages":0,"page":1,"base_permalink":"/course-lesson/creating-a-custom-post-type/?wpv_view_count=1586419-CATTR530e152d9d8a1bc3ec615f3058420446&wpv_paged=WPV_PAGE_NUM","loop":{"type":"","name":"","data":[],"id":0}}' data-permalink="/course-lesson/creating-a-custom-post-type/?wpv_view_count=1586419-CATTR530e152d9d8a1bc3ec615f3058420446"> <div class="tces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vbHVtbjpudGgtb2YtdHlwZSgxbisxKSB7IGdyaWQtY29sdW1uOiAxIH0gICAud3AtYmxvY2stdG9vbHNldC1ibG9ja3MtZ3JpZC1jb2x1bW4udGItZ3JpZC1jb2x1bW5bZGF0YS10b29sc2V0LWJsb2Nrcy1ncmlkLWNvbHVtbj0iMzAzNGZiZTg4NmMxMTA1NGU5NWI0NmIwOWQzZTQxMTIiXSB7IGRpc3BsYXk6IGZsZXg7IH0gIH0g</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="35a8c7e75bd7ca095c006a67021c7286"><div class="wp-block-toolset-blocks-grid tb-grid" data-toolset-blocks-grid="cbe065c740f453e6e80c61e7957939e6"><div class="wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top" data-toolset-blocks-grid-column="3034fbe886c11054e95b46b09d3e4112"><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"> <div class="preview-video"> <a href="https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields.png" class="wplightbox tour-video video-lesson-parts"><img decoding="async" width="300" height="169" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20300%20169'%3E%3C/svg%3E" class="attachment-medium img-responsive" alt="" title="Creating-custom-fields" style="" data-lazy-srcset="https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-300x169.png 300w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-1024x576.png 1024w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-150x84.png 150w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-768x432.png 768w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-1536x864.png 1536w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-805x453.png 805w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields.png 1920w" data-lazy-sizes="(max-width: 300px) 100vw, 300px" data-lazy-src="https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-300x169.png"><noscript><img decoding="async" width="300" height="169" src="https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-300x169.png" class="attachment-medium img-responsive" alt="" title="Creating-custom-fields" style="" srcset="https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-300x169.png 300w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-1024x576.png 1024w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-150x84.png 150w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-768x432.png 768w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-1536x864.png 1536w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields-805x453.png 805w, https://toolset.com/wp-content/uploads/2020/05/Creating-custom-fields.png 1920w" sizes="(max-width: 300px) 100vw, 300px"></noscript></a> </div></div></div><div class="wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top" data-toolset-blocks-grid-column="3034fbe886c11054e95b46b09d3e4112"><h3 class="tb-heading" data-toolset-blocks-heading="ddd68ce677b387011b36e3abdcaa5243" data-last-update="1.4" id="adding-custom-fields-to-custom-post-types">Adding Custom Fields to Custom Post Types<a class="anchorlink" href="#adding-custom-fields-to-custom-post-types"></a></h3><div class="tb-field" data-toolset-blocks-field="1c34d27457706c2bbe639957dd0a4cda" data-last-update="1.4"><p>By default, custom post type provides only the standard WordPress fields like the title, main content (body) and date of publishing.</p> <p>Toolset allows you to create custom fields for any post type.</p> <p>With custom fields, you can add any custom information to your custom posts. In other words, when you edit your custom posts, your custom fields will appear. Of course, you can then use Toolset to <a href="#displaying-custom-post-types-on-the-sites-front-end">display all these fields on the front-end</a>.</p> <p>For more information, check out the lesson about <a href="https://toolset.com/course-lesson/creating-custom-fields/">creating and using custom fields</a>.</p> </div></div></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><p></p></div><p></p><div class="tces-js-style-encoded" style="display:none;">LnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gLndwLWJsb2NrLXRvb2xzZXQtYmxvY2tzLWNvbnRhaW5lci50Yi1jb250YWluZXJbZGF0YS10b29sc2V0LWJsb2Nrcy1jb250YWluZXI9IjM1YThjN2U3NWJkN2NhMDk1YzAwNmE2NzAyMWM3Mjg2Il0geyBib3JkZXItcmFkaXVzOiA1cHg7cGFkZGluZzogMjVweDttYXJnaW4tYm90dG9tOiAzMHB4O2JvcmRlcjogMXB4IHNvbGlkIHJnYmEoIDIyMSwgMjIxLCAyMjEsIDEgKTsgfSAudGItZ3JpZCwudGItZ3JpZD4uYmxvY2stZWRpdG9yLWlubmVyLWJsb2Nrcz4uYmxvY2stZWRpdG9yLWJsb2NrLWxpc3RfX2xheW91dHtkaXNwbGF5OmdyaWQ7Z3JpZC1yb3ctZ2FwOjI1cHg7Z3JpZC1jb2x1bW4tZ2FwOjI1cHh9LnRiLWdyaWQtaXRlbXtiYWNrZ3JvdW5kOiNkMzhhMDM7cGFkZGluZzozMHB4fS50Yi1ncmlkLWNvbHVtbntmbGV4LXdyYXA6d3JhcH0udGItZ3JpZC1jb2x1bW4+Knt3aWR0aDoxMDAlfS50Yi1ncmlkLWNvbHVtbi50Yi1ncmlkLWFsaWduLXRvcHt3aWR0aDoxMDAlO2Rpc3BsYXk6ZmxleDthbGlnbi1jb250ZW50OmZsZXgtc3RhcnR9LnRiLWdyaWQtY29sdW1uLnRiLWdyaWQtYWxpZ24tY2VudGVye3dpZHRoOjEwMCU7ZGlzcGxheTpmbGV4O2FsaWduLWNvbnRlbnQ6Y2VudGVyfS50Yi1ncmlkLWNvbHVtbi50Yi1ncmlkLWFsaWduLWJvd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RbZGF0YS10b29sc2V0LWJsb2Nrcy1ncmlkPSJjYmUwNjVjNzQwZjQ1M2U2ZTgwYzYxZTc5NTc5MzllNiJdICA+IC50Yi1ncmlkLWNvbHVtbjpudGgtb2YtdHlwZSgxbisxKSB7IGdyaWQtY29sdW1uOiAxIH0gICAud3AtYmxvY2stdG9vbHNldC1ibG9ja3MtZ3JpZC1jb2x1bW4udGItZ3JpZC1jb2x1bW5bZGF0YS10b29sc2V0LWJsb2Nrcy1ncmlkLWNvbHVtbj0iMzAzNGZiZTg4NmMxMTA1NGU5NWI0NmIwOWQzZTQxMTIiXSB7IGRpc3BsYXk6IGZsZXg7IH0gIH0g</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="35a8c7e75bd7ca095c006a67021c7286"><div class="wp-block-toolset-blocks-grid tb-grid" data-toolset-blocks-grid="cbe065c740f453e6e80c61e7957939e6"><div class="wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top" data-toolset-blocks-grid-column="3034fbe886c11054e95b46b09d3e4112"><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"> <div class="preview-video"> <a href="https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts.png" class="wplightbox tour-video video-lesson-parts"><img decoding="async" width="300" height="169" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20300%20169'%3E%3C/svg%3E" class="attachment-medium img-responsive" alt="" title="Creating-templates-to-display-custom-posts" style="" data-lazy-srcset="https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-300x169.png 300w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-1024x576.png 1024w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-150x84.png 150w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-768x432.png 768w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-1536x864.png 1536w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-805x453.png 805w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts.png 1920w" data-lazy-sizes="(max-width: 300px) 100vw, 300px" data-lazy-src="https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-300x169.png"><noscript><img decoding="async" width="300" height="169" src="https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-300x169.png" class="attachment-medium img-responsive" alt="" title="Creating-templates-to-display-custom-posts" style="" srcset="https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-300x169.png 300w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-1024x576.png 1024w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-150x84.png 150w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-768x432.png 768w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-1536x864.png 1536w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts-805x453.png 805w, https://toolset.com/wp-content/uploads/2020/05/Creating-templates-to-display-custom-posts.png 1920w" sizes="(max-width: 300px) 100vw, 300px"></noscript></a> </div></div></div><div class="wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top" data-toolset-blocks-grid-column="3034fbe886c11054e95b46b09d3e4112"><h3 class="tb-heading" data-toolset-blocks-heading="ddd68ce677b387011b36e3abdcaa5243" data-last-update="1.4" id="displaying-custom-post-types-on-the-sites-front-end">Displaying Custom Post Types on the Site’s Front-end<a class="anchorlink" href="#displaying-custom-post-types-on-the-sites-front-end"></a></h3><div class="tb-field" data-toolset-blocks-field="1c34d27457706c2bbe639957dd0a4cda" data-last-update="1.4"><p>Most themes will display only the title and excerpt of your custom types.</p> <p>With Toolset, you can design your own templates, which will include the fields, layout and design that you want.</p> <p>Additionally, you design your template only once and apply it to all posts belonging to the custom post type. Later, if you need to edit the template, your changes are automatically applied to all posts of that type.</p> <p>Read more about this in the lesson about <a href="https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/">creating templates for displaying custom posts</a>.</p> </div></div></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><p></p></div><p></p><div class="tces-js-style-encoded" style="display:none;">LnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gLndwLWJsb2NrLXRvb2xzZXQtYmxvY2tzLWNvbnRhaW5lci50Yi1jb250YWluZXJbZGF0YS10b29sc2V0LWJsb2Nrcy1jb250YWluZXI9IjM1YThjN2U3NWJkN2NhMDk1YzAwNmE2NzAyMWM3Mjg2Il0geyBib3JkZXItcmFkaXVzOiA1cHg7cGFkZGluZzogMjVweDttYXJnaW4tYm90dG9tOiAzMHB4O2JvcmRlcjogMXB4IHNvbGlkIHJnYmEoIDIyMSwgMjIxLCAyMjEsIDEgKTsgfSAudGItZmllbGRbZGF0YS10b29sc2V0LWJsb2Nrcy1maWVsZD0iMWMzNGQyNzQ1NzcwNmMyYmJlNjM5OTU3ZGQwYTRjZGEiXSB7IHRleHQtYWxpZ246IGxlZnQ7IH0gIC50Yi1maWVsZFtkYXRhLXRvb2xzZXQtYmxvY2tzLWZpZWxkPSIxYzM0ZDI3NDU3NzA2YzJiYmU2Mzk5NTdkZDBhNGNkYSJdIGEgeyB0ZXh0LWRlY29yYXRpb246IG5vbmU7IH0gaDMudGItaGVhZGluZ1tkYXRhLXRvb2xzZXQtYmxvY2tzLWhlYWRpbmc9ImRkZDY4Y2U2NzdiMzg3MDExYjM2ZTNhYmRjYWE1MjQzIl0gIHsgZm9udC1zaXplOiAxOHB4O2ZvbnQtd2VpZ2h0OiBib2xkO3BhZGRpbmctdG9wOiAwcHg7bWFyZ2luLXRvcDogMHB4O21hcmdpbi1ib3R0b206IDIwcHg7IH0gIGgzLnRiLWhlYWRpbmdbZGF0YS10b29sc2V0LWJsb2Nrcy1oZWFkaW5nPSJkZGQ2OGNlNjc3YjM4NzAxMWIzNmUzYWJkY2FhNTI0MyJdIGEgIHsgdGV4dC1kZWNvcmF0aW9uOiBub25lOyB9IEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTkxcHgpIHsgLnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gICB9IEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogNTk5cHgpIHsgLnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gICB9IA==</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="35a8c7e75bd7ca095c006a67021c7286"><h3 class="tb-heading" data-toolset-blocks-heading="ddd68ce677b387011b36e3abdcaa5243" data-last-update="1.4" id="select-fields-to-display-on-the-post-types-listing-page">Select Fields to Display on the Post Type’s Listing Page<a class="anchorlink" href="#select-fields-to-display-on-the-post-types-listing-page"></a></h3><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"> <div class="preview-video" style="max-width:80%;margin:35px auto;"> <a href="https://toolset.com/wp-content/uploads/2020/05/toolset-display-custom-fields-on-post-type-listing-page.png" class="wplightbox tour-video video-lesson-parts"><img width="550" height="300" decoding="async" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20550%20300'%3E%3C/svg%3E" title="toolset-display-custom-fields-on-post-type-listing-page" class="attachment-custom img-responsive" data-lazy-src="https://toolset.com/wp-content/uploads/2020/05/toolset-display-custom-fields-on-post-type-listing-page-wpcf_550x300.png"><noscript><img width="550" height="300" decoding="async" src="https://toolset.com/wp-content/uploads/2020/05/toolset-display-custom-fields-on-post-type-listing-page-wpcf_550x300.png" title="toolset-display-custom-fields-on-post-type-listing-page" class="attachment-custom img-responsive"></noscript></a> </div></div><div class="tb-field" data-toolset-blocks-field="1c34d27457706c2bbe639957dd0a4cda" data-last-update="1.4"><p>In the admin, the listing page for your custom post type displays all the posts belonging to that post type. By default, the list only has columns for the post title and date of publication.</p> <p>Once you have created your own custom fields, you can show them as columns on the custom post type listing page.</p> <p>To do this:</p> <ol> <li>Edit the custom post type.</li> <li>Expand the <b>Post Fields to be shown as columns in Post Type listing in WordPress Admin </b>section.</li> <li>Select the fields you want.</li> </ol> </div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><p></p></div><p></p><div class="tces-js-style-encoded" style="display:none;">LnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gLndwLWJsb2NrLXRvb2xzZXQtYmxvY2tzLWNvbnRhaW5lci50Yi1jb250YWluZXJbZGF0YS10b29sc2V0LWJsb2Nrcy1jb250YWluZXI9IjM1YThjN2U3NWJkN2NhMDk1YzAwNmE2NzAyMWM3Mjg2Il0geyBib3JkZXItcmFkaXVzOiA1cHg7cGFkZGluZzogMjVweDttYXJnaW4tYm90dG9tOiAzMHB4O2JvcmRlcjogMXB4IHNvbGlkIHJnYmEoIDIyMSwgMjIxLCAyMjEsIDEgKTsgfSAudGItZmllbGRbZGF0YS10b29sc2V0LWJsb2Nrcy1maWVsZD0iMWMzNGQyNzQ1NzcwNmMyYmJlNjM5OTU3ZGQwYTRjZGEiXSB7IHRleHQtYWxpZ246IGxlZnQ7IH0gIC50Yi1maWVsZFtkYXRhLXRvb2xzZXQtYmxvY2tzLWZpZWxkPSIxYzM0ZDI3NDU3NzA2YzJiYmU2Mzk5NTdkZDBhNGNkYSJdIGEgeyB0ZXh0LWRlY29yYXRpb246IG5vbmU7IH0gaDMudGItaGVhZGluZ1tkYXRhLXRvb2xzZXQtYmxvY2tzLWhlYWRpbmc9ImRkZDY4Y2U2NzdiMzg3MDExYjM2ZTNhYmRjYWE1MjQzIl0gIHsgZm9udC1zaXplOiAxOHB4O2ZvbnQtd2VpZ2h0OiBib2xkO3BhZGRpbmctdG9wOiAwcHg7bWFyZ2luLXRvcDogMHB4O21hcmdpbi1ib3R0b206IDIwcHg7IH0gIGgzLnRiLWhlYWRpbmdbZGF0YS10b29sc2V0LWJsb2Nrcy1oZWFkaW5nPSJkZGQ2OGNlNjc3YjM4NzAxMWIzNmUzYWJkY2FhNTI0MyJdIGEgIHsgdGV4dC1kZWNvcmF0aW9uOiBub25lOyB9IEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTkxcHgpIHsgLnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gICB9IEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogNTk5cHgpIHsgLnRiLWNvbnRhaW5lciAudGItY29udGFpbmVyLWlubmVye3dpZHRoOjEwMCU7bWFyZ2luOjAgYXV0b30gICB9IA==</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="35a8c7e75bd7ca095c006a67021c7286"><h3 class="tb-heading" data-toolset-blocks-heading="ddd68ce677b387011b36e3abdcaa5243" data-last-update="1.4" id="sections-to-display-when-editing-posts">Sections to Display When Editing Posts<a class="anchorlink" href="#sections-to-display-when-editing-posts"></a></h3><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"> <div class="preview-video" style="max-width:80%;margin:35px auto;"> <a href="https://toolset.com/wp-content/uploads/2020/05/toolset-additional-fields-in-custom-post-editor.png" class="wplightbox tour-video video-lesson-parts"><img width="550" height="300" decoding="async" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20550%20300'%3E%3C/svg%3E" title="toolset-additional-fields-in-custom-post-editor" class="attachment-custom img-responsive" data-lazy-src="https://toolset.com/wp-content/uploads/2020/05/toolset-additional-fields-in-custom-post-editor-wpcf_550x300.png"><noscript><img width="550" height="300" decoding="async" src="https://toolset.com/wp-content/uploads/2020/05/toolset-additional-fields-in-custom-post-editor-wpcf_550x300.png" title="toolset-additional-fields-in-custom-post-editor" class="attachment-custom img-responsive"></noscript></a> </div></div><div class="tb-field" data-toolset-blocks-field="1c34d27457706c2bbe639957dd0a4cda" data-last-update="1.4"><p>When you edit a custom post, by default, you will see only two standard post fields you can edit: title and the main content (the main editor). </p> <p>To enable additional post fields when editing:</p> <ol> <li>Edit the custom post type.</li> <li>Expand the <b>Sections to display when editing… </b>options. </li> <li>Use checkboxes to enable options like the Author, Comments, and more.</li> </ol> </div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><p></p></div><p></p><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="35a8c7e75bd7ca095c006a67021c7286"><h3 class="tb-heading" data-toolset-blocks-heading="ddd68ce677b387011b36e3abdcaa5243" data-last-update="1.4" id="understanding-the-post-types-options-panel">Understanding the Post Type’s “Options” Panel<a class="anchorlink" href="#understanding-the-post-types-options-panel"></a></h3><div class="tb-field" data-toolset-blocks-field="1c34d27457706c2bbe639957dd0a4cda" data-last-update="1.4"><p>When you’re creating or editing a custom post type, you can find the additional <strong>Options </strong>panel below the main settings. This panel features a lot of additional options related to permalinks, archives, post type interface, and more. In most cases, you can simply use the defaults for these options.</p> <div>Settings in this panel actually reflect the options available for the <b>register_post_type </b>function. This is a standard WordPress function that Toolset uses to register a custom post type.</div> <div> </div> <div>Most of the settings in the <strong>Options </strong>panel have a short description. For more information about these options, visit the official WordPress documentation page about the <a href="https://developer.wordpress.org/reference/functions/register_post_type/" target="_blank" rel="noopener">register_post_type function</a>.</div> </div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"></div><p></p></div><p></p> </div></div></div><div class="wp-block-toolset-blocks-container tb-container" data-toolset-blocks-container="d2c4eb92db1e398496fbaa424d6eb701"><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"><div id="wpv-view-layout-1771997-CATTR530e152d9d8a1bc3ec615f3058420446" class="js-wpv-view-layout js-wpv-layout-responsive js-wpv-view-layout-1771997-CATTR530e152d9d8a1bc3ec615f3058420446" data-viewnumber="1771997-CATTR530e152d9d8a1bc3ec615f3058420446" data-pagination='{"id":1771997,"query":"normal","type":"disabled","effect":"fade","duration":500,"speed":5,"pause_on_hover":"disabled","stop_rollover":"false","cache_pages":"enabled","preload_images":"enabled","preload_pages":"enabled","preload_reach":1,"spinner":"builtin","spinner_image":"https://toolset.com/wp-content/plugins/wp-views/embedded/res/img/ajax-loader.gif","callback_next":"","manage_history":"disabled","has_controls_in_form":"disabled","infinite_tolerance":"0","max_pages":0,"page":1,"base_permalink":"/course-lesson/creating-a-custom-post-type/?wpv_view_count=1771997-CATTR530e152d9d8a1bc3ec615f3058420446&wpv_paged=WPV_PAGE_NUM","loop":{"type":"","name":"","data":[],"id":0}}' data-permalink="/course-lesson/creating-a-custom-post-type/?wpv_view_count=1771997-CATTR530e152d9d8a1bc3ec615f3058420446"> </div></div><div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="360284519b991feb492b582c7d84725f"> <div id="wpv-view-layout-1586421-CATTR1a65adac66330225f785a3320c7560e4TCPID1620001" class="js-wpv-view-layout js-wpv-layout-responsive js-wpv-view-layout-1586421-CATTR1a65adac66330225f785a3320c7560e4TCPID1620001" data-viewnumber="1586421-CATTR1a65adac66330225f785a3320c7560e4TCPID1620001" data-pagination='{"id":1586421,"query":"normal","type":"disabled","effect":"fade","duration":"500","speed":"5","pause_on_hover":"disabled","stop_rollover":"false","cache_pages":"enabled","preload_images":"enabled","preload_pages":"enabled","preload_reach":"1","spinner":"builtin","spinner_image":"https://testing-toolset-danijel-e-2020-03-06-b786c7.otgs.work/wp-content/plugins/wp-views/embedded/res/img/ajax-loader.gif","callback_next":"","manage_history":"disabled","has_controls_in_form":"disabled","infinite_tolerance":"0","max_pages":0,"page":1,"base_permalink":"/course-lesson/creating-a-custom-post-type/?wpv_view_count=1586421-CATTR1a65adac66330225f785a3320c7560e4TCPID1620001&wpv_paged=WPV_PAGE_NUM","loop":{"type":"","name":"","data":[],"id":0}}' data-permalink="/course-lesson/creating-a-custom-post-type/?wpv_view_count=1586421-CATTR1a65adac66330225f785a3320c7560e4TCPID1620001"> <h2 id="related-topics">Related topics<a class="anchorlink" href="#related-topics"></a></h2> <ul class="wpv-loop js-wpv-loop"> <li><a href="https://toolset.com/course-lesson/using-custom-fields-vs-taxonomy/">Using Custom Fields vs. Taxonomy</a></li><li><a href="https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/">Conditionally Display Custom Fields in WordPress Backend</a></li><li><a href="https://toolset.com/course-lesson/adding-a-custom-taxonomy-to-woocommerce-products/">Adding a Custom Taxonomy to WooCommerce Products</a></li><li><a href="https://toolset.com/course-lesson/using-post-reference-field-to-set-up-one-to-many-relationships/">Using Post Reference Field to Set-Up One-to-Many Relationships</a></li><li><a href="https://toolset.com/course-lesson/how-content-is-displayed-in-wordpress/">How Content is Displayed</a></li><li class="show-all-related-topics"><a href="#">Show all related topics...</a></li> <li class="hide"><a href="https://toolset.com/course-lesson/adding-custom-posts/">Adding Custom Posts</a></li><li class="hide"><a href="https://toolset.com/course-lesson/when-and-why-you-should-use-custom-types/">When and Why You Should Use Custom Types</a></li><li class="hide"><a href="https://toolset.com/course-lesson/creating-a-custom-taxonomy/">Creating a Custom Taxonomy</a></li><li class="hide"><a href="https://toolset.com/course-lesson/creating-custom-fields/">Creating Custom Fields</a></li><li class="hide"><a href="https://toolset.com/course-lesson/what-are-custom-types-and-how-they-work/">What Are Custom Types and How They Work</a></li><li class="hide"><a href="https://toolset.com/course-lesson/convert-existing-custom-types-and-fields-to-types-control/">Convert existing custom types and fields to Types control</a></li><li class="hide"><a href="https://toolset.com/course-lesson/limitations-on-html-content-in-custom-fields/">Limitations on HTML Content in Post Fields</a></li> </ul> <br> </div> </div></div> </div> </div> <section class="page-author-meta bottom"> <div class="page-author-meta__author"> <a href="https://www.onthegosystems.com/team/dario-jazbec-hrvatin/"><img alt='' src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%2040'%3E%3C/svg%3E" data-lazy-srcset='https://secure.gravatar.com/avatar/4bbca803115465ac20fc31c5a1ab0cff?s=80&d=mm&r=g 2x' class='avatar avatar-40 photo' height='40' width='40' decoding='async' data-lazy-src="https://secure.gravatar.com/avatar/4bbca803115465ac20fc31c5a1ab0cff?s=40&d=mm&r=g"/><noscript><img alt='' src='https://secure.gravatar.com/avatar/4bbca803115465ac20fc31c5a1ab0cff?s=40&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/4bbca803115465ac20fc31c5a1ab0cff?s=80&d=mm&r=g 2x' class='avatar avatar-40 photo' height='40' width='40' decoding='async'/></noscript> <span>Dario</span></a> </div> <div class="page-author-meta__publish"> <dl> <dt>Updated</dt> <dd>March 24, 2022</dd> </dl> </div> </section> <div class="documentation-feedback"> <a href="https://toolset.com/documentation/your-documentation-feedback/?lesson=1620001"><img width="22" height="20" class="img-svg" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2022%2020'%3E%3C/svg%3E" alt="" data-lazy-src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/img/svg/training/feedback.svg" /><noscript><img width="22" height="20" class="img-svg" src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/img/svg/training/feedback.svg" alt="" /></noscript>Send feedback to our documentation team</a> </div> </div> <div class="col-sm-4"><ul class="training-courses-sidenav"> <li> <h3>Learn more about this topic in Toolset courses</h3> <div class="course-view"> <ul><li><a href="https://toolset.com/course/custom-types-in-wordpress/">WordPress Custom Post Types and Fields</a></li><li><a href="https://toolset.com/course/custom-business-sites-with-dynamic-content/">Custom Business Sites</a></li><li><a href="https://toolset.com/course/wordpress-real-estate-sites/">WordPress Real Estate Sites</a></li><li><a href="https://toolset.com/course/wordpress-directory-and-classifieds-sites/">WordPress Directory and Classifieds Sites</a></li><li><a href="https://toolset.com/course/wordpress-membership-sites/">WordPress Membership Sites</a></li> </ul> </div> </li> </ul></div> </div> </div> <footer class="full-bg site-footer"> <div class="container"> <div class="site-footer__links"> <div class="site-footer__links-col"> <h3>About Toolset</h3> <ul id="menu-footer-column-1" class="menu" role="menu"><li id="menu-item-2016035" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2016035"><a href="https://toolset.com/home/how-youll-build-sites-with-toolset/">Site Building with Toolset</a></li> <li id="menu-item-1394141" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1394141"><a href="https://toolset.com/home/toolset-components/">Toolset Components</a></li> <li id="menu-item-1765217" class="menu-item menu-item-type-post_type_archive menu-item-object-block-item menu-item-1765217"><a href="https://toolset.com/block-item/">Toolset's Blocks Library</a></li> <li id="menu-item-1394179" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1394179"><a href="https://toolset.com/home/comparing-toolset-to-free-and-paid-alternatives/">Toolset vs. Alternatives</a></li> </ul> </div> <div class="site-footer__links-col"> <h3>Resources</h3> <ul id="menu-footer-column-2" class="menu" role="menu"><li id="menu-item-1394155" class="menu-item menu-item-type-post_type menu-item-object-page current_page_parent menu-item-1394155"><a href="https://toolset.com/blog/">Blog</a></li> <li id="menu-item-1394181" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1394181"><a href="/showcase/">Showcase</a></li> <li id="menu-item-1654919" class="menu-item menu-item-type-post_type_archive menu-item-object-mention menu-item-1654919"><a href="https://toolset.com/mention/">Press mentions</a></li> <li id="menu-item-1862509" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1862509"><a href="https://toolset.com/home/press-resources/">Press Resources</a></li> </ul> </div> <div class="site-footer__links-col"> <h3>Company</h3> <ul id="menu-footer-column-3" class="menu" role="menu"><li id="menu-item-1394159" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1394159"><a href="https://toolset.com/home/about-us/">About Us</a></li> <li id="menu-item-1394153" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1394153"><a href="https://toolset.com/home/contact-us/">Contact Us</a></li> <li id="menu-item-1394167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1394167"><a href="https://toolset.com/privacy-policy-and-gdpr-compliance/">Privacy Policy</a></li> <li id="menu-item-1394165" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1394165"><a href="https://www.onthegosystems.com/jobs/">Jobs</a></li> </ul> </div> <div class="site-footer__links-col"> <h3>Features</h3> <ul id="menu-footer-column-4" class="menu" role="menu"><li id="menu-item-2073235" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2073235"><a href="https://toolset.com/features/how-to-build-advanced-sites-with-gutenberg-and-no-coding/">How to Build Advanced Sites With Gutenberg and No Coding</a></li> <li id="menu-item-2073237" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2073237"><a href="https://toolset.com/features/maps-for-advanced-directory-sites/">Maps for Advanced Directory Sites</a></li> <li id="menu-item-2073233" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2073233"><a href="https://toolset.com/features/shortcodes-in-gutenberg/">Shortcodes in Gutenberg – Dynamic Sources</a></li> </ul> </div> <div class="site-footer__links-col"> <h3>Documentation</h3> <ul id="menu-footer-column-5" class="menu" role="menu"><li id="menu-item-2073245" class="menu-item menu-item-type-post_type menu-item-object-course menu-item-2073245"><a href="https://toolset.com/course/custom-types-in-wordpress/">Custom Post Types and Fields</a></li> <li id="menu-item-2073257" class="menu-item menu-item-type-post_type menu-item-object-course menu-item-2073257"><a href="https://toolset.com/course/wordpress-directory-and-classifieds-sites/">Directory and Classifieds Sites</a></li> <li id="menu-item-2073255" class="menu-item menu-item-type-post_type menu-item-object-course menu-item-2073255"><a href="https://toolset.com/course/wordpress-real-estate-sites/">Real Estate Sites</a></li> <li id="menu-item-2073251" class="menu-item menu-item-type-post_type menu-item-object-course menu-item-2073251"><a href="https://toolset.com/course/custom-woocommerce-sites/">WooCommerce Sites</a></li> <li id="menu-item-2073249" class="menu-item menu-item-type-post_type menu-item-object-course menu-item-2073249"><a href="https://toolset.com/course/custom-business-sites-with-dynamic-content/">Business Sites</a></li> <li id="menu-item-2073253" class="menu-item menu-item-type-post_type menu-item-object-course menu-item-2073253"><a href="https://toolset.com/course/wordpress-membership-sites/">Membership Sites</a></li> </ul> </div> </div> <div class="site-footer__copyright"> <div class="site-footer__copyright-col"> </div> <div class="site-footer__copyright-col text-center"> <div class="site-footer__copyright-col-logo"> <a href="https://www.onthegosystems.com/" target="_blank"><img src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20260%2031'%3E%3C/svg%3E" width="260" height="31" alt="OnTheGoSystems Limited" data-lazy-src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/img/svg/logo-footer-otgs.svg" /><noscript><img src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/img/svg/logo-footer-otgs.svg" width="260" height="31" alt="OnTheGoSystems Limited" /></noscript><span class="screen-reader-text"> (opens in a new window)</span></a> </div> <p>Copyright 2024<br />OnTheGoSystems Limited</p> </div> <div class="site-footer__copyright-col text-right"> <div class="site-footer__copyright-col-social"> <a target="_blank" rel="nofollow" class="no-lightbox" href="https://www.youtube.com/channel/UCkXU96V638K0OQ-297dL2qA"><svg role="none"><use xlink:href="#ico-icon-yt"></use></svg><span class="screen-reader-text"> (opens in a new window)</span></a> <a target="_blank" rel="nofollow" href="https://twitter.com/ToolsetPlugins"><svg role="none"><use xlink:href="#ico-icon-twitter"></use></svg><span class="screen-reader-text"> (opens in a new window)</span></a> <a target="_blank" rel="nofollow" href="https://www.facebook.com/toolsetplugins/"><svg role="none"><use xlink:href="#ico-icon-facebook"></use></svg><span class="screen-reader-text"> (opens in a new window)</span></a> </div> </div> </div> </div> </footer> <script type="text/javascript"> const wpvViewHead = document.getElementsByTagName( "head" )[ 0 ]; const wpvViewExtraCss = document.createElement( "style" ); wpvViewExtraCss.textContent = '/* ----------------------------------------- *//* View slug: related-lessons - start *//* ----------------------------------------- */.show-all-related-topics:before { display: none !important;}.show-all-related-topics { padding-left: 0 !important; margin-top: 10px;}.show-all-related-topics a { display: inline-block; color: #ed793e;}/* ----------------------------------------- *//* View slug: related-lessons - end *//* ----------------------------------------- */<!--[if IE 7]><style>.wpv-pagination { *zoom: 1; }</style><![endif]-->'; wpvViewHead.appendChild( wpvViewExtraCss ); </script> <script type="text/javascript" id="bbp-swap-no-js-body-class"> document.body.className = document.body.className.replace( 'bbp-no-js', 'bbp-js' ); </script> <div id="wonderpluginlightbox_options" data-skinsfoldername="skins/default/" data-jsfolder="https://toolset.com/wp-content/plugins/wonderplugin-lightbox/engine/" data-autoslide="false" data-showall="false" data-slideinterval="5000" data-showtimer="true" data-timerposition="bottom" data-timerheight="2" data-timercolor="#dc572e" data-timeropacity="1" data-navarrowspos="inside" data-closepos="outside" data-enteranimation="" data-exitanimation="" data-showplaybutton="false" data-alwaysshownavarrows="false" data-bordersize="8" data-showtitleprefix="true" data-responsive="true" data-fullscreenmode="false" data-fullscreentextoutside="true" data-closeonoverlay="true" data-videohidecontrols="false" data-mutevideo="false" data-nativehtml5controls="false" data-enableclick="false" data-enablespacekey="false" data-initvimeo="true" data-inityoutube="true" data-titlestyle="bottom" data-imagepercentage="75" data-enabletouchswipe="true" data-supportdynamiccontent="false" data-autoplay="true" data-html5player="true" data-overlaybgcolor="#000" data-overlayopacity="0.8" data-defaultvideovolume="1" data-bgcolor="#FFF" data-borderradius="0" data-thumbwidth="96" data-thumbheight="72" data-thumbtopmargin="12" data-thumbbottommargin="12" data-barheight="48" data-showtitle="true" data-titleprefix="%NUM / %TOTAL" data-titlebottomcss="{color:#333; font-size:14px; overflow:hidden; text-align:left;}" data-showdescription="true" data-descriptionbottomcss="{color:#333; font-size:12px; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}" data-titleinsidecss="color:#333; font-size:16px; overflow:hidden; text-align:left;" data-descriptioninsidecss="color:#333; font-size:12px; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;" data-titleoutsidecss="color:#fff; font-size:18px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:center; margin: 8px;" data-descriptionoutsidecss="color:#fff; font-size:14px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:center; margin:8px; padding: 0px;" data-videobgcolor="#000" data-html5videoposter="" data-responsivebarheight="false" data-smallscreenheight="415" data-barheightonsmallheight="64" data-notkeepratioonsmallheight="false" data-showsocial="false" data-socialposition="position:absolute;top:100%;right:0;" data-socialpositionsmallscreen="position:absolute;top:100%;right:0;left:0;" data-socialdirection="horizontal" data-socialbuttonsize="32" data-socialbuttonfontsize="18" data-socialrotateeffect="true" data-showfacebook="true" data-showtwitter="true" data-showpinterest="true" data-bordertopmargin="48" data-shownavigation="true" data-navbgcolor="rgba(0,0,0,0.2)" data-shownavcontrol="true" data-hidenavdefault="false" data-hidenavigationonmobile="false" data-hidenavigationonipad="false" data-ga4account="" data-googleanalyticsaccount="" data-wonderplugin-lightbox-options="cd556491d7" data-_wp_http_referer="/wp-admin/admin.php?page=wonderplugin_lightbox_show_options" style="display:none;"></div> <script type="text/javascript"> var wpTemplateDirectory = 'https://toolset.com/wp-content/themes/wp-types-bootstrap-theme'; </script> <script type='text/javascript'> (function () { var c = document.body.className; c = c.replace(/woocommerce-no-js/, 'woocommerce-js'); document.body.className = c; })(); </script> <link data-minify="1" rel='stylesheet' id='shCoreDefault-css' href='https://toolset.com/wp-content/cache/min/1/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shCoreDefault.css?ver=1730703414' type='text/css' media='all' /> <link rel='stylesheet' id='codesnip-style-css' data-oprm-on-first-user-action data-oprm-id=codeSnips data-oprm-src='https://toolset.com/wp-content/plugins/code-snips/res/css/codesnipcss.css?ver=6.6.2' type='text/css' media='all' /> <link rel='stylesheet' id='wpml-legacy-horizontal-list-0-css' href='https://toolset.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/style.min.css?ver=1' type='text/css' media='all' /> <script type="text/javascript" id="bbps-free-consultation-js-js-extra"> /* <![CDATA[ */ var the_free_consultation_js = {"free_consultation_tag_anchor":"#free_consultation_section_anchor","homepage_url":"https:\/\/toolset.com\/","toolset_kinds_translatable_text":"You need to indicate what kind of site the client is building.","toolset_fit_translatable_text":"You need to indicate if this project fits with Toolset.","frontend_cred_no_form_content":"Please provide your message here.*","frontend_cred_no_firstname":"Please provide your first name.*","frontend_cred_no_lastname":"Please provide your last name.*","frontend_cred_no_email":"Please provide valid email.*","is_toolset_types_landing_page":"no","we_are_on_account":"no","toolset_fits_kinds_object":"no","free_consultation_forum":"no"}; /* ]]> */ </script> <script type="text/javascript" id="ga_affiliate_tracking_script-js-extra"> /* <![CDATA[ */ var ga_affiliate_tracking_object = {"site_name":"Toolset"}; /* ]]> */ </script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/icl-mpp/modules/affiliate/res/js/scripts.js?ver=1730703370" id="ga_affiliate_tracking_script-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/dist/vendor/react.min.js?ver=18.3.1" id="react-js"></script> <script type="module" src="https://toolset.com/wp-content/plugins/icl-mpp/modules/HTMX/assets/js/alpine.min.js?ver=3.13.0" defer="defer"></script><script type="text/javascript" id="otgs-dynamic-frontend-elements-loader-js-extra"> /* <![CDATA[ */ var otgs_dynamic_frontend_l10n = {"ajaxurl":"https:\/\/toolset.com\/wp-admin\/admin-ajax.php","ajax_action":"otgs_dynamic_frontend_elements_load","dynamic_elements":[{"key":"toolset-account-menu_en","selector":"#account-menu-wrapper"}],"can_detect_visitors":"1","logged_in_cookie":"otgs\/mpp\/is-user-logged-in","lang_code":"en","debug":""}; /* ]]> */ </script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/otgs-dynamic-frontend-elements/public/main.bundle.js?ver=1730703370" id="otgs-dynamic-frontend-elements-loader-js" data-rocket-defer defer></script> <script type="text/javascript" id="wp-postratings-js-extra"> /* <![CDATA[ */ var ratingsL10n = {"plugin_url":"https:\/\/toolset.com\/wp-content\/plugins\/wp-postratings","ajax_url":"https:\/\/toolset.com\/wp-admin\/admin-ajax.php","text_wait":"Please rate only 1 item at a time.","image":"stars_flat_png","image_ext":"png","max":"5","show_loading":"0","show_fading":"1","custom":"0"}; var ratings_mouseover_image=new Image();ratings_mouseover_image.src="https://toolset.com/wp-content/plugins/wp-postratings/images/stars_flat_png/rating_over.png";; /* ]]> */ </script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/wp-postratings/js/postratings-js.js?ver=1730703370" id="wp-postratings-js" data-rocket-defer defer></script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-form-move-tracker.js?ver=1730703370" id="gtm4wp-form-move-tracker-js" data-rocket-defer defer></script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-ecommerce-generic.js?ver=1730703370" id="gtm4wp-ecommerce-generic-js" data-rocket-defer defer></script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-woocommerce.js?ver=1730703370" id="gtm4wp-woocommerce-js" data-rocket-defer defer></script> <script type="text/javascript" id="thickbox-js-extra"> /* <![CDATA[ */ var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"https:\/\/toolset.com\/wp-includes\/js\/thickbox\/loadingAnimation.gif"}; /* ]]> */ </script> <script type="text/javascript" data-oprm-manual data-oprm-id=themeBootstrap data-oprm-src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/bootstrap/js/bootstrap.min.js?ver=4.0.1" id="bootstrap-js"></script> <script type="text/javascript" id="toolset-main-js-extra"> /* <![CDATA[ */ var toolsetMainStrings = {"ajaxNonce":"71d7d619f0"}; /* ]]> */ </script> <script type="text/javascript" src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/js/user-scripts.min.js?ver=4.0.1" id="toolset-main-js" data-rocket-defer defer></script> <script type="text/javascript" id="mediaelement-js-extra"> /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive","audioShortcodeLibrary":"mediaelement","videoShortcodeLibrary":"mediaelement"}; /* ]]> */ </script> <script type="text/javascript" data-oprm-on-first-user-action data-oprm-id=themeCourses data-oprm-src="https://toolset.com/wp-content/themes/wp-types-bootstrap-theme/js/training-courses.min.js?ver=4.0.1" id="training-courses-js"></script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/layouts/resources/js/ddl-tabs-cell-frontend.js?ver=1730703370" id="ddl-tabs-scripts-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/jquery/ui/core.min.js?ver=1.13.3" id="jquery-ui-core-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/underscore.min.js?ver=1.13.4" id="underscore-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/jquery/suggest.min.js?ver=1.1-20110113" id="suggest-js" data-rocket-defer defer></script> <script type="text/javascript" id="wptoolset-field-date-js-extra"> /* <![CDATA[ */ var wptDateData = {"buttonImage":"https:\/\/toolset.com\/wp-content\/plugins\/cred-frontend-editor\/vendor\/toolset\/toolset-common\/toolset-forms\/images\/calendar.gif","buttonText":"Select date","dateFormat":"MM d, yy","dateFormatPhp":"F j, Y","dateFormatNote":"Input format: F j, Y","yearMin":"1583","yearMax":"3000","ajaxurl":"https:\/\/toolset.com\/wp-admin\/admin-ajax.php","readonly":"This is a read-only date input","readonly_image":"https:\/\/toolset.com\/wp-content\/plugins\/cred-frontend-editor\/vendor\/toolset\/toolset-common\/toolset-forms\/images\/calendar-readonly.gif","datepicker_style_url":"https:\/\/toolset.com\/wp-content\/plugins\/cred-frontend-editor\/vendor\/toolset\/toolset-common\/toolset-forms\/css\/wpt-jquery-ui\/jquery-ui-1.11.4.custom.css"}; /* ]]> */ </script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/jquery/ui/mouse.min.js?ver=1.13.3" id="jquery-ui-mouse-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/jquery/ui/slider.min.js?ver=1.13.3" id="jquery-ui-slider-js" data-rocket-defer defer></script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-includes/js/jquery/jquery.ui.touch-punch.js?ver=1730703543" id="jquery-touch-punch-js" data-rocket-defer defer></script> <script type="text/javascript" id="wp-util-js-extra"> /* <![CDATA[ */ var _wpUtilSettings = {"ajax":{"url":"\/wp-admin\/admin-ajax.php"}}; /* ]]> */ </script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/wp-util.min.js?ver=6.6.2" id="wp-util-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://toolset.com/wp-includes/js/backbone.min.js?ver=1.5.0" id="backbone-js" data-rocket-defer defer></script> <script type="text/javascript" id="views-blocks-frontend-js-extra"> /* <![CDATA[ */ var wpv_pagination_local = {"front_ajaxurl":"https:\/\/toolset.com\/wp-admin\/admin-ajax.php","calendar_image":"https:\/\/toolset.com\/wp-content\/plugins\/wp-views\/embedded\/res\/img\/calendar.gif","calendar_text":"Select date","datepicker_min_date":null,"datepicker_max_date":null,"datepicker_min_year":"1582","datepicker_max_year":"3000","resize_debounce_tolerance":"100","datepicker_style_url":"https:\/\/toolset.com\/wp-content\/plugins\/cred-frontend-editor\/vendor\/toolset\/toolset-common\/toolset-forms\/css\/wpt-jquery-ui\/jquery-ui-1.11.4.custom.css","wpmlLang":"en"}; /* ]]> */ </script> <script data-minify="1" type="text/javascript" src="https://toolset.com/wp-content/cache/min/1/wp-content/plugins/wp-views/public/js/views-frontend.js?ver=1730703543" id="views-blocks-frontend-js" data-rocket-defer defer></script> <script type="text/javascript"> //----------------------------------------- // View slug: related-lessons - start //----------------------------------------- jQuery(function($) { $( ".show-all-related-topics a" ).click(function(e) { e.preventDefault(); $(this).parent().hide(); $(this).parents('ul').find('li').removeClass('hide'); }); }); //----------------------------------------- // View slug: related-lessons - end //----------------------------------------- </script> <script>window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)</script><script data-no-minify="1" async src="https://toolset.com/wp-content/plugins/wp-rocket/assets/js/lazyload/17.8.3/lazyload.min.js"></script> </body> </html> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me - Debug: cached@1732383043 -->