105 posts
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
  • Exclusive Author
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");
886 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
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. :)

105 posts
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
  • Exclusive Author
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… ;)

28 posts
  • Exclusive Author
  • Has been a member for 0-1 years
  • India
rahulkashyap says

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

886 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
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