Profile
Achievement
wahnbriefe's Recent Snippets
- All /
« Prev 1 Next »
Good for showing labels/descriptions that accompany custom fields when they are set, and avoiding lots of empty labels.
Eg: if there is no content set in the 'project-agency' field, don't show the label 'Agency:', but if there is, show it with the...
0
795
posted 13 years ago by wahnbriefe
This gets the content from the page with the ID 22 (change as appropriate on line 1) and echos the first 20 words (change word count on line 8) - can be used on any page inside your Wordpress theme.
0
639
posted 13 years ago by wahnbriefe