• Hi, I’m have trouble correcting this error. I have re-uploaded the file and its still having this error. Can someone figure what causing the problem.
    line 174 is under footer section. thank

    [Large and Unformatted code excerpt removed by moderator per forum rules. Please use Pastebin for all large code excerpts. It works better anyway.]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dwightharris

    (@dwightharris)

    Line 174 start at printf( __( ‘Proudly powered by %s’, ‘oblique’ ), ‘WordPress’ );

    /**
     * Footer credits
     */
    function oblique_footer_credits() {
    	echo '<a href="//ww.wp.xz.cn/', 'oblique' ) ) . '">';
    		printf( __( 'Proudly powered by %s', 'oblique' ), 'WordPress' );
    	echo '</a>';
    	echo '<span class="sep"> | </span>';
    	printf( __( 'Theme: %2$s by %1$s.', 'oblique' ), 'FlyFreeMedia', '<a href="http://flyfreemedia.com/themes/oblique" rel="designer">Oblique</a>' );
    }
    add_action( 'oblique_footer', 'oblique_footer_credits' );

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    Thread Starter dwightharris

    (@dwightharris)

    I looked at similar forms who had this problem I’m having and tried there solution but still get this error code
    “Parse error: syntax error, unexpected ‘by’ (T_STRING) in /home/dcbohwebmaster/public_html/_DeKalbTeenHealthBeta/wp-content/themes/oblique/functions.php on line 174”

    Thread Starter dwightharris

    (@dwightharris)

    Here is the full code.
    http://pastebin.com/TFS99pPq#

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    First try deactivating all your plugins to see if that clears it up. If that doesn’t work, try uploading a clean version of the theme.

    If that doesn’t work, I would suggest contacting the theme author:
    https://ww.wp.xz.cn/support/theme/oblique

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

The topic ‘Parse error: syntax error, unexpected 'by' (T_STRING) in /home/dcbohwebmaster/pu’ is closed to new replies.