How to use the free version of wptouch on WordPress

This is very technical! This website macintoshhowto.com uses a wordpress plugin called wp-touch.

It has a bug in it. I needed to fix it to get the site working. Here’s how to fix it.

It can be repaired by finding the file called class-wptouch-pro.php and making 2 changes:

  1. On line 579 change ‘wptouch_pro’ to ‘wptouch-pro’
  2. At line 646 delete all this:
        if ( $domain == 'bauhaus' ) {
            if ( $free_settings[ 'link-color' ] != '006bb3' ) {
                $defaults->bauhaus_link_color = '#' . $free_settings[ 'link-color' ];
            }
            if ( $free_settings[ 'header-background-color' ] != '000000' ) {
                $defaults->bauhaus_header_color = '#' . $free_settings[ 'header-background-color' ];
            }
            if ( $free_settings[ 'header-border-color' ] != '333333' ) {
                $defaults->bauhaus_post_page_header_color = '#' . $free_settings[ 'header-border-color' ];
            }
        }

Posted

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.