There is another issue . In the index.php file , each line is not closed a tag <? Php. I need to paste the code , which is closed <? Php tag on each line . What do I need to change in my code ?
For example, instead
if (have_posts ()): while (have_posts ()): the_post ();
to insert
<? php $ postcount = 0 ; ? >
<? php if (have_posts ()): while (have_posts ()): the_post (); ? >
<? php $ postcount ++; ? > .
How to do it to the theme of work?