Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   how do i get page2cat to work (http://forum.bytesforall.com/showthread.php?t=10887)

alexgp Nov 1, 2010 12:04 PM

how do i get page2cat to work
 
this is the archive.php

**********************************
<?php

// This file is part of the Carrington Text Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// ************************************************** ********************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// ************************************************** ********************

if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }


if (have_posts()) {

echo '<ol class="archive">';

while (have_posts()) {
the_post();
?>



<li>
<?php
cfct_excerpt();
?>
<div id="post-content-<?php the_ID(); ?>-target"></div>
</li>
<?php
}
echo '</ol>';
}

?>

juggledad Nov 1, 2010 01:11 PM

I gave up on page2cat since it seems to be abandoned. There is a custom query template in the Gold Forum tutorials that you can use. (access to gold forums is available to members who have donated $20 or more.)


All times are GMT -6. The time now is 01:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.