admin管理员组文章数量:1389951
I'm using banners/ads that are successfully displayed in every entry/post I created in my website.
¿Is there a way that banners can change to another banner according to some field in the destiny post/entry?
Someone said "Yes". Thank you.
How can that be done?
I'm using the HTML clause DIV to put the banners. It does not admit conditionals as far as I know, so I guess I have to combine that with some code. Am I right?. The theme I'm using allow me to place some JavaScript code. Can this JavaScript code reach the fields or information inside the destiny post/entry?
So I can say something like this:
if entry.tag="banner1" then UsedBanner="Banner1.jpg"
and the DIV clause would receive the content of UsedBanner and display a banner that can be different for every entry/post.
Where can I find specific information about this subject?
本文标签: phpConditional Banners
版权声明:本文标题:php - Conditional Banners 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744594716a2614703.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论