I want to include this plugin on my website
http://wordpress.org/extend/plugins/wp-sponsor-flip-wall/
But instead of showing it on all pages, I want to show it only on a page I will create for sponsor. Is this even possible?
As per the instructions, to include the sponsors I have to call the following function
<?php wp_sfw_render(); ?>
I have tried to include this in footer.php
and it correctly shows the sponsors on footer.
Can I add the same code in, say page.php
and write a condition so that it will just show for a specific page?
You have to use
WordPress
template system.You can copy a template eg:
single.php
tosponsor.php
and follow WordPress Codex instructions.Then when you create a page, you can select which template to use.
You can alter that template in any way that you want, including your flip wall:
You can create a custom page – http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates and this code just to that page template. You then create a new page ‘sponsors’ and select in the right page template menu.