Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Add code before posts WordPress

  • SOLVED

Hi,

I want to add this slide show -
<?php if (function_exists('slideshow')) { slideshow(true, "1", false, array()); } ?>
before the posts (Recent Articles)

http://www.airlinestaffrates.com/travelmagazine/
Where do I add the code?

Thanks
Charlotte

Answers (3)

2012-07-09

Francisco Javier Carazo Gil answers:

Hi Charlotte,

You have to add it in index, just before the loop.



2012-07-09

Michael Caputo answers:

Should be right after the div:
<div class="archive">

2012-07-09

Martin Pham answers:

open index.php in template
add after

<div class="archive">
<?php if (function_exists('slideshow')) { slideshow(true, "1", false, array()); } ?>


OR

find <!-- /header --> add after if you want display full


<?php if (function_exists('slideshow')) { slideshow(true, "1", false, array()); } ?>
<div class="archive">