Surabaya Souvenir Center

S5 Box

The S5 Box can be demo'd by clicking on either the Login or Register buttons found towards the top of this page.

The plugin allows for up to 10 different S5 Box's on one page all via 10 widget positions. You simply add a class to any HTML element on your site and enable the corresponding box and you are good to go!

To enable the login and register widgets:

  • 01Install the S5 Box plugin and publish the activator widget to all pages on your site. Try to publish it to a position where a widget already exists on all pages, but don't worry it won't change the layout of your site, the script is automatically hidden on your site.
  • 02Install and publish a registration form plugin/widget to the 'register' widget position
  • 03Install and publish a login form plugin/widget to the 'login' widget position.
  • 04In your theme options area of WP admin you can change the text for login, register and logout.
  • 05That's it, you're all done!


If you do not wish to use the S5 Box but would still like to use the Login and Register links then simply complete step 4 above and also fill out your own custom urls just below those fields in the theme options. Filling out the custom url fields will disable the S5 Box.

The S5 Box runs off of the core WordPress jquery library so there will be no conflicts with third party extensions or extra javascript files to download.

Features:

  • Powered by no conflict mode jQuery Javascript
  • Choose, elastic, fade or none for the popup effect
  • Up to 10 S5 Box's throughout your site or on any one page!
  • Set the percentage of width of each box according to overall screen size

Tutorial on how to get the s5 box working and use all 10 widget positions it includes:

  • 01Adding the S5 Box classes:
  • The S5 Box class name of the corresponding position must be added to the link that will open the box. For example the following code will display a link that says Click Here and will open the S5 Box and display whatever widget is published to the s5_box3 widget position:

  • These classes can be added to any element, ie: divs, spans, etc., but the common use will be to add this into content with a link similar to the one shown in the picture above. To enter this link you must do so from the HTML edit screen on your content editor:

    Once you have clicked the HTML button the HTML code window will appear much like the first image.

  • You can continue adding these classes throughout your site just be sure to have published a widget to the corresponding position or the box will not work correctly. So if you add the class s5box_two you will also have to publish a widget to the s5_box2 position.
  • Widget positions and their corresponding classes:

    s5_box1 = s5box_one
    s5_box2 = s5box_two
    s5_box3 = s5box_three
    s5_box4 = s5box_four
    s5_box5 = s5box_five
    s5_box6 = s5box_six
    s5_box7 = s5box_seven
    s5_box8 = s5box_eight
    s5_box9 = s5box_nine
    s5_box10 = s5box_ten

  • 02Lastly, publish your widgets to the S5 Box positions:
  • Now that you have added the s5 box positions just go to your site widgets area and publish widgets to those positions
  • Make sure that you have added a class to an HTML element as described above or the s5 box will have no activation button
  • Also make sure to publish the actual s5 box to a non s5 box position, perhaps publish it to the “debug” position or a similar one in your template.

Main S5 Box Widget Settings:

  • In the backend of the S5 Box widget you can adjust the width of each box independent of each other.
  • Make sure that the S5 Box widget is published to all pages, it can be published to any position. Also make sure that the widget opening in the box is published to the page the link is on.