Hallo Gemeinde
[FONT=arial black]Benutze zur zeit eine Banner Rotations Plug ( [COLOR=#555555]Kento Ads Rotator)
[/COLOR]B[/FONT][FONT=arial black]ei diesem Plug ist es möglich per. Shortcodes die Banner in Beiträge oder Widgets einzufügen
nun würde ich gerne dieses auch nutz[/FONT][FONT=arial black]en um die Banner im Header-Bereich einzufügen zb. header.php oder [/FONT]content.php um den [FONT=arial black]Shortcodes nicht extra bei jedem Post dort einzufügen
[/FONT]
Frage : Ist das umsetzbar? Wen JA wie muss ich das dort einfügen ?
content.php zur zeit habe ich ein Banner so eingefügt in die Beiträge
<div class="container"> <div id="content">
<div class="row">
<?php prpin_get_sidebar_single('left'); ?>
<div class="<?php echo prpin_get_contentspan(); ?>">
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('post-wrapper'); ?>>
<?php the_title( '<div class="h1-wrapper"><h1>', '</h1></div>' ); ?>
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail('large', array('class' => 'img-responsive'));
} ?>
[COLOR=#ff0000]<p style="text-align: center;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="849" height="85">[/COLOR]
[COLOR=#ff0000]<param name="movie" value="flashvortex.swf" />[/COLOR]
[COLOR=#ff0000]<param name="quality" value="best" />[/COLOR]
[COLOR=#ff0000]<param name="menu" value="true" />[/COLOR]
[COLOR=#ff0000]<param name="allowScriptAccess" value="sameDomain" />[/COLOR]
[COLOR=#ff0000]<embed src="Postwerbung/flashvortex.swf" quality="best" menu="true" width="849" height="85" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="sameDomain" />[/COLOR]
[COLOR=#ff0000]</object><p>[/COLOR]
Alles anzeigen
Würde es aber gerne so einfügen um die Rotation von Banner über das Plug zu nutzen
<div class="container"> <div id="content">
<div class="row">
<?php prpin_get_sidebar_single('left'); ?>
<div class="<?php echo prpin_get_contentspan(); ?>">
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('post-wrapper'); ?>>
<?php the_title( '<div class="h1-wrapper"><h1>', '</h1></div>' ); ?>
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail('large', array('class' => 'img-responsive'));
} ?>
[COLOR=#ff0000][kads group="test"][/COLOR]
Alles anzeigen
Leider Funktioniert dieses so nicht
mfg Watbube
[FONT=arial black]
[/FONT]