Problem With My Wordpress Page Templates, Help!!

4 replies
  • WEB DESIGN
  • |
Hello,

I have been trying to add the "mingle forum" to my wordpress blog but after numerous attempts i am unsuccessful in doing so. The problem is with the page templates that comes along with my theme the forum only shows up on one.

The template options are:
1, default template
2, popular "
3, Sitemap "
4, Archives "

this is the mingle short code that i use "[mingleforum]"

I have only been successful in using the "Default Template", however when i use it it shows the sidebar thus not allowing the forum to fully expand to the full width of the page. So i tried using the other templates but for some reason they all show blank. even when i write something e.g. "coming soon" in the page editor it wont show up on the page unless i use the default page template.

I don't know what casing this for i don't know much about php nor html

Below are the default coding and the popular page templates coding.

Remember that my Default page template works however my popular page template don't works. i dont want to use the default page template because it shows a side bar in it thus making the forum small.

I would like to fix the popular page template so that my forum shows when i use it.

This is what the page currently looks like using the Popular page template http://www.online-career.com/forum/ i placed the short code in it put its still blank



Default page template
<?php get_header(); ?>

<div id="post-entry">

<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

<div class="post-meta" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="post-author">
<?php _e('Posted by'); ?>&nbsp;<?php the_author_posts_link(); ?>&nbsp;<?php _e('in'); ?>&nbsp;<?php the_time('l, F jS Y') ?>&nbsp;&nbsp;&nbsp;<?php edit_post_link('edit'); ?>
</div>

<div class="post-under">
Topics: <?php the_category(', ') ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php if(function_exists("UTW_ShowTagsForCurrentPost")) : ?><?php UTW_ShowTagsForCurrentPost("commalist", array('last'=>' and %taglink%', 'first'=>'Tags: %taglink%',)) ?><?php else : ?><?php if(function_exists("the_tags")) : ?><?php the_tags() ?><?php endif; ?><?php endif; ?>
</div>


<div class="post-view-com">
<span class="comment-count"><?php comments_popup_link('No Comment', '1 Comment', '% Comments'); ?> </span>
<?php if(function_exists('the_views')) : ?><span class="view-count"><?php the_views(); ?></span><?php endif; ?>
</div>



<?php if(function_exists('the_ratings')){ ?>
<div class="post-wp-rating">
<?php the_ratings(); ?>
</div>
<?php } ?>


<div class="post-content">
<?php the_content('...click here to read more'); ?>
</div>


</div>

<?php endwhile; ?>

<?php include (TEMPLATEPATH . '/paginate.php'); ?>

<?php else: ?>

<?php include (TEMPLATEPATH . '/result.php'); ?>

<?php endif; ?>

</div>


<div id="sidebar-wrap">
<?php include (TEMPLATEPATH . '/featured.php'); ?>
<?php get_sidebar(); ?>
<?php include (TEMPLATEPATH . '/sidebar-right.php'); ?>
</div>



<?php get_footer();
Populare Page Template
<?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(); ?>
#page #problem #templates #wordpress

Trending Topics