WordPress.org

Ready to get started?Download WordPress

Forums

my-hacks.php (4 posts)

  1. Joey
    Member
    Posted 10 years ago #

    I've created the my-hacks.php file as specified and included what needs to be included for the wp-mood and wp-grins hack. However, every page seems to say that there is an error in line one of my my-hacks.php. Is there a way to correct it?
    this is what my-php looks like:
    <? php require_once('wp-mood/wp-mood.inc');?>
    <?php require_once('wp-grins.php'); ?>

  2. nsxpower
    Member
    Posted 10 years ago #

    Try this:
    <?php
    require_once('wp-mood/wp-mood.inc');
    require_once('wp-grins.php');
    ?>

    Did you enable your my-hacks file? In Options > General Blog Settings > hack_file shoud be set to true.

  3. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Is this absolutely correct ? wp-mood/wp-mood.inc

  4. Beel
    Member
    Posted 10 years ago #

    It does not appear to by a syntactical error but, as podz points out, a possible directional one (either through mislocation or misspelling).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.