skip to Main Content

mywp_toolbar_item

Admin Toolbar

Description mywp_toolbar_item shortcode can be dynamically outputs the items of toolbar.   Usage “item” attribute is must have a value.   Attributes item="search" Output tags for search on the site for front-end. Result <form action="https://example.com/" method="get" id="adminbarsearch"> <input class="adminbar-input" name="s"…

Read more

mywp_post

Description mywp_post shortcode can be get the specific post or current post data.   Usage This shortcode must be post id or current post id and “field” attribute is must have a value. or   Attributes field="id" Get the post…

Read more

mywp_site

Example Sites

Description mywp_site shortcode can be get the site data.   Usage Default site data is current site and "field" attribute is must have a value.   Attributes field="id" Get the site id. Result 1   field="name" Get the site name.…

Read more

mywp_update_count

Update Count Notice

Description mywp_update_count shortcode can be get the WordPress and Plugins and Themes and Translation updates count.   Usage Default is all counts(total) without tags. Result 0   Attributes tag="1" Get the count with tags for admin sidebar menus. Result <span…

Read more

mywp_comment_count

Comment Count Notice

Description mywp_comment_count shortcode can be get the comments count.   Usage Default comment count is find comment status to "moderated" without tags. Result 0   Attributes tag="1" Get the comment count with tags for admin sidebar menus. Reulst <span class="awaiting-mod…

Read more

mywp_theme

Example Themes

Description mywp_theme shortcode can be get the theme data.   Usage Get the default theme data is current theme.     Attributes field="url" Get the theme directory url. Reulst http://example.com/wp-content/themes/activate_your_theme_dir_name   field="path" Get the theme directory path. Result /example_home_dir/wp-content/themes/activate_your_theme_dir_name  …

Read more

mywp_url

Example Sites

Description mywp_url shortcode can be get the URLs.   Usage Get the default url is current blog home url.   Attributes admin="1" Get the admin url. Result http://example.com/wp-admin/   network_admin="1" Get the network admin url. Result http://example.com/wp-admin/network/   site="1" Get…

Read more

mywp_user

Example Users

Description mywp_user shortcode can be get the user data.   Usage Default user data is current user and "field" attribute is must have a value.   Attributes field="id" Get the user id. Result 1   field="name" Get the user display…

Read more
Back To Top