Classipress Forum Tips 1: Register Now Banner

This is a part of a series of tips collected from the officiall Classipress forum and presented it here with its own category just for your browsing convenience. Yes, it is somewhat a daunting task to look for answers in the forum for a specific topic with its jungle of information.

Classipress Forum Tips 1: Register Now Banner

Classipress Forum Tips 1: Register Now Banner

And so here’s the first one and with a scenario to improve your Classipress classifieds site and lure first time visitors to register. That is if you want a large banner be it an animated flash or a static image inviting the visitors to create an account but you don’t want it shown to the logged in users.

And here’s the code for you to do just that;

if ( !is_user_logged_in() ) {
echo 'MYFLASH_BANNER_CODE';
};
?>

Just replace the MYFLASH_BANNER_CODE with the specific code for the image or flash i.e img src and etc. You can see it working on my site www.cars.cebulive.com . As a first time visitor or non-registered visitor you will see the Register Now flash banner but once you are registered it will no longer show up.

Have a great day.

This entry was posted in Classipress Forum Tips and tagged , . Bookmark the permalink.

2 Responses to Classipress Forum Tips 1: Register Now Banner

  1. Josh harris says:

    Hey,
    Where do we put this bit of code? (file & line?)
    Thanks for the tips :)

  2. chris says:

    I think you need to update this now as there is a new version of classipress

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>