A Broad Hint Author: Eric-Oliver Mächler (http://www.chefblogger.me) Version: 2.5 License: Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal. If you will using this Plugin on a commercial blog - its also free of charge but please send me an email (eric@maechler.me) and inform me. Author URI: http://www.maechler.me Update Server: http://www.chefblogger.me Min WP Version: 2.7 */ //Feld aus DB auslesen if ('insert' == $HTTP_POST_VARS['action']) { if ( get_magic_quotes_gpc() ) { $HTTP_POST_VARS = array_map( 'stripslashes_deep', $HTTP_POST_VARS ); $_POST = array_map( 'stripslashes_deep', $_POST ); $_GET = array_map( 'stripslashes_deep', $_GET ); $_COOKIE = array_map( 'stripslashes_deep', $_COOKIE ); $_REQUEST = array_map( 'stripslashes_deep', $_REQUEST ); } update_option("abh_field",$HTTP_POST_VARS['abh_field']); } if ('insert2' == $HTTP_POST_VARS['action']) { update_option("abh_opti",$HTTP_POST_VARS['abh_opti']); } if ('insert3' == $HTTP_POST_VARS['action']) { update_option("abh_status",$HTTP_POST_VARS['abh_status']); } //Nachricht/Banner Anzeigen function abh_link( $content ) { global $post, $abh_field, $abh_opti, $abh_sys; $permalink = urlencode( get_permalink( $post->ID ) ); if ($abh_opti == 'up') { //Anzeige Aktiv if (get_option("abh_status") == 'On') { return $abh_field . $content; } else { return $content; } } else { //Anzeige Aktiv if (get_option("abh_status") == 'On') { return $content . $abh_field; } else { return $content; } } } add_filter( "the_content", "abh_link" ); //Admin Bereich Feld in DB eintragen $abh_field = get_option('abh_field'); $abh_opti = get_option('abh_opti'); $abh_status = get_option('abh_status'); function abh_option_page() { ?>

A Broad Hint - Admin System



Code der angezeigt werden soll hier eingeben:




Einblendung On (Aktiv) oder Off (Inaktiv)

Anzeige-Status:





Wo soll der Code angezeigt werden, Vor dem Text oder Nach dem Text?

Anzeige-Ort:







Unterstütze mich und Klicke auf den Gefällt mir-Button:

Hier findest du immer die neuesten Informationen über meine Plugins und aus der Welt von Social Media, Programmierung und Webdesign

Unterstütze mich via Paypal

Meine Plugins sind alle 100% Gratis, trotzdem würde ich mich über eine kleine Spende freuen damit ich mir hin und wieder ein Starbucks Kafi leisten kann - Danke

Über dieses Plugin

Dieses Plugin wurde von Eric-Oliver Mächler entwickelt.

Ich bin auch via Twitter erreichbar, dort könnt ihr mir natürlich auch Fragen stellen oder Probleme schildern. Mich findet man unter @eric_maechler

query("OPTIMIZE TABLE $wpdb->options"); } ?>