WordPress.org

Support

Support » Plugins and Hacks » mPress Banners » [Resolved] Random Banner on Page Load

[Resolved] Random Banner on Page Load

  • 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/

  • The topic ‘[Resolved] Random Banner on Page Load’ is closed to new replies.
Skip to toolbar