Àpèjúwe
Settings:
- Google Analytics code
- Show/hide google analytics code if user is logged in
- Head code
- Footer code
Widgets:
- Archives
- Categories
- Pages
- ìṣàwárí
Shortcodes:
[sitekit_posts][sitekit_archives][sitekit_categories][sitekit_bloginfo][sitekit_iframe]
Parameters for [sitekit_posts]:
- post_type Ìtumọ̀ Yorùbá: – show posts associated with certain type:
[sitekit_posts post_type="page"]; by default posts are shown:[sitekit_posts post_type="post"]; Possible params: post | page | revision | attachment | nav_menu_item | any | your_custom_post_type - orderby Ìtumọ̀ Yorùbá: – the column to use for ordering posts list:
[sitekit_posts orderby="id"]; by default list is sorted by date:[sitekit_posts orderby="date"]; Possible params: modified | title | name | ID | rand - order Ìtumọ̀ Yorùbá: – how to sort posts list:
[sitekit_posts order="DESC"]; by default list is sorted by ascending order (A-Z):[sitekit_posts order="ASC"]; - posts_per_page Ìtumọ̀ Yorùbá: – how many posts to show in the list:
[sitekit_posts posts_per_page="50"]; by default:[sitekit_posts posts_per_page="100"];
[sitekit_posts] is based on WP_Query class.
Parameters for [sitekit_archives]:
[sitekit_archives]Ìtumọ̀ Yorùbá: – list of monthly archives links sorted by date;[sitekit_archives type="yearly"]Ìtumọ̀ Yorùbá: – list of yearly archives links;[sitekit_archives type="monthly"]Ìtumọ̀ Yorùbá: – list of monthly archives links;[sitekit_archives type="weekly"]Ìtumọ̀ Yorùbá: – list of weekly archives links;[sitekit_archives type="daily"]Ìtumọ̀ Yorùbá: – list of daily archives links;[sitekit_archives type="postbypost"]Ìtumọ̀ Yorùbá: – list of all posts links sorted by date;[sitekit_archives type="alpha"]Ìtumọ̀ Yorùbá: – list of all posts links sorted by title;- limit Ìtumọ̀ Yorùbá: – how many links to be included in the list:
[sitekit_archives limit="10"]; by default all links are shown:[sitekit_archives limit=""]; - format Ìtumọ̀ Yorùbá: – format for the archive:
[sitekit_archives format="option"]Ìtumọ̀ Yorùbá: – show as a dropdown; by default unordered list is shown:[sitekit_archives format="html"]; - show_post_count Ìtumọ̀ Yorùbá: – display counter of posts in the archive:
[sitekit_archives show_post_count="1"]; by default counter is not shown:[sitekit_archives show_post_count="0"]; - order Ìtumọ̀ Yorùbá: – how to sort archives links:
[sitekit_archives order="ASC"]; by default links are sorted by descending order (Z-A):[sitekit_archives order="DESC"];
[sitekit_archives] is based on wp_get_archives function.
Parameters for [sitekit_categories]:
- orderby Ìtumọ̀ Yorùbá: – the column to use for ordering categories list:
[sitekit_categories orderby="id"]; by default list is sorted by title:[sitekit_categories orderby="name"]; - order Ìtumọ̀ Yorùbá: – how to sort categories list:
[sitekit_categories order="DESC"]; by default list is sorted by ascending order (A-Z):[sitekit_categories order="ASC"]; - show_count Ìtumọ̀ Yorùbá: – display counter of posts in the categories list:
[sitekit_categories show_count="1"]; by default counter is not shown:[sitekit_categories show_count="0"]; - hide_empty Ìtumọ̀ Yorùbá: – the column to use for ordering categories list:
[sitekit_categories hide_empty="0"]; by default empty categories are hidden:[sitekit_categories hide_empty="1"]; - hierarchical Ìtumọ̀ Yorùbá: – show tree-like categories list:
[sitekit_categories hierarchical="0"]; by default the list is hierarchical:[sitekit_categories hierarchical="1"]; - depth Ìtumọ̀ Yorùbá: – how many levels to include in categories list:
[sitekit_categories depth="5"]; by default depth is unlimited:[sitekit_categories depth="0"]; - taxonomy Ìtumọ̀ Yorùbá: – which taxonomy to show in the list:
[sitekit_categories taxonomy="post_tag"]; by default categories are shown:[sitekit_categories taxonomy="category"]; - child_of Ìtumọ̀ Yorùbá: – term ID to retrieve child terms of:
[sitekit_categories child_of="77"]; by default all categories are shown:[sitekit_categories child_of="0"]; - exclude Ìtumọ̀ Yorùbá: – comma/space-separated string of term IDs to exclude:
[sitekit_categories exclude="77"]; by default all categories are shown:[sitekit_categories exclude=""]; - exclude_tree Ìtumọ̀ Yorùbá: – comma/space-separated string of term IDs to exclude, along with their descendants:
[sitekit_categories exclude_tree="77"]; by default all categories are shown:[sitekit_categories exclude_tree=""];
[sitekit_categories] is based on wp_list_categories function.
Parameters for [sitekit_bloginfo]:
[sitekit_bloginfo show="name"]Ìtumọ̀ Yorùbá: – sitekit_bloginfo params;
[sitekit_bloginfo] is based on bloginfo function.
Parameters for [sitekit_iframe]:
- src Ìtumọ̀ Yorùbá: – source of the iframe:
[sitekit_iframe src="http://www.youtube.com/embed/4qsGTXLnmKs"]; by default src=”http://www.youtube.com/embed/4qsGTXLnmKs”; - width Ìtumọ̀ Yorùbá: – width in pixels or in percents:
[sitekit_iframe width="100%"]or[sitekit_iframe width="600"]; by default width=”100%”; - height Ìtumọ̀ Yorùbá: – height in pixels:
[sitekit_iframe height="500"]; by default height=”500Ìtumọ̀ Yorùbá: ″; - scrolling Ìtumọ̀ Yorùbá: – with or without the scrollbar:
[sitekit_iframe scrolling="no"]; by default scrolling=”yes”; - frameborder Ìtumọ̀ Yorùbá: – with or without the frame border:
[sitekit_iframe frameborder="0"]; by default frameborder=”0Ìtumọ̀ Yorùbá: ″; - marginheight Ìtumọ̀ Yorùbá: – height of the margin:
[sitekit_iframe marginheight="0"]; removed by default; - marginwidth Ìtumọ̀ Yorùbá: – width of the margin:
[sitekit_iframe marginwidth="0"]; removed by default; - allowtransparency Ìtumọ̀ Yorùbá: – allows to set transparency of the iframe:
[sitekit_iframe allowtransparency="true"]; removed by default; - id Ìtumọ̀ Yorùbá: – allows to add the id of the iframe:
[sitekit_iframe id="custom_id"]; removed by default; - class Ìtumọ̀ Yorùbá: – allows to add the class of the iframe:
[sitekit_iframe class="custom_class"]; by default class=”iframe-class”; - style Ìtumọ̀ Yorùbá: – allows to add the css styles of the iframe:
[sitekit_iframe style="margin-left:-30px;"]; removed by default; - any_other_param Ìtumọ̀ Yorùbá: – allows to add new parameter of the iframe
[sitekit_iframe any_other_param="any_value"]; - any_other_empty_param Ìtumọ̀ Yorùbá: – allows to add new empty parameter of the iframe (like “allowfullscreen” on youtube)
[sitekit_iframe any_other_empty_param=""];
Parameters for [sitekit_menu]:
The [sitekit_menu] shortcode allows you to display a custom menu. It supports all the parameters of the WordPress wp_nav_menu() function.
- menu Ìtumọ̀ Yorùbá: – The menu that should be displayed. Accepts (matching in order) id, slug, name. Default: empty. Example:
[sitekit_menu menu="main-menu"] - container Ìtumọ̀ Yorùbá: – Whether to wrap the ul, and what to wrap it with. Default ‘div’. Example without a container:
[sitekit_menu menu="main-menu" container=""] - container_class Ìtumọ̀ Yorùbá: – The class that is applied to the container. Default ‘menu-{menu slug}-container’. Example:
[sitekit_menu menu="main-menu" container_class="custom-container"] - container_id Ìtumọ̀ Yorùbá: – The ID that is applied to the container. Default empty.
- menu_class Ìtumọ̀ Yorùbá: – CSS class to use for the ul element which forms the menu. Default ‘menu’. Example:
[sitekit_menu menu="main-menu" menu_class="custom-menu"] - menu_id Ìtumọ̀ Yorùbá: – The ID that is applied to the ul element. Default empty.
- echo Ìtumọ̀ Yorùbá: – Whether to echo the menu or return it. Default false.
- fallback_cb Ìtumọ̀ Yorùbá: – If the menu doesnÌtumọ̀ Yorùbá: ’t exist, a callback function will fire. Default ‘wp_page_menu’.
- before Ìtumọ̀ Yorùbá: – Text before the link markup. Default empty.
- after Ìtumọ̀ Yorùbá: – Text after the link markup. Default empty.
- link_before Ìtumọ̀ Yorùbá: – Text before the link text. Default empty.
- link_after Ìtumọ̀ Yorùbá: – Text after the link text. Default empty.
- items_wrap Ìtumọ̀ Yorùbá: – How the list items should be wrapped. Default
<ul id="%1$s" class="%2$s">%3$s</ul>. - depth Ìtumọ̀ Yorùbá: – How many levels of the hierarchy are to be included. 0 means all. Default 0. Example:
[sitekit_menu menu="primary-menu" depth="2"] - walker Ìtumọ̀ Yorùbá: – Custom walker object to use. Default empty.
Ìgbéwọlẹ̀
- install and activate the plugin on the Plugins page
- enjoy all pluginÌtumọ̀ Yorùbá: ’s features
Àwọn àgbéyẹ̀wò
Àwọn Olùkópa & Olùgbéejáde
“Sitekit” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaṢe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.9
- Sanitized [sitekit_menu] shortcode params.
1.8
- Added [sitekit_menu] shortcode.
1.7
- Removed srcdoc iframe param for security reasons.
1.6
- Updated Google Analytics with new GA4 version.
1.5
- Removed all iframe attributes starting with “on”. Examples: onload, onmouseover, onfocus, onpageshow, onclick.
1.4
- Sanitize iframe URL.
1.3
- Minor cleanup.
1.2
- Added Google Analytics code setting
- Added Show/hide google analytics code if user is logged in setting
- Added Head code setting
- Added Footer code setting
1.1
- Added pages widgets.
1.0
- initial release: Widgets: search, archives and categories. Shortcodes: archives, bloginfo and categories.
