Archive

Archive for December 17th, 2008

WordPress themes compatibility with php

December 17th, 2008 Comments off

As preparing blog for one of clients I have found problems with get it running, after some web research I have found that Hemingway theme uses old syntax … instead of downgrading my server or allowing old syntax I have wrote script that converts old syntax to current working one.

This is the script:

grep -rl “

  • replace <? markers to <?php
  • replace <= markers to <?php echo
  • For me this solved problems with Hemingway theme.

    Categories: Hosting Tags: , , , ,