{"id":42866,"date":"2016-03-31T14:23:33","date_gmt":"2016-03-31T14:23:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/sitekit\/"},"modified":"2025-06-15T23:28:35","modified_gmt":"2025-06-15T23:28:35","slug":"sitekit","status":"publish","type":"plugin","link":"https:\/\/mk.wordpress.org\/plugins\/sitekit\/","author":7506807,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"2.0","tested":"6.8.5","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"Sitekit","header_author":"webvitaly","header_description":"","assets_banners_color":"d4956e","last_updated":"2025-06-15 23:28:35","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/web-profile.net\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/sitekit\/","header_author_uri":"http:\/\/web-profile.net\/wordpress\/plugins\/","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":55180,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"webvitaly","date":"2016-04-01 14:22:42"},"1.1":{"tag":"1.1","author":"webvitaly","date":"2016-04-15 22:08:04"},"1.2":{"tag":"1.2","author":"webvitaly","date":"2018-01-11 04:17:48"},"1.3":{"tag":"1.3","author":"webvitaly","date":"2023-04-28 16:35:20"},"1.4":{"tag":"1.4","author":"webvitaly","date":"2023-08-30 01:23:06"},"1.5":{"tag":"1.5","author":"webvitaly","date":"2023-09-23 23:43:10"},"1.6":{"tag":"1.6","author":"webvitaly","date":"2023-12-07 20:11:22"},"1.7":{"tag":"1.7","author":"webvitaly","date":"2024-03-11 16:26:54"},"1.8":{"tag":"1.8","author":"webvitaly","date":"2024-10-06 22:38:47"},"1.9":{"tag":"1.9","author":"webvitaly","date":"2025-03-22 15:13:50"},"2.0":{"tag":"2.0","author":"webvitaly","date":"2025-06-15 23:28:35"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1384456,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1384456,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1384456,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1445,3621,944,162,241],"plugin_category":[43,57],"plugin_contributors":[77906],"plugin_business_model":[],"class_list":["post-42866","plugin","type-plugin","status-publish","hentry","plugin_tags-archive","plugin_tags-archives","plugin_tags-search","plugin_tags-widget","plugin_tags-widgets","plugin_category-customization","plugin_category-taxonomy","plugin_contributors-webvitaly","plugin_committers-webvitaly"],"banners":{"banner":"https:\/\/ps.w.org\/sitekit\/assets\/banner-772x250.png?rev=1384456","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sitekit\/assets\/icon-128x128.png?rev=1384456","icon_2x":"https:\/\/ps.w.org\/sitekit\/assets\/icon-256x256.png?rev=1384456","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<ul>\n<li><strong><a href=\"http:\/\/web-profile.net\/wordpress\/plugins\/sitekit\/\" title=\"Plugin page\">Sitekit<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/web-profile.net\/donate\/\" title=\"Support the development\">Donate<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/webvitalii\/sitekit\" title=\"Fork\">GitHub<\/a><\/strong><\/li>\n<\/ul>\n\n<h4>Settings:<\/h4>\n\n<ul>\n<li>Google Analytics code<\/li>\n<li>Show\/hide google analytics code if user is logged in<\/li>\n<li>Head code<\/li>\n<li>Footer code<\/li>\n<\/ul>\n\n<h4>Widgets:<\/h4>\n\n<ul>\n<li>Archives<\/li>\n<li>Categories<\/li>\n<li>Pages<\/li>\n<li>Search<\/li>\n<\/ul>\n\n<h4>Shortcodes:<\/h4>\n\n<ul>\n<li><code>[sitekit_posts]<\/code><\/li>\n<li><code>[sitekit_archives]<\/code><\/li>\n<li><code>[sitekit_categories]<\/code><\/li>\n<li><code>[sitekit_bloginfo]<\/code><\/li>\n<li><code>[sitekit_iframe]<\/code><\/li>\n<\/ul>\n\n<h4>Parameters for [sitekit_posts]:<\/h4>\n\n<ul>\n<li><strong>post_type<\/strong> - show posts associated with certain type: <code>[sitekit_posts post_type=\"page\"]<\/code>; by default posts are shown: <code>[sitekit_posts post_type=\"post\"]<\/code>; Possible params: post | page | revision | attachment | nav_menu_item | any | your_custom_post_type<\/li>\n<li><strong>orderby<\/strong> - the column to use for ordering posts list: <code>[sitekit_posts orderby=\"id\"]<\/code>; by default list is sorted by date: <code>[sitekit_posts orderby=\"date\"]<\/code>; Possible params: modified | title | name | ID | rand<\/li>\n<li><strong>order<\/strong> - how to sort posts list: <code>[sitekit_posts order=\"DESC\"]<\/code>; by default list is sorted by ascending order (A-Z): <code>[sitekit_posts order=\"ASC\"]<\/code>;<\/li>\n<li><strong>posts_per_page<\/strong> - how many posts to show in the list: <code>[sitekit_posts posts_per_page=\"50\"]<\/code>; by default: <code>[sitekit_posts posts_per_page=\"100\"]<\/code>;<\/li>\n<\/ul>\n\n<p>[sitekit_posts] is based on <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\">WP_Query class<\/a>.<\/p>\n\n<h4>Parameters for [sitekit_archives]:<\/h4>\n\n<ul>\n<li><code>[sitekit_archives]<\/code> - list of monthly archives links sorted by date;<\/li>\n<li><code>[sitekit_archives type=\"yearly\"]<\/code> - list of yearly archives links;<\/li>\n<li><code>[sitekit_archives type=\"monthly\"]<\/code> - list of monthly archives links;<\/li>\n<li><code>[sitekit_archives type=\"weekly\"]<\/code> - list of weekly archives links;<\/li>\n<li><code>[sitekit_archives type=\"daily\"]<\/code> - list of daily archives links;<\/li>\n<li><code>[sitekit_archives type=\"postbypost\"]<\/code> - list of all posts links sorted by date;<\/li>\n<li><code>[sitekit_archives type=\"alpha\"]<\/code> -  list of all posts links sorted by title;<\/li>\n<li><strong>limit<\/strong> - how many links to be included in the list: <code>[sitekit_archives limit=\"10\"]<\/code>; by default all links are shown: <code>[sitekit_archives limit=\"\"]<\/code>;<\/li>\n<li><strong>format<\/strong> - format for the archive: <code>[sitekit_archives format=\"option\"]<\/code> - show as a dropdown; by default unordered list is shown: <code>[sitekit_archives format=\"html\"]<\/code>;<\/li>\n<li><strong>show_post_count<\/strong> - display counter of posts in the archive: <code>[sitekit_archives show_post_count=\"1\"]<\/code>; by default counter is not shown: <code>[sitekit_archives show_post_count=\"0\"]<\/code>;<\/li>\n<li><strong>order<\/strong> - how to sort archives links: <code>[sitekit_archives order=\"ASC\"]<\/code>; by default links are sorted by descending order (Z-A): <code>[sitekit_archives order=\"DESC\"]<\/code>;<\/li>\n<\/ul>\n\n<p>[sitekit_archives] is based on <a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/wp_get_archives\">wp_get_archives function<\/a>.<\/p>\n\n<h4>Parameters for [sitekit_categories]:<\/h4>\n\n<ul>\n<li><strong>orderby<\/strong> - the column to use for ordering categories list: <code>[sitekit_categories orderby=\"id\"]<\/code>; by default list is sorted by title: <code>[sitekit_categories orderby=\"name\"]<\/code>;<\/li>\n<li><strong>order<\/strong> - how to sort categories list: <code>[sitekit_categories order=\"DESC\"]<\/code>; by default list is sorted by ascending order (A-Z): <code>[sitekit_categories order=\"ASC\"]<\/code>;<\/li>\n<li><strong>show_count<\/strong> - display counter of posts in the categories list: <code>[sitekit_categories show_count=\"1\"]<\/code>; by default counter is not shown: <code>[sitekit_categories show_count=\"0\"]<\/code>;<\/li>\n<li><strong>hide_empty<\/strong> - the column to use for ordering categories list: <code>[sitekit_categories hide_empty=\"0\"]<\/code>; by default empty categories are hidden: <code>[sitekit_categories hide_empty=\"1\"]<\/code>;<\/li>\n<li><strong>hierarchical<\/strong> - show tree-like categories list: <code>[sitekit_categories hierarchical=\"0\"]<\/code>; by default the list is hierarchical: <code>[sitekit_categories hierarchical=\"1\"]<\/code>;<\/li>\n<li><strong>depth<\/strong> - how many levels to include in categories list: <code>[sitekit_categories depth=\"5\"]<\/code>; by default depth is unlimited: <code>[sitekit_categories depth=\"0\"]<\/code>;<\/li>\n<li><strong>taxonomy<\/strong> - which taxonomy to show in the list: <code>[sitekit_categories taxonomy=\"post_tag\"]<\/code>; by default categories are shown: <code>[sitekit_categories taxonomy=\"category\"]<\/code>;<\/li>\n<li><strong>child_of<\/strong> - term ID to retrieve child terms of: <code>[sitekit_categories child_of=\"77\"]<\/code>; by default all categories are shown: <code>[sitekit_categories child_of=\"0\"]<\/code>;<\/li>\n<li><strong>exclude<\/strong> - comma\/space-separated string of term IDs to exclude: <code>[sitekit_categories exclude=\"77\"]<\/code>; by default all categories are shown: <code>[sitekit_categories exclude=\"\"]<\/code>;<\/li>\n<li><strong>exclude_tree<\/strong> - comma\/space-separated string of term IDs to exclude, along with their descendants: <code>[sitekit_categories exclude_tree=\"77\"]<\/code>; by default all categories are shown: <code>[sitekit_categories exclude_tree=\"\"]<\/code>;<\/li>\n<\/ul>\n\n<p>[sitekit_categories] is based on <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_list_categories\/\">wp_list_categories function<\/a>.<\/p>\n\n<h4>Parameters for [sitekit_bloginfo]:<\/h4>\n\n<ul>\n<li><code>[sitekit_bloginfo show=\"name\"]<\/code> - <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/bloginfo\/\">sitekit_bloginfo params<\/a>;<\/li>\n<\/ul>\n\n<p>[sitekit_bloginfo] is based on <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/bloginfo\/\">bloginfo function<\/a>.<\/p>\n\n<h4>Parameters for [sitekit_iframe]:<\/h4>\n\n<ul>\n<li><strong>src<\/strong> - source of the iframe: <code>[sitekit_iframe src=\"http:\/\/www.youtube.com\/embed\/4qsGTXLnmKs\"]<\/code>; by default src=\"http:\/\/www.youtube.com\/embed\/4qsGTXLnmKs\";<\/li>\n<li><strong>width<\/strong> - width in pixels or in percents: <code>[sitekit_iframe width=\"100%\"]<\/code> or <code>[sitekit_iframe width=\"600\"]<\/code>; by default width=\"100%\";<\/li>\n<li><strong>height<\/strong> - height in pixels: <code>[sitekit_iframe height=\"500\"]<\/code>; by default height=\"500\";<\/li>\n<li><strong>scrolling<\/strong> - with or without the scrollbar: <code>[sitekit_iframe scrolling=\"no\"]<\/code>; by default scrolling=\"yes\";<\/li>\n<li><strong>frameborder<\/strong> - with or without the frame border: <code>[sitekit_iframe frameborder=\"0\"]<\/code>; by default frameborder=\"0\";<\/li>\n<li><strong>marginheight<\/strong> - height of the margin: <code>[sitekit_iframe marginheight=\"0\"]<\/code>; removed by default;<\/li>\n<li><strong>marginwidth<\/strong> - width of the margin: <code>[sitekit_iframe marginwidth=\"0\"]<\/code>; removed by default;<\/li>\n<li><strong>allowtransparency<\/strong> - allows to set transparency of the iframe: <code>[sitekit_iframe allowtransparency=\"true\"]<\/code>; removed by default;<\/li>\n<li><strong>id<\/strong> - allows to add the id of the iframe: <code>[sitekit_iframe id=\"custom_id\"]<\/code>; removed by default;<\/li>\n<li><strong>class<\/strong> - allows to add the class of the iframe: <code>[sitekit_iframe class=\"custom_class\"]<\/code>; by default class=\"iframe-class\";<\/li>\n<li><strong>style<\/strong> - allows to add the css styles of the iframe: <code>[sitekit_iframe style=\"margin-left:-30px;\"]<\/code>; removed by default;<\/li>\n<li><strong>any_other_param<\/strong> - allows to add new parameter of the iframe <code>[sitekit_iframe any_other_param=\"any_value\"]<\/code>;<\/li>\n<li><strong>any_other_empty_param<\/strong> - allows to add new empty parameter of the iframe (like \"allowfullscreen\" on youtube) <code>[sitekit_iframe any_other_empty_param=\"\"]<\/code>;<\/li>\n<\/ul>\n\n<h4>Parameters for [sitekit_menu]:<\/h4>\n\n<p>The <code>[sitekit_menu]<\/code> shortcode allows you to display a custom menu. It supports all the parameters of the WordPress <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_nav_menu\/\">wp_nav_menu()<\/a> function.<\/p>\n\n<ul>\n<li><strong>menu<\/strong> - The menu that should be displayed. Accepts (matching in order) id, slug, name. Default: empty. Example: <code>[sitekit_menu menu=\"main-menu\"]<\/code><\/li>\n<li><strong>container<\/strong> - Whether to wrap the ul, and what to wrap it with. Default 'div'. Example without a container: <code>[sitekit_menu menu=\"main-menu\" container=\"\"]<\/code><\/li>\n<li><strong>container_class<\/strong> - The class that is applied to the container. Default 'menu-{menu slug}-container'. Example: <code>[sitekit_menu menu=\"main-menu\" container_class=\"custom-container\"]<\/code><\/li>\n<li><strong>container_id<\/strong> - The ID that is applied to the container. Default empty.<\/li>\n<li><strong>menu_class<\/strong> - CSS class to use for the ul element which forms the menu. Default 'menu'.  Example: <code>[sitekit_menu menu=\"main-menu\" menu_class=\"custom-menu\"]<\/code><\/li>\n<li><strong>menu_id<\/strong> - The ID that is applied to the ul element. Default empty.<\/li>\n<li><strong>echo<\/strong> - Whether to echo the menu or return it. Default false.<\/li>\n<li><strong>fallback_cb<\/strong> - If the menu doesn't exist, a callback function will fire. Default 'wp_page_menu'.<\/li>\n<li><strong>before<\/strong> - Text before the link markup. Default empty.<\/li>\n<li><strong>after<\/strong> - Text after the link markup. Default empty.<\/li>\n<li><strong>link_before<\/strong> - Text before the link text. Default empty.<\/li>\n<li><strong>link_after<\/strong> - Text after the link text. Default empty.<\/li>\n<li><strong>items_wrap<\/strong> - How the list items should be wrapped. Default <code>&lt;ul id=\"%1$s\" class=\"%2$s\"&gt;%3$s&lt;\/ul&gt;<\/code>.<\/li>\n<li><strong>depth<\/strong> - How many levels of the hierarchy are to be included. 0 means all. Default 0. Example: <code>[sitekit_menu menu=\"primary-menu\" depth=\"2\"]<\/code><\/li>\n<li><strong>walker<\/strong> - Custom walker object to use. Default empty.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>install and activate the plugin on the Plugins page<\/li>\n<li>enjoy all plugin's features<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.9<\/h4>\n\n<ul>\n<li>Sanitized [sitekit_menu] shortcode params.<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Added [sitekit_menu] shortcode.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Removed srcdoc iframe param for security reasons.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Updated Google Analytics with new GA4 version.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Removed all iframe attributes starting with \"on\". Examples: onload, onmouseover, onfocus, onpageshow, onclick.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Sanitize iframe URL.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Minor cleanup.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added Google Analytics code setting<\/li>\n<li>Added Show\/hide google analytics code if user is logged in setting<\/li>\n<li>Added Head code setting<\/li>\n<li>Added Footer code setting<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added pages widgets.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>initial release: Widgets: search, archives and categories. Shortcodes: archives, bloginfo and categories.<\/li>\n<\/ul>","raw_excerpt":"Widgets: search, archives and categories. Shortcodes: archives, bloginfo, iframe and categories.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42866"}],"author":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webvitaly"}],"wp:attachment":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42866"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42866"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42866"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42866"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42866"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}