prwhitehead


Member since 01/17/2011

Name: Paul Whitehead

Location: UK

11 snippets

9307 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

prwhitehead's Recent SnippetsTagged php



« Prev 1 Next »
use an object as an array
0 2825 posted 14 years ago by prwhitehead
Returns all of the custom fields (meta data) from a page / post and assigns them all to a single session array for compactness
1 1703 posted 15 years ago by prwhitehead
Make sure your URL $_GET variables don't get repeated / duplicated when you are creating links / URLs dynamically.
0 2400 posted 15 years ago by prwhitehead
If your page has already sent headers to the browser you cant redirect with headers('Location:' . $url); But you can use the following:
0 1287 posted 15 years ago by prwhitehead
Add a login form to your wordpress themes frontend.
0 1906 posted 15 years ago by prwhitehead
Create your own wordpress hooks easily and simply. Just rename the function to whatever you like.
0 1398 posted 15 years ago by prwhitehead
Create custom database tables within wordpress. Just replace 'stats' with the name of your table, and then the $sql variable with your create table sql.
0 1985 posted 15 years ago by prwhitehead
Remove menu items from the wordpress admin
0 1557 posted 15 years ago by prwhitehead
To remove some of the lesser used edit post / page meta boxes:
0 1685 posted 15 years ago by prwhitehead
Create a sitemap in wordpress, including posts, categories and pages just use the [sitemap] shortcode within the post content and wordpress / the function does the rest.
0 1753 posted 15 years ago by prwhitehead
Create excerpts from text block from your wordpress content and add links page / post from the guid.
0 1751 posted 15 years ago by prwhitehead
« Prev 1 Next »