{"id":622,"date":"2015-11-05T02:22:31","date_gmt":"2015-11-05T02:22:31","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=622"},"modified":"2026-02-25T04:41:22","modified_gmt":"2026-02-25T04:41:22","password":"","slug":"what-is-id-of-a-view","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/what-is-id-of-a-view\/","title":{"rendered":"Get the ID of View\/Block\/Widget"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The ID is a unique value to identify each View shortcode, block, or widget.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>+<\/strong> If you are using our <strong><span style=\"text-decoration: underline;\">shortcode<\/span><\/strong>, each View shortcode has this format <code>[pt_view id=\"12345abcde\"]<\/code><br>=> ID of View is <code>12345abcde<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>+<\/strong> If you are using our <strong><span style=\"text-decoration: underline;\">Block<\/span><\/strong>, please edit the block, click <strong>Extra<\/strong> tab, you will see the <strong>Block ID<\/strong> value.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"271\" height=\"313\" src=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image.png\" alt=\"\" class=\"wp-image-6024\" srcset=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image.png 271w, https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image-260x300.png 260w\" sizes=\"auto, (max-width: 271px) 100vw, 271px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>+<\/strong> If you are using our <strong><span style=\"text-decoration: underline;\">Elementor Widget<\/span><\/strong>, please hover the widget output in the Editor, you will see the ID at top left of the widget output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"991\" height=\"218\" src=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image-1.png\" alt=\"\" class=\"wp-image-6026\" srcset=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image-1.png 991w, https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image-1-300x66.png 300w, https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2015\/11\/image-1-768x169.png 768w\" sizes=\"auto, (max-width: 991px) 100vw, 991px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(it is added since <span class=\"prokeys-snippet-text\">Content Views <\/span>free 4.1)<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ID is a unique value to identify each View shortcode, block, or widget. + If you are using our shortcode, each View shortcode has this format [pt_view id=&#8221;12345abcde&#8221;]=> ID of View is 12345abcde + If you are using our Block, please edit the block, click Extra tab, you will see the Block ID value. &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/what-is-id-of-a-view\/\"> <span class=\"screen-reader-text\">Get the ID of View\/Block\/Widget<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[9],"doc_tag":[],"class_list":["post-622","docs","type-docs","status-publish","hentry","doc_category-how-to"],"year_month":"2026-09","word_count":89,"total_views":"7","reactions":{"happy":"0","normal":"1","sad":"0"},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"How To","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/how-to\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=622"}],"version-history":[{"count":18,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/622\/revisions"}],"predecessor-version":[{"id":6175,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/622\/revisions\/6175"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=622"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=622"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}