Title: Sidebar Shortcode
Author: thinkerwebdesign
Published: <strong>4. 3. 2018</strong>
Last modified: 8. 12. 2021

---

Prohledat pluginy

![](https://ps.w.org/thinker-sidebar-shortcode/assets/banner-772x250.jpg?rev=1833032)

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

![](https://ps.w.org/thinker-sidebar-shortcode/assets/icon-256x256.png?rev=1833032)

# Sidebar Shortcode

 Autor: [thinkerwebdesign](https://profiles.wordpress.org/thinkerwebdesign/)

[Stáhnout](https://downloads.wordpress.org/plugin/thinker-sidebar-shortcode.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/thinker-sidebar-shortcode/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/thinker-sidebar-shortcode/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/thinker-sidebar-shortcode/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/thinker-sidebar-shortcode/#developers)

 [Podpora](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/)

## Popis

#### Features:

 * Add sidebars to WP Posts and Pages with shortcodes using a sidebar Name or sidebar
   ID.
 * Add one or more optional custom classes to match your theme styles or custom 
   CSS styles.

#### How to Use:

**Method 1 – (Recommended Use: Add a sidebar using a sidebar Name.)**

A sidebar Name can be found in the `Appearance > Widgets` section of your WordPress
Admin Area.

_Example uses:_

 * `[sidebar name="your-sidebar-name"]`
 * `[sidebar name="your-sidebar-name" class="custom-class"]`
 * `[sidebar name="your-sidebar-name" class="custom-class-1 custom-class-2 custom-
   class-3"]`

**Method 2 – (Advanced WP Users: Add a sidebar using a sidebar ID.)**

A sidebar ID can be found in your theme’s `register_sidebar` functions, usually 
in the theme’s `functions.php` file.

_Example uses:_

 * `[sidebar id="your-sidebar-id"]`
 * `[sidebar id="your-sidebar-id" class="custom-class"]`
 * `[sidebar id="your-sidebar-id" class="custom-class-1 custom-class-2 custom-class-
   3"]`

**General Notes**

 * The spelling and capitalization of a shortcode Name or ID must exactly match 
   that of the desired sidebar.
 * Definition of an active sidebar: An active sidebar is a sidebar that contains
   widgets.
 * A `[sidebar]` shortcode without an active sidebar Name or active sidebar ID displays
   nothing.
 * An active sidebar ID overrides a sidebar Name if both are present in the same
   shortcode.
 * There is no limit to the number of shortcodes that can be used on the same page
   or post.
 * The same sidebar shortcode can be used multiple times on the same page or post.

**HTML Class Notes**

 * Separate multiple custom classes using a space character. Examples shown in `
   Method` sections above.
 * There is no limit to the number of custom classes that can be used.
 * Each custom class must only contain (letter,number,-,_) characters, otherwise
   all custom classes are omitted.
 * The sidebar ID is always added to the HTML class attribute if it contains only(
   letter,number,-,_) characters.

#### Demo:

[Visit Plugin URI](http://www.thinkerwebdesign.com/thinker-sidebar-shortcode-plugin/)

## Snímky obrazovky

[⌊How to find a sidebar Name.⌉⌊How to find a sidebar Name.⌉[

How to find a sidebar Name.

[⌊How to find a sidebar ID.⌉⌊How to find a sidebar ID.⌉[

How to find a sidebar ID.

[⌊Example use of the shortcode.⌉⌊Example use of the shortcode.⌉[

Example use of the shortcode.

## Instalace

 1. Install the plugin using the `Plugins` menu in your WordPress Admin Area or upload
    the plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the `Plugins` menu in your WordPress Admin Area.
 3. Add sidebar shortcodes using the instructions in the above `How to Use` section.

## Nejčastější dotazy

### Why is my shortcode not working as expected?

Either no widgets are in the desired sidebar or the shortcode attributes are incorrect.
See instructions in the above `How to Use` section.

### How can a sidebar Name be found?

Sidebar Names can be found in the `Appearance > Widgets` section of your WordPress
Admin Area. See the `Method` sections and `Screenshots` section for details.

### How can a sidebar ID be found?

Advanced WP users can find sidebar IDs in the active theme’s `register_sidebar` 
functions, usually in the theme’s `functions.php` file.
 See the `Method` sections
and `Screenshots` section for details. See also: [https://codex.wordpress.org/Function_Reference/register_sidebar](https://codex.wordpress.org/Function_Reference/register_sidebar)

### How many custom classes can be used?

There is no limit to the number of custom classes.

### Can a sidebar Name and sidebar ID be used in the same shortcode?

Yes, but a valid sidebar ID will override a sidebar Name if both are present in 
the same shortcode.

## Recenze

![](https://secure.gravatar.com/avatar/cb17f075dc1be0e4e32929fa8ec8fd1b3cd960989ee1c118bb89b70dc75a1aeb?
s=60&d=retro&r=g)

### 󠀁[Works Great!](https://wordpress.org/support/topic/works-great-8780/)󠁿

 [April](https://profiles.wordpress.org/amblogdesign/) 20. 4. 2023

This works really great! Exactly what I needed. Could you please make this for Blog
Posts too? I just want to pull my blog posts, exactly as they are created, on to
a „page“. Thanks for creating the sidebar shortcode!

![](https://secure.gravatar.com/avatar/54ebdcf23884b4329d568cd23ae500418fe58af2a95463b20d2d3efa2be613d4?
s=60&d=retro&r=g)

### 󠀁[Works wonderful](https://wordpress.org/support/topic/works-wanderful/)󠁿

 [Marlimant](https://profiles.wordpress.org/marlimant/) 6. 5. 2019

Works wonderful with siteorigin html sidebar. I just used the code [sidebar name
='Sidebar']

![](https://secure.gravatar.com/avatar/12f9e8008fa418eff08f41e0aa74c735e81ad06ed5a3593670e6ff2ea743a165?
s=60&d=retro&r=g)

### 󠀁[It’s working!](https://wordpress.org/support/topic/its-working-58/)󠁿

 [Denis Creative](https://profiles.wordpress.org/denis-creative/) 30. 10. 2018

Very good and simple plugin!

 [ Přečtěte si všechny 3 recenze ](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/)

## Autoři

Sidebar Shortcode je otevřený software. Následující lidé přispěli k vývoji tohoto
pluginu.

Spolupracovníci

 *   [ thinkerwebdesign ](https://profiles.wordpress.org/thinkerwebdesign/)

[Přeložte “Sidebar Shortcode” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/thinker-sidebar-shortcode)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/thinker-sidebar-shortcode/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/thinker-sidebar-shortcode/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/thinker-sidebar-shortcode/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/thinker-sidebar-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.0.0

 * Initial release.

## Meta

 *  Verze **1.0.0**
 *  Poslední aktualizace **před 5 roky**
 *  Aktivních instalací **1 000+**
 *  Verze WordPressu ** 3.4 nebo novější **
 *  Testováno až do WordPressu **5.8.15**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/thinker-sidebar-shortcode/)
 * Štítky
 * [shortcode](https://cs.wordpress.org/plugins/tags/shortcode/)[sidebar](https://cs.wordpress.org/plugins/tags/sidebar/)
   [sidebar shortcode](https://cs.wordpress.org/plugins/tags/sidebar-shortcode/)
   [widget area](https://cs.wordpress.org/plugins/tags/widget-area/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/thinker-sidebar-shortcode/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  3 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/?filter=1)

[Vaše hodnocení](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/reviews/)

## Spolupracovníci

 *   [ thinkerwebdesign ](https://profiles.wordpress.org/thinkerwebdesign/)

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/thinker-sidebar-shortcode/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](http://www.thinkerwebdesign.com/thinker-sidebar-shortcode-plugin/)