Archive for June 5th, 2005
Adding Functionality to Templates
I recently saw a post in the forums for WordPress where someone was trying to add someone else’s php code to their themes. The code started off by setting a cookie. It was correctly commented in the source code to
…put this before any html
The reason being that to set a cookie, there must be no information sent to the browser yet. This is also true of other header(); php commands.
So, how can we put the script where we want, without having a whole bunch of errors thrown on the page?
Read the rest of this entry »
Posted by
Administrator on
June 5th, 2005 .
Filed under:
Programming, WordPress |
2 Comments »
Permalinks for Pages in WordPress Made Simple
When I first fired up WordPress 1.5.1.2 I almost gave up on it prematurely because the new ‘Pages’ feature seemed to require two unacceptable options if I was to use permalinks (for more user-friendly urls):
- chmod .htaccess to world writable
- update .htaccess every time I wanted to add a new ‘page’
After some thorough searching through the forums, I came across some tips that solved the issue and made it possible to add pages without changing .htacess one bit.
Read the rest of this entry »
Posted by
Administrator on
June 5th, 2005 .
Filed under:
Programming, WordPress |
3 Comments »
Syndicate
Categories
- Customer Service (1)
- Entrepreneurs (1)
- Marketing (3)
- Programming (9)
- Web Design (1)
- WordPress (5)



