Shiba

Adventures in WordPress

  • Home
  • Dog
  • Art
  • Contact
  • WordPress Articles
    • WP Plugins
    • WP Programming
    • WP Admin Panels
    • WP Theme Design
    • WP How-To
    • WP Theme Images
You are here: Home / WordPress Plugin / Shiba Widgets / Shiba Widgets 2.0

Shiba Widgets 2.0

by ShibaShake 2 Comments

The key feature added in Shiba Widgets 2.0 is the ability to render widgets in posts using shortcodes.

[Full Shiba Widgets description]

Below are a list of standard widgets including their specialized input parameters.

Common input parameters to all widgets include –

  • before_title
  • after_title
  • title

Standard widget classes

List of standard widget classes and their inputs.

  • WP_Widget_Pages
    sortby (post_title, menu_order, ID), exclude, thumbnail, thumbsize

    [shiba-widget class="WP_Widget_Pages" title="My Pages" thumbnail="1" thumbsize="54" before_title="<h4>" after_title="</h4>"]
    

    My Pages

    • Media Examples
    • WordPress 101 Links
    • WordPress Theme & Plugins
    • WordPress Programming
    • Populate our Edit Gallery menu using a gallery shortcode.WordPress Admin Panels
    • WordPress Theme Design

  • WP_Widget_Calendar
    [shiba-widget class="WP_Widget_Calendar"]
    

    December 2024
    MTWTFSS
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031 
    « Feb    
  • WP_Widget_Archives
    dropdown, count, type (monthly, monthlyandyearly, weekly, daily, yearly, postbypost, alpha), limit

    [shiba-widget class="WP_Widget_Archives" title="My Yearly Archives" type="yearly" limit="3"]
    

    My Yearly Archives

    • 2022
    • 2013
    • 2012
  • WP_Widget_Meta
    [shiba-widget class="WP_Widget_Meta" title="My Meta"]
    

    My Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
  • WP_Widget_Search
    [shiba-widget class=”WP_Widget_Search”]

  • WP_Widget_Categories
    dropdown, count, hierarchical

    [shiba-widget class=”WP_Widget_Categories” title=”My Categories” dropdown=”1″ hierarchical=”1″]

    My Categories

  • WP_Widget_Recent_Posts
    number, show_date, thumbnail, thumbsize

    [shiba-widget class="WP_Widget_Recent_Posts" title="My Recent Posts" number="5" thumbnail="1"]
    

    My Recent Posts

    • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
    • Screenshot of the Success, WordPress has been installed page.Migrating Your WordPress Website to Amazon EC2 (AWS)
    • Screenshot of WinSCP for creating a SFTP configuration.How to Set-Up SFTP on Amazon EC2 (AWS)
    • WordPress Gutenberg code view screenshot of this article.How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
    • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS)
    My Recent Posts
    • How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
    • Migrating Your WordPress Website to Amazon EC2 (AWS)
    • How to Set-Up SFTP on Amazon EC2 (AWS)
    • How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
    • How to Create a WordPress Website on Amazon EC2 (AWS)
  • WP_Widget_Recent_Comments
    number, blog_author, show_count, comment_length, thumbnal, thumbsize

    [shiba-widget class="WP_Widget_Recent_Comments" title="My Recent Comments" number="3" thumbnail="1" thumbsize="54" show_count="1"]
    

    My Recent Comments

    • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS) (1)
      • Erik
        - Great article. All worked great except for this step:apt install php-mysqlChanging to this fixed ...
    • Add Custom Taxonomy Tags to Your WordPress Permalinks (125)
      • Anthony
        - Where does this code go? Like, what exact .php file please?
    • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text (1)
      • tom
        - hi,my experience was like the same, but for me as theme developer the "lazy blocks"(https://wordpress.org/plugins/lazy-blocks/) ...
    My Recent Comments
    • Erik on How to Create a WordPress Website on Amazon EC2 (AWS)
    • Anthony on Add Custom Taxonomy Tags to Your WordPress Permalinks
    • tom on How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
  • WP_Widget_RSS
    url, items, show_summary, show_author, show_date

    [shiba-widget class="WP_Widget_RSS" title="My Dog Blog" url="http://shibashake.com/dog/feed" items="3" show_summary="1" show_date="1"]
    

    RSS My Dog Blog
    • Emotional Awareness and Mindful Dog Training October 10, 2021
      Dogs are very sensitive to our emotions, and respond much better to a calm person than to a fearful or angry one. Mindful dog training uses mindfulness techniques to insert our consciousness into every step of the dog training process. When we are emotionally aware, we can make better decisions, project calm energy, and respond […]
    • BARF – Sourcing, Balancing, Preparing a Raw Food Diet for My Shiba Inu October 4, 2021
      This is a guest post written by Alisa, human companion to a rescue Shiba Inu named Kuma. Copyright © Alisa and Kuma. Disclaimer: Pet nutrition is a complicated topic with many grey zones and contradicting information from experts. Even pet nutrition organizations NRC (National Research Council), AAFCO (Association of American Feed Control), and FEDIAF (European […]
    • BARF – Why I Feed My Shiba Inu a Raw Diet September 29, 2021
      B.A.R.F. stands for Biologically Accurate Raw Food. This article gives an introduction to raw dog diets, why I choose to feed my Shiba Inu a raw diet, how I do raw feeding, and some raw diet faqs.
  • WP_Widget_Tag_Cloud
    taxonomy (post_tag, category)

    [shiba-widget class="WP_Widget_Tag_Cloud" ]
    

    Tags

    custom background custom gravatar custom post type custom taxonomy custom wordpress theme featured-article gallery plugin media library media library plugin media manager media upload nav-page permalink shiba gallery shiba gallery plugin shiba media library theme-design-link w3tc wordpress-101-link wordpress avatar wordpress comment wordpress comments wordpress custom taxonomy wordpress gallery wordpress gallery plugin wordpress gallery shortcode wordpress gravatar wordpress media library wordpress media library plugin wordpress media manager wordpress permalink WordPress Plugin wordpress theme wordpress widget wordpress widgets wp-admin-panel-link wp-programming-link wp-syntax wp avatar wp gallery wp gallery plugin wp gravatar wp media library wp theme wp widget
  • WP_Nav_Menu_Widget
    nav_menu

    [shiba-widget class="WP_Nav_Menu_Widget" nav_menu=100]
    

    • — Home —
    • Plugins
    • Basics
    • Design
    • Admin
    • Coding
  • Akismet_Widget
    [shiba-widget class="Akismet_Widget"]
    

    Spam Blocked

    2,569,539 spam blocked by Akismet
  • Shiba_Widget_Tag_Cloud
    taxonomy (post_tag, category), tag_size, tag_scope (local, all),

    [shiba-widget class="Shiba_Widget_Tag_Cloud" title="Local Tags" taxonomy="post_tag" tag_scope="local"]
    

  • Shiba_Widget_SocialButton
    facebook, twitter, google, pinterest, direction (vertical, horizontal)

    [shiba-widget class="Shiba_Widget_SocialButton"  facebook="1" twitter="1" google="1" pinterest="1" direction="horizontal"]
    

  • Shiba_Widget_Author
    avatar_size, length

    [shiba-widget class="Shiba_Widget_Author" title="About Me" avatar_size="96" length="100"]
    

  • YARPP_Widget
    use_template (list, thumbnails, custom)

    [shiba-widget class="YARPP_Widget" title="My Yarpp" use_template="thumbnails"]
    

Get All Widget Classes

We can print out all of our current widget classes by using the following PHP code.

global $shiba_widgets;
$widget_classes = $shiba_widgets->shortcode->get_widget_classes();
print_r($widget_classes);

Leave a Reply Cancel reply

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

Comments

  1. Marcin says

    October 6, 2014 at 12:13 pm

    I have a problem using your shiba wigdet, after wordpress actualization the fields in my custom widgets are not opening any more, and I’m not able to make any changes. I’m using 1.9.1 version of your plugin. My question is should I upgrade it to 2.0? When Im going to replace to old version with an new one, my custom widgets will still working or I’m going to delete everything?

    Reply
    • ShibaShake says

      October 6, 2014 at 3:01 pm

      I am currently using the latest version of the plugin on my own sites, with WP 4.0. I can only support the latest version of the plugin.

      All the existing widget sets should still remain in place after an update.

      Reply

Recent Posts

  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
  • Screenshot of the Success, WordPress has been installed page.Migrating Your WordPress Website to Amazon EC2 (AWS)
  • Screenshot of WinSCP for creating a SFTP configuration.How to Set-Up SFTP on Amazon EC2 (AWS)
  • WordPress Gutenberg code view screenshot of this article.How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS)

Recent Comments

  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS) (1)
    • Erik
      - Great article. All worked great except for this step:apt install php-mysqlChanging to this fixed it:apt install ...
  • Add Custom Taxonomy Tags to Your WordPress Permalinks (125)
    • Anthony
      - Where does this code go? Like, what exact .php file please?
  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text (1)
    • tom
      - hi,my experience was like the same, but for me as theme developer the "lazy blocks"(https://wordpress.org/plugins/lazy-blocks/) ...
  • WordPress Custom Taxonomy Input Panels (106)
    • Phil T
      - This is unnecessarily confusing. Why declare a variable with the same name as your taxonomy? Why did you choose a taxonomy ...
  • Create Pop-up Windows in Your WordPress Blog with Thickbox (57)
    • Jim Camomile
      - I have used this tutorial several times and it is one of the few simple and effective ways to add popups with dynamic content, ...

Copyright © 2024 · Genesis Skins by ShibaShake · Terms of Service · Privacy Policy ·