background preloader

Wordpress

Facebook Twitter

How to use Nextgen gallery using custom php code on theme file. Using Custom Fields to attach images, links or files to a post easily. Using Custom Fields to attach images, links or files to a post easily Custom Fields can be very helpfull for attaching content to your post or pages, for example a number of links, files or maybe an image slideshow.

Using Custom Fields to attach images, links or files to a post easily

I wrote a small PHP function to automate the creation of image, link and file arrays, and to create an array with their labels. Here's an example of its use: suppose I need to attach 5 images to a post, each with their own label. I could place them in the editor yourself, but using Custom Fields I could also create a nice slideshow.