180 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
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");
1176 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. :)

180 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
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… ;)

38 posts
  • Sells items exclusively on Envato Market
  • Located in India
wpcodexthemes says

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

1176 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. :)
by
by
by
by
by
by