WordPress.org

Support

Support » Plugins and Hacks » help with functions.php

help with functions.php

  • Hi. I’m really new and really stupid. 🙂
    So I’ve got one of ’em plugins and I need to add a new function :written below
    function get_authors($postCount = true, $excludeAdmin = true, $showFullName = false, $detailLink = ”)
    Question: Where do I insert this function at functions.php, right?
    I tried that but I got the error message: Parse error: parse error, expecting `T_VARIABLE’ in /mnt/web_i/d20/s35/b01e3d7c/www/asiatravel/wp-includes/functions.php on line 1773
    any ideas?
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think, if you read the readme that came with the hack, that function call goes into index.php

    I’ve tried that but it isn’t there. What I would like to know is that if I add a plugin/hack, should I add the function in the functions.php found in wp-includes, or should I make a new file with all plugin functions in it?

    thanks anyway, podz. I’m still trying to tweak it, but nothing’s happening. :-(. I should wait for Lennart’s reply

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