WordPress.org

Ready to get started?Download WordPress

Forums

Advertising Manager
[resolved] how to replace 'adname' with php code? (4 posts)

  1. gerald@WPcustoms
    Member
    Posted 3 years ago #

    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 ;)

  2. gerald@WPcustoms
    Member
    Posted 3 years ago #

    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

  3. italiapuntonet
    Member
    Posted 3 years ago #

    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

  4. gerald@WPcustoms
    Member
    Posted 3 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic