Turn the banner in the header of the site

WordPress Business Themes Forums Feature Request Forum Turn the banner in the header of the site

Discontinued - The forum content is out of date. For theme support please use our support desk here.

Turn the banner in the header of the site

July 15, 2013
Fabio Fabio
  • Fabio
    Fabio
    Newbie 19 points

    Hi!

    In panel moviepress in the “Advertising” you can enter the banner in the header. But how do I put a series of banners in orotazione always in the same section “in this case the header”? Is there a html code to insert in the panel?

    Attachments:
    You must be logged in to view attached files.
    July 15, 2013 at 6:39 am
  • Mark Fail
    Mark Fail
    Super Guru 12,814 points

    If you mean how can you add banners so they rotate then its not possible, you maybe able to use a plugin todo this and use the shortcodes.

    July 15, 2013 at 7:34 am
  • Fabio
    Fabio
    Newbie 19 points

    I searched and installed various plugins, but nothing I can put in the header, as it has a box – widget :(

    July 15, 2013 at 7:47 am
  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points

    There is no ‘rotate’ function.

    July 15, 2013 at 8:03 am
  • Fabio
    Fabio
    Newbie 19 points

    Is there any kind to rotate more than one banner in the header and/or in every part of the pages? I need it.

    July 15, 2013 at 10:16 am
  • Fabio
    Fabio
    Newbie 19 points

    Also, can I replace the header with another widget to enable the banner rotation? Banner rotation is essential for me.

    July 15, 2013 at 10:21 am
  • Mark Fail
    Mark Fail
    Super Guru 12,814 points
  • Jean-Francois
    Jean-Francois
    Newbie 53 points

    Or you can create your own like this example:
    [code title=”jsrotate”]
    <!–
    var nombre = 6;
    var temps = new Date()
    var seconde = temps.getSeconds()
    var banniere = seconde % nombre;
    banniere +=1;
    if (banniere==1) {
    url=”http://www.mysite.com”;
    alt=”description”;
    banner=”http://www.mysite.com/468×60-banner.gif”;
    width=”468″;
    height=”60″;
    }
    if (banniere==2) {
    url=”http://www.mysite.com”;
    alt=”description”;
    banner=”http://www.mysite.com/468×60-banner.gif”;
    width=”468″;
    height=”60″;
    }
    if (banniere==3) {
    url=”http://www.mysite.com”;
    alt=”description”;
    banner=”http://www.mysite.com/468×60-banner.gif”;
    width=”468″;
    height=”60″;
    }
    if (banniere==4) {
    url=”http://www.mysite.com”;
    alt=”description”;
    banner=”http://www.mysite.com/468×60-banner.gif”;
    width=”468″;
    height=”60″;
    }
    if (banniere==5) {
    url=”http://www.mysite.com”;
    alt=”description”;
    banner=”http://www.mysite.com/468×60-banner.gif”;
    width=”468″;
    height=”60″;
    }
    if (banniere==6) {
    url=”http://www.mysite.com”;
    alt=”description”;
    banner=”http://www.mysite.com/468×60-banner.gif”;
    width=”468″;
    height=”60″;
    }
    document.write(‘<center>’);
    document.write(‘‘);
    document.write(‘<img src=\”‘ + banner + ‘\” width=’)
    document.write(width + ‘ height=’ + height + ‘ ‘);
    document.write(‘alt=\”‘ + alt + ‘\” border=0>
    ‘);
    document.write(‘</center>’);
    // –>
    [/code]

    Really basic !
    Save to a file. ex: anything.js
    After put this in your header:
    [code title=””]<script language=”JavaScript” type=”text/javascript” src=”http://www.mysite.com/anything.js”></script>[/code]

    July 16, 2013 at 9:29 pm
  • Arthur
    Arthur
    Newbie 32 points

    Best solve for me:
    install Home Page Slider (from theme plugins)
    Make your slider/banner, put custom link on every image (slide), customize whatever you wish (size, duration, blah blah), then advertising setup > make banner > insert code:

    [rev_slider banner]

    (where banner is the name of the slider, replace it with your own)

    Tada!

    (also, you can play with something like this:
    <div height=50px width=400px>
    [rev_slider banner]
    </div>

    or whatever fits your site needs for resizing….

    September 22, 2014 at 9:04 am
  • Thomas
    Thomas
    Newbie 9 points

    @Arthur
    many thanks. Works fine with the plugin home page slider.

    Is super easy.

    September 28, 2014 at 6:35 pm
Viewing 10 posts - 1 through 10 (of 10 total)

Didn't find what you were after?

Chat with us now

or contact our support team