Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
There are a couple ways to do this. I prefer to just create a widget.In modern theme index.php file add:Code: [Select] <?php/*Theme Name: modernTheme URI:Description: modernVersion: Author:Author URI:Widgets: header,footer,sidebar,Theme update URI: */ function modern_theme_info() { return array( 'name' => 'modern' ,'version' => '' ,'description' => 'modern' ,'author_name' => '' ,'author_url' => '' ,'locations' => array('header','sidebar','footer') ); }?> Then place <?php osc_show_widgets('sidebar') ; ?> into the theme main.php at sidebar code wherever you want it to appear. Your image suggests you want to place it at the end of the locations code.Then go to admin, widgets and create your widget using whatever code (html, php) you want. Tom
<?php/*Theme Name: modernTheme URI:Description: modernVersion: Author:Author URI:Widgets: header,footer,sidebar,Theme update URI: */ function modern_theme_info() { return array( 'name' => 'modern' ,'version' => '' ,'description' => 'modern' ,'author_name' => '' ,'author_url' => '' ,'locations' => array('header','sidebar','footer') ); }?>