Re Nibbles & .NET
Digital Formula is the new home of Nibbles & .NET, my old website.
If you’re wondering why you arrived here after clicking a link to Nibbles & .NET as the result of a search through Google, please note that this is intentional and not an error or an attempt at website or URI hijacking. All pages on Nibbles & .NET are being permanently redirected here. For example, http://www.nibbles.net.nz/category/msexchange/ will now send you to http://www.digitalformula.net/category/msexchange.
All content from the old site has been moved here and although the old site will remain active for the forseeable future, it will no longer be updated.
Thanks for reading!


April 25th, 2008 at 4:51 pm
Hello.
I was searching for an answer to my WordPress problem and found a similar question submitted by you late last year (five months ago). But apparently your question was not answered, and I’m hoping you eventually found your answer AND might help me with my question.
In WordPress, I want to add a snippet of code to each page - A Google Analytics thing. I find my way to Manage, Files, but can’t remember how to locate the file I want to insert the code snippet into.
I’ve actually done this a few weeks ago, but I can’t for the life of me remember how to bring up the coded page to modify it.
Any help would be appreciated. And if you can’t help, that’s fine, too. I’ll keep punching away at the problem.
Robert Graham
Washington state, USA
or
46º 28′ 28″ North
122º 56′ 44″ West
April 26th, 2008 at 2:11 am
Robert,
The file you need to edit depends on the theme you’re using. I’m also using WP 2.5 which has a redesigned interface from WP 2.3.
The way I’d edit the files in order to insert code snippets in WP 2.5 (the option is similar in WP 2.3) would be:
Design > Theme Editor
After you need to pick the file you want to edit. Note that the file you need to depends on where you want the code snippet to appear. For example you would need to edit single.php for a single post page or sidebar.php if you want the code snippet in the theme’s sidebar.
Not all themese contain these files although it’s rare to find properly-designed and fully-custom themes that DON’T contain these files (unless they’re inheriting from one a parent theme).
Thanks for your comment!