Page Template Coding Help Needed For Wordpress !!
All the templates for my wordpress theme are like this.
So i manually removed the sidebar coding from the " popular page template".
Now i am getting the full with of the page however when i use that template for my blog page"forum" i see noting, the page is blank, no forum images nor outlined structure.
With that problem i am now thinking about adding the code that i got from my plugin manually to the "popular page template"
which is= [mingleforum]
The problem is that i don't know how create a php coding that will work..
Hope you understand the problem that i am having here.
Below is what the current code of my "popular page template".
Can anyone help me to place the forum cod e in there or is there any other way to do this.
<?php /* Template Name: Popular */ ?> <?php get_header(); ?> <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?> <div class="post-meta" id="post-<?php the_ID(); ?>"> <h1><?php the_title(); ?></h1> </div> <div class="post-view-com"> <?php if(function_exists('the_views')) : ?><span class="view-count"><?php the_views(); ?></span><?php endif; ?> </div> <div class="post-content"> <?php if (function_exists('get_highest_rated')): ?> <h3>Highest Rated</h3> <ul> <?php get_highest_rated(); ?> </ul> <?php endif; ?> <?php if (function_exists('get_most_rated')): ?> <h3>Most Rated</h3> <ul> <?php get_most_rated(); ?> </ul> <?php endif; ?> <?php if (function_exists('get_most_viewed')): ?> <h3>Most Viewed Post</h3> <ul><?php get_most_viewed(); ?></ul> <?php endif; ?> <?php if(function_exists("akpc_most_popular")) : ?> <h3><?php _e('Most Popular'); ?></h3> <ul> <?php akpc_most_popular(); ?> </ul> <?php endif; ?> </div> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/paginate.php'); ?> <?php else: ?> <?php include (TEMPLATEPATH . '/result.php'); ?> <?php endif; ?> </div> <?php get_footer(); ?> |
Marketers need to be trustworthy.
Get your TRUST verified SEAL here.