• Resolved digitalu

    (@digitalu)


    Hi,
    I mistakenly deleted code on the wordpress theme Colorway when trying to eliminate the 4 feature boxes displayed on the home. Now, the link won’t even work when I restored the code on the home.php file. Not sure what’s going on since I pasted back exactly what was deleted. The code is below, so any any tips on how to restore it back on properly the code page so the site works properly?

    Thanks!

    <div class=”columns”>
    <div class=”one_fourth”> ” class=”bigthumbs”>
    <?php if (inkthemes_get_option(‘inkthemes_fimg1’) != ”) { ?>
    <img src=”<?php echo inkthemes_get_option(‘inkthemes_fimg1’); ?>”/>
    <?php } else { ?>
    <img src=”<?php echo get_template_directory_uri(); ?>/images/1.jpg”/>
    <?php } ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digitalu

    (@digitalu)

    By the way, when I access my homepage I get the following message:

    Parse error: syntax error, unexpected ‘}’ in /home/digit382/public_html/wp-content/themes/colorway/home.php on line 83

    I hope this helps shed light on a solution to the problem. Thanks!

    Thread Starter digitalu

    (@digitalu)

    I had to deselect and select back the Colorway theme to resolve the issue (lost some minor changes along the way), but problem resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restore deleted code on home.php’ is closed to new replies.