• I built a custom theme back in… probably 2010-ish. It’s using calls like
    get_header(); get_footer();
    and

        <?php while (have_posts()) : the_post(); ?>
            <div <?php post_class() ?> id="post-<?php the_ID(); ?>">

    The only custom function in function.php is a register_sidebar call.

    My question is: is it possible to predict for how much longer this theme will continue to work? Are the examples given still WP core snippets, and for how long will they continue to be so? (I no longer work in web design, and have become lazy – I only ever use a framework like Divi when I’m occasionally building sites nowadays…)

    And yes, the client should have their site reworked –?for responsiveness, for one! – but lack of funding has put this off.

    Thank you in advance for your advice!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Generally WordPress tries to be backward compatible and generally has been successful at it.

    What breaks most sites with old code is PHP updates ( e.g. change PHP 5.4 to PHP 8.2 ) and some PHP updates are definitely not backwards compatible. But in reality it is like to me small work to fix any issues.

    I still have working custom themes from 2011ish ( based in WP 2011 theme )

    • This reply was modified 1 year, 5 months ago by Alan Fuller.
    • This reply was modified 1 year, 5 months ago by Alan Fuller.
    Thread Starter Birgit

    (@birgit)

    Thank you. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom theme, life expectancy’ is closed to new replies.