WordPress.org

Ready to get started?Download WordPress

Forums

mPress Banners
Random Banner on Page Load (1 post)

  1. jwright64
    Member
    Posted 10 months ago #

    Nice plug-in.

    Thought I would share that I found that you can use this plug-in to setup a persistent banner which changes randomly on page load by entering the following short-code to your post, page, or widget area:

    [mpress_banner banner="1, 2, 3" random="true" persistent="true" ]

    You will need to also add this CSS to your theme's CSS file:

    .mpress-banner-wrapper.mpress-banner-persistent {
    height: XXX !important;
    margin: 0 !important;
    overflow: hidden;
    }

    Where XXX is the height of ONE of your banners.

    http://wordpress.org/plugins/mpress-banners/

Reply

You must log in to post.

About this Plugin

About this Topic