• Help! I accidentally changed something in the index.php code (i’m using codium extended) and now i’m getting this error.

    Parse error: syntax error, unexpected T_STRING in /home2/modernq4/public_html/wp-content/themes/codium-extend/index.php on line 22

    Is there anyway I can get a copy of the original index.php code so that I can replace the whole thing?

    Please help!

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Where did you get the original copy of the theme from?

    admin_art

    (@admin_art)

    <?php get_header( ); ?>
    <div id=”container”>
    <div id=”content”>
    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”dp100″>
    <span <?php body_class(‘cat-links’); ?>><?php printf(__(‘%s’, ‘codium_extend’), get_the_category_list(‘ ‘)) ?></span>
    </div>

    <!– Begin post –>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <h2 class=”entry-title”>” title=”<?php printf(__(‘Link to %s’, ‘codium_extend’), esc_html(get_the_title(), 1)) ?>” rel=”bookmark”><?php the_title() ?></h2>
    <div class=”entry-date”><?php unset($previousday); printf(__(‘%1$s – %2$s’, ‘codium_extend’), the_date(”, ”, ”, false), get_the_time()) ?></div>

    <div class=”entry-content”>
    <?php the_content(”.__(‘read more <span class=”meta-nav”>»</span>’, ‘codium_extend’).”); ?>
    <?php wp_link_pages(“\t\t\t\t\t<div class=’page-link’>”.__(‘Pages: ‘, ‘codium_extend’), “</div>\n”, ‘number’); ?>
    </div>
    <div class=”clear”></div>
    <div class=”entry-meta”>
    <?php the_tags(__(‘<span class=”tag-links”>Tags ‘, ‘codium_extend’), “, “, “</span>\n\t\t\t\t\t<span class=\”meta-sep\”>|</span>\n”) ?>
    <?php edit_post_link(__(‘Edit’, ‘codium_extend’), “\t\t\t\t\t<span class=\”edit-link\”>”, “</span>\n\t\t\t\t\t<span class=\”meta-sep\”>|</span>\n”); ?>
    ” title=”Permalink to <?php the_title() ?>” rel=”bookmark”><?php printf(__(‘Permalink’, ‘codium_extend’)) ?> <span class=”meta-sep”>|</span>
    <span class=”comments-link”><?php comments_popup_link(__(‘Comment (0)’, ‘codium_extend’), __(‘Comment (1)’, ‘codium_extend’), __(‘Comments (%)’, ‘codium_extend’)) ?></span>
    </div>

    </div>
    <!– End post –>

    <div class=”linebreak clear”></div>

    <?php endwhile; endif ?>

    <div class=”center”>
    <?php if(function_exists(‘wp_pagenavi’)) {
    wp_pagenavi();
    } else {?>
    <div class=”navigation mobileoff”><p><?php posts_nav_link(); ?></p></div>
    <?php } ?>
    <div class=”navigation_mobile”><p><?php posts_nav_link(); ?></p></div>
    </div>

    </div><!– #content –>
    </div><!– #container –>

    <?php get_sidebar() ?>
    <?php get_footer() ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Codium Extended Index.php default code’ is closed to new replies.