'Das Tor für Alterskontrolle oder Aboseiten.', )); } function widget($args, $instance) { if(is_single()) { echo do_shortcode('[ak_widget_plugin_code]'); } } function form($instance) { echo '
'; echo 'Das Tor für Alterskontrolle oder Aboseiten.'; echo '
'; return 'noform'; } function update( $new_instance, $old_instance ) { return $new_instance; } } // Register and load the widget function ak_widget_akde_widget() { register_widget( 'ak_widget_akde' ); } add_action( 'widgets_init', 'ak_widget_akde_widget' ); ?>