Quantcast
Channel: help – WordPress.org Forums
Viewing all articles
Browse latest Browse all 13924

TonySean on "I deleted A file Main Index Template on Yamidoo Pro Theme"

$
0
0

Hi everyone I need help. :(

I saw spam in the 'Main Index Template' (index.php) section on "Edit Themes" for the theme Yamidoo PRO Magazine.

So I deleted the spam, but I think I deleted something I shouldn't have and now the main page of my site looks completely messed up.

Can someone please tell me what code I have to insert.

The code below is from the top and where it reads ( I deleted this section) is where I deleted the coding.

Thank you so much everyone!

[ Moderator note: please wrap code or markup snippets in backticks or use the code button. ]

<?php
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
$dateformat = get_option('date_format');
$timeformat = get_option('time_format');
?>

( I deleted this section)( I deleted this section)( I deleted this section)

<?php if ( $paged < 2) { ?> 

	<?php
  if ($wpzoom_slideshow_show == 'Yes')
  {
    include(TEMPLATEPATH . '/featured.php'); // calling Featured Slideshow
  }

Viewing all articles
Browse latest Browse all 13924

Trending Articles