Support » Plugin: Advertising Manager » [Plugin: Advertising Manager] how to replace 'adname' with php code?

  • Resolved gerald@WPcustoms

    (@geeman12030)


    Hello switzer,

    I got the plugin running properly on wp3.0.1 and would like to extend the use in my template.
    I think it’s just a syntax problem:

    I want to use a php variable inside the (”) here:
    <?php advman_ad(‘echo $cat_slug;’)?>

    This doesn’t work.
    Can you please help me out with this?
    using just <?php echo $cat_slug; ?> elsewhere on the site returns the category slug without problems.

    Thanks in advance
    Regards,
    geeman

    btw: docs are down again 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ok I think I found a different solution without moddifying anything which will work 🙂

    Thanks for the great plugin and keep up the good work

    I’m also working on this plugin, everything Ok, however I’d like to manage output using custom fields, can you pls share your solution?

    thanks

    oh this is long ago. I can’t even remember the site where I used it. sorry . I’m lost. you know…build and forget 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advertising Manager] how to replace 'adname' with php code?’ is closed to new replies.