Hey, I’ve got problems with centering of slideshow included in The Piecemaker Image Rotator plugin for wordpress. I managed to get the code to see it in header, but I need to center it.
The code looks like this
<?php if ( is_home() ) {
display_piecemaker(array('id' => 4));
}
?>
I just need to center it, but
before doesn’t work. This code in “slide.php” is connected with function:
[code]/**
* Function to use piece maker outside post content
*
**/
function display_piecemaker($att = null){
global $pm;
if(!is_array($att)){
$att = array(
'id' => $att,
);
}
echo $pm->replaceBooks($att);
}
[/code]
Thank you very much for help. I am desperate…