• Resolved swany

    (@swany)


    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 www.ads-software.com 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)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php code errors’ is closed to new replies.