Forums
(@jaanmatti)
13 years, 4 months ago
It works!!!
Josh, thanks a lot! Just out of curiosity – what was wrong, or what did you change? Would be cool to learn from my mistakes here, hehe.
Thanks a lot again!
Josh – Thanks for the input. For some reason, the code you pasted gives an error:
Parse error: syntax error, unexpected ‘}’ in /home/kipper/public_html/www.kaaskiri.ee/uus/wp-content/themes/kaaskiri/banner.php on line 17
Any ideas?
Going with a second try:
https://pastebin.com/6RZ5WLQC
Edit: The problem with code now is, that it does only display the default banner on the front page, but it wont’ replace it with a custom div on other pages. So the bottom part of the code doesnt seem to work.
Hey!
I uploaded the code on pastebin:
https://pastebin.com/NP7G085t
Ipstenu, I’m sure that the case may be in some calls being outside of <?php ?> tags, but it seems I don’t really understand what to change and where…