Skip to 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.

[mywp_toolbar_item item="****"]

 

Attributes

item=”search

Output tags for search on the site for front-end.

[mywp_toolbar_item item="search"]

Result

<form action="https://example.com/" method="get" id="adminbarsearch">
  <input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" />
  <label for="adminbar-search" class="screen-reader-text">Search</label>
  <input type="submit" class="adminbar-button" value="Search"/>
</form>

 

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top