*

aMBedue

  • *
  • 2 posts
Hello there,
with shortcode <? php echo show banner (xxx)?; ?> The banner is not displayed. I use the Theme Boxer of DrizzleThemes. I've tried everything, but I do not succeed. What am I doing wrong ?

Thank you
Martin

http://suedtirol.faksimile.xyz

*

MB Themes

Re: Advertisement Manager Plugin not displayed banner on widgets or pages
« Reply #1 on: December 09, 2015, 09:20:06 AM »
@aMBedue
Unfortunately you cannot place PHP code to widget, I do not think it can work.
Only what can be placed in widget can be HTML code.

Therefore you need to place this code directly to theme files (but you need to do it only once).

Note that correct code format is:
Code: [Select]
<?php echo show_bannerxxx ); ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Advertisement Manager Plugin not displayed banner on widgets or pages
« Reply #2 on: September 16, 2017, 08:34:26 PM »
@aMBedue
Unfortunately you cannot place PHP code to widget, I do not think it can work.
Only what can be placed in widget can be HTML code.

Therefore you need to place this code directly to theme files (but you need to do it only once).

Note that correct code format is:
Code: [Select]
<?php echo show_bannerxxx ); ?>



Good afternoon could explain in detail how to insert the code in the different sections of a template. as I try to do it and it gives me ERROR 500 in my browser.

<?php echo show_banner(1); ?>
<?php echo show_banner( 'TODAS LAS CATEGORIAS' ); ?>

REGARDS