WordPress.org

Support

my-hacks.php

  • 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’); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

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

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘my-hacks.php’ is closed to new replies.
Skip to toolbar