Forums

[Plugin: Advertising Manager] 404 page (4 posts)

  1. solidhex
    Member
    Posted 3 years ago #

    This is a GREAT plug-in! I gave it five stars as it's super easy to setup and use. My question is, is there anyway to get the ads to also show up on the 404 page? I currently have some ads configured in a side bar. It works perfectly on every page except the 404 page - did I do something wrong? Thanks again for a great plug-in!

  2. switzer
    Member
    Posted 3 years ago #

    solidhex:

    Thanks! I will see what I can do regarding the 404 page. Even if you cannot use the widget functionality, i imagine that you can edit the 404 page template, and add <?php advman_ad('ADNAME'); ?> (where ADNAME is the name of your ad).

    I will see if wigets will work as well.

    Cheers,
    Scott

  3. dabnpits
    Member
    Posted 2 years ago #

    I hate to dig up an old thread, but I am also having this problem. The plugin seems to work great everywhere else, but the widgets do not show on a 404 page. Any ideas? Hand coding them into the template goes against the point of using widgets in my opinion.

    Thanks!
    - Dan

  4. switzer
    Member
    Posted 2 years ago #

    Depending on the theme, the 404 page may not display the sidebar. All is not lost - you can add an ad to the 404 page by editing the theme. Just put the following code where you want the ad to display:

    <?php advman_ad('name'); ?>

    (where 'name' is the name of the ad you want to display)

    Good luck, and tell me how it goes!

    Cheers,
    Scott

Topic Closed

This topic has been closed to new replies.

About this Topic