Title: php code errors
Last modified: December 30, 2016

---

# php code errors

 *  Resolved [swany](https://wordpress.org/support/users/swany/)
 * (@swany)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-code-errors/)
 * 1. There is this php code showing up at the bottom of all my web pages:
    “Parse
   error: syntax error, unexpected ‘rel’ (T_STRING) in /home/sgibson/public_html/
   wp/wp-content/themes/ultra/parts/bottom-bar.php on line 23”
 * 2. When I run Theme Check I get the following messages:
 * RECOMMENDED: No reference to add_theme_support( “custom-header”, $args ) was 
   found in the theme. It is recommended that the theme implement this functionality
   if using an image for the header.
 * RECOMMENDED: No reference to add_editor_style() was found in the theme. It is
   recommended that the theme implement editor styling, so as to make the editor
   content match the resulting post output in the theme, for a better user experience.
 * RECOMMENDED: Tags: is either empty or missing in style.css header.
 * INFO: Only one text-domain is being used in this theme. Make sure it matches 
   the theme’s slug correctly so that the theme will be compatible with WordPress.
   org language packs.
    The domain found is ultra
 * INFO: inc/settings/settings.php The theme appears to use include or require. 
   If these are being used to include separate sections of a template from independent
   files, then get_template_part() should be used instead.
 * Line 65: include( dirname( __FILE__ ) . ‘/inc/control/’ . $file . ‘.php’ );
 * Line 69: include( dirname( __FILE__ ) . ‘/inc/’ . $file . ‘.php’ );
 * INFO: inc/customizer/customizer.php The theme appears to use include or require.
   If these are being used to include separate sections of a template from independent
   files, then get_template_part() should be used instead.
 * Line 10: $google_web_fonts = include ( dirname(__FILE__) . ‘/google-fonts.php’);
 * Line 307: $google_fonts = include( dirname(__FILE__).’/google-fonts.php’ );

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Theme Author [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-code-errors/#post-8603947)
 * Hi [@swany](https://wordpress.org/support/users/swany/)
 * Thanks for reaching out.
 * Line 23 in the bottom bar is the theme attribution link. Have you perhaps made
   an error when editing that file? You can restore to the original here: [https://themes.svn.wordpress.org/ultra/1.1.8/parts/bottom-bar.php](https://themes.svn.wordpress.org/ultra/1.1.8/parts/bottom-bar.php).
 * The theme check results are all normal. Recommended and Info are informational,
   it’s up to the theme to make choices in those areas.
 *  Thread Starter [swany](https://wordpress.org/support/users/swany/)
 * (@swany)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-code-errors/#post-8604292)
 * OK, thanks Andrew
 *  Thread Starter [swany](https://wordpress.org/support/users/swany/)
 * (@swany)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-code-errors/#post-8605691)
 * Andrew I was able to restore the file and the bottom bar is good now.
 * Thanks
 * Swany
 *  Theme Author [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-code-errors/#post-8605706)
 * Super, glad to hear you’ve made progress 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php code errors’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/ultra/1.6.8/screenshot.jpg)
 * Ultra
 * [Support Threads](https://wordpress.org/support/theme/ultra/)
 * [Active Topics](https://wordpress.org/support/theme/ultra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/ultra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/ultra/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/php-code-errors/#post-8605706)
 * Status: resolved