• Whoops. I tried to add a “digg this” button and I’ve done something wrong. Now instead of the stuff about comments at the bottom of my post, I just see Edit’)); ?>. Here’s what the section of code looks like now. Can anyone please tell me how to fix it? I know zip about css. I thought I had saved a backup of the template but unfortunately screwed that up too! Please help!

    <div class="entrymeta"><a href="https://del.icio.us/post">)+'&title='+encodeURIComponent(<?php the_title() ?>),'delicious', 'toolbar=no,width=700,height=400'); return false;"> Bookmark on del.icio.us</a>
        	<the_time('F dS, Y'); echo " | Category: ";the_category(','); echo " | ";
    
    	comments_popup_link( 'No comments ',
    						 '1 comment ',
    						 '% comments ',
    						 'comments-link ',
    						 'Comments are off for this post ');
    	edit_post_link(__('<strong>Edit</strong>'));
    	?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Get a fresh copy of your theme (download and extract it again) and overwrite the bad one with your ftp program. Then install the “Share This” plugin…

    Thread Starter janetcrocker

    (@janetcrocker)

    What is the share this plugin?

    Share this lets readers add a post or page to many different services like Digg, Technorati, etc.
    You can see it on my test blog – just click the “share this” link under the 1st post.
    my test blog

    Thread Starter janetcrocker

    (@janetcrocker)

    Thanks, that sounds like a great idea!! I guess if I upload the theme again I will have to re-do any change I’ve made (like adding my feedburner thingie) … that’ll teach me to go fiddling around without saving a backup first!! Thanks again for your help

    Well… You can try to compare the edited file with the fresh one and undo just the last changes :).

    Thread Starter janetcrocker

    (@janetcrocker)

    OK. Thanks again for the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help! screwed up code in main index template’ is closed to new replies.