• Resolved John P

    (@john-p)


    I’ve made changes to my index.php that update in the editing window but don’t update on my site. Permissions are set correctly.

    I just upgraded to 2.3.3 – is this a database issue?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Uh, what changes? Also, are you sure you’re editing the same file you were looking at?

    Thread Starter John P

    (@john-p)

    I added code for tag support.

    Thread Starter John P

    (@john-p)

    It’s now working. Hmm…that was weird.

    But thanks Pinoy

    Probably your browser cache needed to be cleared.

    Thread Starter John P

    (@john-p)

    No, that wasn’t it, and it’s not working again. But thanks. More frustration.

    Perhaps the code changes weren’t correct. Paste the contents of you theme’s index.php here and report the link back here to the forum.

    Thread Starter John P

    (@john-p)

    For example, I was able to change “Filed Under” to Filed aUnder” in the index.php file and the text on my web page would change to “Filed aUnder” (just to test).

    Now, even with browser cache dumping, changes to the index.php file (like the above mentioned text change) don’t show up on my web page.

    Thread Starter John P

    (@john-p)

    My bad. The changes were infact working, not to the home page, but to the layout of the page that appears if you click on the post title.

    Sorry and thanks.

    Thread Starter John P

    (@john-p)

    Jeremy,

    here is my code for index.php – when I insert the tagging code (< ?php the_tags(‘Tags: ‘,’, ‘); ?>), the code shows up on the web page exactly as seen here. Any suggestions on how to change it to get it to work?

    <?php get_header(); ?>

    <div id=”content”>

    <?php include(TEMPLATEPATH.”/l_sidebar.php”);?>

    <div id=”contentleft”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h1>” rel=”bookmark”><?php the_title(); ?></h1>

    <?php the_content(__(‘Read more’));?><div style=”clear:both;”></div>
    <div class=”postmeta”>
    <p><?php the_time(‘F j, Y’); ?> | Filed Under <?php the_category(‘, ‘) ?> <?php edit_post_link(‘(Edit)’, ”, ”); ?></p>
    < ?php the_tags(‘Tags: ‘,’, ‘); ?>
    </div>

    <!–
    <?php trackback_rdf(); ?>
    –>

    <?php endwhile; else: ?>

    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p><?php endif; ?>
    <p><?php posts_nav_link(‘ — ‘, __(‘« Previous Page’), __(‘Next Page »’)); ?></p>

    <h4>Comments</h4>
    <?php comments_template(); // Get wp-comments.php template ?>

    </div>

    <?php include(TEMPLATEPATH.”/r_sidebar.php”);?>

    </div>

    <!– The main column ends –>

    <?php get_footer(); ?>

    Try this instead.
    <?php the_tags('Tags:',',',''); ?>

    Thread Starter John P

    (@john-p)

    Thank you, Jeremy

    One extra space and it all falls apart.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘index.php Updating Problem’ is closed to new replies.