exclude codes from different pages? how?
-
Hello,
I’m running a site using pages as posts..
and i want to insert wp postviews code on page.php to have it available on pages..however, there are certain pages that I dont want to have views on. How can I exclude those pages so that only pages that I want have the code that I have with wp postviews?To make it more easy to understand,
Whenever I put this code<?php if(function_exists(‘the_views’)) { the_views(); } ?>
on page.php
All pages have been visible for views. (for example 203 Views)
But I only want that code to be on pages that I want views only NOT ALL of them. But how? I can’t even put that code on pages itself. =/This also for my other codes that I want not only for this code.
- The topic ‘exclude codes from different pages? how?’ is closed to new replies.