237 posts
  • Has sold $5,000+ on Envato Market
  • Helped protect Envato Market against copyright violations
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
juarathemes says

why it’s not works?

I tried to add the sidebar with shortcode but nothing happen :(
Also I have tried to use WP native function to register the sidebar with the generated ID by smk_sidebar.
Did I do wrong?

Update:
Nevermind, It’s works now…

The generated shortcode show me: [smk_sidebar id=”smk_sbg_371g”] <== It’s not works.

And then I take a look at this code: https://github.com/Smartik89/Wordpress-Sidebar-Generator/blob/master/smk-sidebar-generator/smk-sidebar-generator.php in line 80.
It’s show that the sidebar ID is:
'id' => 'smk_sidebar_' . $sidebar['id'],
So The generated function and shortcode is should be:

[smk_sidebar id="smk_sidebar_sidebarID"] and smk_sidebar("smk_sidebar_sidebarID");
1272 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
Smartik says

The generated shortcode show me: [smk_sidebar id=”smk_sbg_371g”] <== It’s not works.

And then I take a look at this code: https://github.com/Smartik89/Wordpress-Sidebar-Generator/blob/master/smk-sidebar-generator/smk-sidebar-generator.php in line 80.
It’s show that the sidebar ID is:
'id' => 'smk_sidebar_' . $sidebar['id'],
So The generated function and shortcode is should be: [smk_sidebar id="smk_sidebar_sidebarID"] and smk_sidebar("smk_sidebar_sidebarID");

Ooops, looks like I did a mistake there. Will fix it right now and make sure do more tests before I change something. :)

237 posts
  • Has sold $5,000+ on Envato Market
  • Helped protect Envato Market against copyright violations
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
juarathemes says


The generated shortcode show me: [smk_sidebar id=”smk_sbg_371g”] <== It’s not works.

And then I take a look at this code: https://github.com/Smartik89/Wordpress-Sidebar-Generator/blob/master/smk-sidebar-generator/smk-sidebar-generator.php in line 80.
It’s show that the sidebar ID is:
'id' => 'smk_sidebar_' . $sidebar['id'],
So The generated function and shortcode is should be: [smk_sidebar id="smk_sidebar_sidebarID"] and smk_sidebar("smk_sidebar_sidebarID");
Ooops, looks like I did a mistake there. Will fix it right now and make sure do more tests before I change something. :)

Yups buddy, you made a great job! thank you… ;)

41 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
  • Located in India
wpcodexthemes says

i am new in wordpress theme developing but even i will try :)

1272 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
Smartik says

i am new in wordpress theme developing but even i will try :)
Don’t worry, it’s not hard. Just follow instructions and if you have a custom metabox framework, then you can easily get the values in a select box, checkbox or anything else you want. You decide how to asign sidebars, not the plugin. :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by