Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Old Pages Upgradeable? (http://forum.bytesforall.com/showthread.php?t=13451)

fromtheranks Mar 23, 2011 04:42 PM

Old Pages Upgradeable?
 
Hi,

I'm in the process up upgrading to 3.5.3/3.6.4 (see http://forum.bytesforall.com/showthread.php?t=13408). I have my strategy pretty well laid out except for one question:

I have a couple of custom pages (contact-ftr.php and tagcloud.php) built on Atahaualpa 3.3.3's index.php. Will these "port" over without re-writes or do I need to recreate these pages using Atahualpa's new index.php. I'm guessing I have to redo these but if not ...

Thanks,
DP Harshman

fromtheranks Mar 23, 2011 05:12 PM

STB,

Thanks. I think that answers my questions. Wasn't sure how "backward compatible" the versions were. Probably the easiest is going to be to just rebuild the pages from the latest index.php. For instance for my tagcloud.php based page, which is very straightforward, I'm assuming I'll just have to re-add, to a cloned copy of index.php:

At the top:
PHP Code:

<!-- included 6/11/09 by DPH to create new template name -->
<?php
/*
Template Name: Tag Cloud
*/
?>

Outside the loop:
PHP Code:

    <?php // END of the LOOP
    
endwhile; ?>
    
    <!-- modified by DPH 6/11/09 to add wp_tag_cloud template tag; doesn't need to be "in the loop" -->
    <!-- modified by DPH 11/03/09 to disable max display of 45 tags, 0 = unlimited -->
    <!-- note:  wp_tag_cloud called from ..\wp-includes\category-template.php -->
    <!-- <?php wp_tag_cloud(); ?> -->
    <?php wp_tag_cloud('smallest=10&largest=20&number=0&format=list'); ?>

DP Harshman

fromtheranks Mar 23, 2011 05:22 PM

STB,

You are correct, templates not pages. :)

Thanks for being a sounding board on this.

DP Harshman


All times are GMT -6. The time now is 03:11 AM.

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