In admin-functions add this (there is some wrap-around so you can find where to place it):
<script type=”text/javascript”>edToolbar();</script>
‘;
if (function_exists(“wp_grins”)) { echo “
“; wp_grins(); }
echo ‘</div>’;
endif;
Many thanks Beel 🙂
(I’ll FAQ this …. it’s not the most obvious place is it ?)
Where in the file? I can’t figure out what you mean with wrap-around.
I would appreciate your help.
Do a search in the file for ‘edToolbar’ – it only happens once. It’s around line 550
When I try to add it, I get a Parse error: parse error, unexpected '/' in /customers/deep-within.dk/deep-within.dk/httpd.www/wordpress/wp-admin/admin-functions.php on line 553
My code looks like this
<script type="text/javascript">edToolbar();</script>
';
if(function_exists("wp_grins")) { echo "
"; wp_grins(); }
echo '</div>';
endif;
';
echo '</div>';
endif;
}
Anything I should edit out? I probably am…
Anyone who can tell me where I should put it?
admin-functions.php if I remember correctly.
Thank you. I finally got it put in. Now I can finally just click on them 😀
So when installing grins in the beta wordpress all I have to do is at the above code in the admin functions php file and no where else to have it to show it?
Nice trick with the script. You can do either way chan. what he posted is the easiest way. I actually didn’t know about this trick until after I had core hacked wp-grins into wordpress. No problem though. The core hack is really very small.. you just add a function call to 3 files. Takes five seconds at most.
awesome script. i have successfully added the quicktags for writing a post. but how do you add the quicktags for the comments? (wp 1.5b1)