• Resolved sparkle1984

    (@sparkle1984)


    I’m using the Portfolio Slideshow plugin, and I currently have it set up within the body of my blog’s homepage, using the [portfolio_slideshow] tag.

    Is it possible to have the slideshow display in the WordPress header instead, ie within the header image? My blog has a header image and the title text is all to the left, so there would be enough room to have the slideshow on the right-hand side of the header, but I’m not sure how to do this. Any ideas?

    http://wordpress.org/extend/plugins/portfolio-slideshow/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Dalton Rooney

    (@daltonrooney)

    You can put the slideshow anywhere in your template you want by using the do_shortcode() function. (If you do a search for do_shortcode & portfolio in the forums you’ll find people who have posted their code for this).

    Just remember that the slideshow only pulls images from the current page or post, so you’ll want to have images uploaded to every single page, or some sort of fallback function in case the slideshow is returned empty.

    Can anyone point me to a post in the forums that has the code that is necessary to do this? I am wanting to do exactly what the OP wants to do, only searching the forum has only revealed this thread so far….

    Plugin Contributor Dalton Rooney

    (@daltonrooney)

    Try something like this
    <?php echo do_shortcode('[portfolio_slideshow]');?>

    You can specify an ID if you want it to use the images from a particular post or page.

    Dalton

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Portfolio Slideshow] – is it possible to put the slideshow in the heade’ is closed to new replies.