One Way To Use Custom Fields

This is not a beginner level tutorial. If you don’t know anything about XHTML and PHP, you will get lost.

Recently, I learned how to manipulate custom fields from theundersigned.net. Today, I finally switched from excerpts to custom fields to display theme thumbnails on Wpdesigner. I’m talking about the three theme blocks in the header. Each block has an image, the theme’s name, theme author’s name and link, and the download page link.

theme thumbnail screenshot highlight

Before making the switch

Here’s a normal theme post:

theme post screenshot

Here’s its optional excerpt information, which would be what I’d use to display a theme thumbnail block:

theme post excerpt screenshot

And here’s the source codes for displaying the excerpts.

As you can tell, each excerpt is unique. If I were to continue using excerpts to store theme information, a decision to change up the theme thumbnail block template (even a small change) would make the change a daunting task. I would have to edit every excerpt.

After the switch

To some recent theme posts, I added the following custom fields or custom field keys: Theme Name, Theme Author, Theme Author Link, Download Page, and Theme Thumbnail. The keys’ values depend on the theme’s information.

custom fields screenshot

And here’s the source codes for displaying custom fields.

The Big Difference

Now, I can easily manipulate the custom field values to display the themes’ information. Also, I can easily make template changes that would affect every thumbnail block. For example, if I wanted to display the download page link before the author’s link, I would change the source codes to display the download page link first, instead of having to edit one excerpt at the time to get all the thumbnail blocks to match each other. Imagine having to edit 1000 excerpts instead of switching some source codes around. Big difference huh?

Why I switched to custom fields

Wpdesigner only display the three most recent theme posts in the header so why bother with switching to custom fields? I have to. My goal is to change up the WordPress theme category page to display only theme thumbnail blocks. That way, you’ll be able to browse through more themes per category page.

Here’s a mock-up example:

future category page

What's Next?
Related Posts

This is a really helpful tip. I’m planning to do the same thing with my works gallery. Thanks!

Pola:

Well Done post, maybe the next theme goes customized with it.

Great tip, I’ve been toying around with different methods of doing the same thing with my portfolio.

Hey Craig - I check out your blog, nice Wordpress themes, subscribed!

[…] Using Custom Fields for different reasons […]

it’s a very good idea. you are a genius sp!

nice tut ,
can this be made in marqee style

Mosey:

Thank you for this! Whilst theundersigned.net does give a good intro to custom fields, it doesn’t really show how it can be applied to RL scenarios, so I find this particularly helpful! :) I’ve really wanted to use custom fields but was really not sure how to organise them, so I’m going to try it this time round!

No problem, thanks for dropping by.

Mosey:

One of my favourite new plugins: http://rhymedcode.net/projects/custom-write-panel

As mentioned before, I’m finding your guide particularly useful when applying it to displaying customfields generated by Custom Write Panel! :)

[…] One Way To Use Custom Fields @ Wpdesigner by Small […]

Excellent article SP. I’m going to have to give it a try :).

Thanks for sharing!

-Jonathan

[…] One Way To Use Custom Fields […]

[…] Custom fields - Para los usuarios de wordpress siempre se preguntaron para que sirven los custom fields (yo soy […]

Great article. I’ve been using custom fields for a long time but you had some good tips for using them in ways I hadn’t yet considered.

One of the problems I’ve run into is that custom fields don’t show in the RSS feed. I’m using them to provide some structured content that is part of the post and should appear in the feed.

Anyone have an easy way to deal with that?

[…] First, you need know how to use custom fields. […]

[…] 第一,你需要知道怎么使用自定义字段 (custom fields)。 […]

Good tutorial, takes you “by the hand”. Really appreciated.

how to show the new post in some categories or the father cotegories? thanks

What do you mean?

Yeah i also use custom fields and would love to be able to add them to my rss feed as well.

Does anyone out there know how to accomplish this?

Thanks

Great post by the way. It helped me a bunch.

[…] que leyendo WPDesigner, este interesantísimo blog de desarrollo en WordPress, encontré éste artículo, encontré el código perfecto para lo que queremos […]

[…] que leyendo WPDesigner, este interesantísimo blog de desarrollo en WordPress, encontré éste artículo, encontré el código perfecto para lo que queremos lograr. Si queremos crear lo antes […]

It’s very useful!
I will try it in my own site.

thanks

Ara Abcarians:

Hey! great little tut but i cant seem to get it to work right…
it works but it displays 3 posts 3 times each…. probably because i dont know exactly how to insert your source code correctly…. if you have the time can you show an example of how you would stick that source code into the index page?

interesting post thx

good site dude

[…] One Way To Use Custom Fields - Using Wordpress custom fields. […]

lAtAXw f76fgb6gb0nb07r70xngm7bx

oyINdl nice site! http://gov.com

[…] via Custom Fields Silke Schümann wrote this 05:19:Nach ein wenig try&error und mit der Hilfe einer Vorlage habe ich nun auf Franchie.de eine kleine Galerie in der Sidebar, die die jüngsten sechs […]

[…] One Way To Use Custom Fields ?????WordPress ?????????? […]

Best Site Good Work teenmodels 44921

Thanks for the tutorial… custom fields are definitely can be confusing.

Gloomy tales bigblacktits ryaii

Best Site Good Work dirty dancing tickets toronto :-)))

Andy:

Hi Guys,
we are running an “Article Writing Contest”
$600 worth prizes to give away.
Please check the link below to participate in the contest …

http://blogs.qualitybusinesslinks.com/

Just 1 article and you can win $$$
We hope to see your article entries soon ..
Good Luck.
-Andy

good material thanks free airline ticket :PP

Cool site goodluck :) web tickets =]]]

cheap tickets to new york dsyoun

very best job Stuhrling Watches mxzzyh

This site is crazy :) competitive term life insurance %[

Aphrodisiacs:

love the site
typepad

Wonderfull great site dicksuckers :[[

Cool site goodluck :) free ring tones =))

It’s funny goodluck animalporn bckveq

Excellent work, Nice Design preteenupskirt 121626

this is be cool 8) “><

mpmexn

Best Site good looking <a href=” videos “>teencleavage epwvy

Very funny pictures amaturesex toagzx

It’s funny goodluck <a href=” ilia “>nakedoldies 4099

“???????”?????????????????????????????????????,?????????????????????????????????????

This site is crazy :) metro pcs free ring tones =D

Beauty http://www.www.gd:

love the site

Cool site goodluck :) mydaughtersfuckinganigger 8-[

good material thanks fuck a real slut qazmb

Very Good Site big fucking tits ike

Best Site good looking home fuck pics cnow

Excellent work, Nice Design pictures making fuck sex 528

Very funny pictures lolitas little fucker 8-P

magic story very thanks teenescorts 446

Maybee in the future…..

Very Good Site cheap hotel tickets 226

Wonderfull great site cheap hotel rooms in new castle delaware 1789

i’m fine good work cheap disneyland hotel eac

Very funny pictures cheap hotels in dallas 6913

Jonny was here hotels san francisco cheap 244058

good material thanks talespin kit cloudkicker desktop wallpaper fmrf

Punk not dead mystical wallpaper weyf

I love this site analyce jezeb

I love this site drunk preteen lesbians bbs tgp 118894

Punk not dead matureanal 18807

xxxtits %-[[

Cool site goodluck :) family force 5 concert tickets lancaster pa 213

[…] One Way To Use Custom Fields ?????WordPress ?????????? […]

real beauty page free women fucking dogs

351194

I’m happy very good site sexy indian fucking blak men ukt

this post is fantastic discount africa airline tickets >:-[

Very Good Site nastyteens autp

Best Site good looking little lolitas free 092998

Very Good Site nudepreteenmodels 2899

Wonderfull great site ameture teen dvds 654

thanks this what i am looking for. i had may site with style sheet but dont know to change it.

I love this site.
I’ll back.

Laptopy Warszawa

Jonny was here freeanalsexmovie %-P

It’s serious pornstars-r-us 978909

Very Good Site globalpornoworld.info 4700

Best Site Good Work sex.porn com 26539

Very funny pictures gigapornstars :]]]

Very Good Site drive florida cheap hotel in paris scwv

Best Site Good Work pisa cheap travel

>:(((

Very Good Site ma cheap flights las vegas hilton hotel reservation utkqgv

this is be cool 8) shores cheap hotels

:-DDD

this is be cool 8) hotel room home monthly27 suphanburi cheap hotel 22770

It’s serious kehma texas cheap hotels in the dominican

>:P

real beauty page in prague cheap flights web site for hotel reservation for las vegas 477382

Best Site Good Work flights reservation aladdin hotel las vegas cheap key west hotels florida discount key west hotels :(((

I’m happy very good site hotel bookings cheap hotel weekly rates rcegrv

hotels in eliat cheap hotel directory 8OOO

i’m fine good work dhabi cheap hotel beilngries :-))

Jonny was here travel deals airline tickets discount hotels cheap car cheap hotel in toronto 392841

real beauty page nevada cheap hotels manhattan new

%)))

this is be cool 8) in honolulu cheap whistler hotel =-((

Excellent work, Nice Design hotels cheap hotel on the ocean outer

spcbm

texas cheap hotel athens greece 8]]]

i’m fine good work intheresenweid cheap hotel rates orlando fscx

Wonderfull great site vegas cheap hotels cheap rate hotels =P

Very interesting tale in austin tx near 6th street cheap luxury hotels rome gukef

Thanks funny site phoenix hotels cheap hotel in athens 9631

It’s funny goodluck ride from denver airport to hotels cheap hotels in downtown munich hsvvva

this post is fantastic leeds cheap new orleans hotels bourbon street 8-DDD

Thanks funny site inknoxville cheapest prices for hotels in chicago 355

this post is fantastic cheapest airline tickets flights 12022

It’s serious teen streachmarks =D teen court programs :(((

It’s funny goodluck discount airline tickets 553359

Gloomy tales teen girl quizzes nhiyif teenage girls in thongs >:-((

It’s funny goodluck discount airline tickets 30212

real beauty page free magazines for teenagers 594263 st.

zvi

Cool site goodluck :) cheapest airline tickets flights >:-]]]

Excellent work, Nice Design discount airline tickets =-PP

good material thanks cheap airline tickets gzypa

i’m fine good work german preteen models %-P steen’s syrup 7657

seventeen magazine model

=((( teen alcohol statistics =OO

Very Good Site free sexfuck dick 03772

Best Site good looking animal fucking girl hard slc

i’m fine good work mother’s i’d like to fuck wkgt

[…] ????????????????? (custom fields)? […]

??????!

[…] One Way To Use Custom Fields […]

xgvoqt jiryptv mtdublow kvfroa mtzw vegbq hcal

That was a nice article, I created csslovers.com with the help of this article. I really miss you SP.

?????.

I am a beginer but did it on one of my blogs, thatnks , will miss you

Best Site Good Work streamsex 722966

It’s funny goodluck xxxporntube 8[[

Excellent work, Nice Design Watch oral sex vbtofg

It’s serious

Very interesting tale little

:-[

Thanks funny site maleanalsex njo

Hello good day Underground Bbs >:DDD

Very interesting tale picturesgoodsex 874

good material thanks gratis sextv 8OO

Hello good day boysfood >:-[[

It’s funny goodluck porntv free zff

Best Site Good Work free porntv 143

I’m happy very good site free 100 live xxxtv =-)

Good crew it’s cool :) sextv =)))

i’m fine good work sextv 2867

magic story very thanks sextv free 545

Good crew it’s cool :) maxporn hermaphrodite videos 760

Punk not dead pornhub website 662

Best Site good looking all free xmovies
shn

Thank you for this! Whilst theundersigned.net does give a good intro to custom fields, it doesn’t really show how it can be applied to RL scenarios, so I find this particularly helpful! :) I’ve really wanted to use custom fields but was really not sure how to organise them, so I’m going to try it this time round!
http://www.gpsintegrated.com

Cool site goodluck :) free xxxrated lgb

Jonny was here sextv online 8-)

Gloomy tales gaytubes 968

this is be cool 8) lolitatube 448458

Best Site good looking hot tubs 566290

Punk not dead download youporn 71764

It’s serious efuckt =-[[

This site is crazy :) Onlymovies %((

magic story very thanks pornfo xocpbe

Excellent work, Nice Design boysfood similar =-D

Thanks funny site blackmonstercock 47859

Excellent work, Nice Design sites like maxporn 610483

Gloomy tales pornqueens meolc

It’s serious pornhub com 05282

This site is crazy :) frandresherblowjobs rkpoih

Very interesting tale redtube website 424

Cool site goodluck :) full free xmovies wds

I love this site preteenmodels >:DD

this is be cool 8) anal sex movies 8P

Very funny pictures 69gayporn :-]

Thanks funny site gay middle east males 27702

Jonny was here naked teen free 542344

Punk not dead dickies work uniforms arglf

Very funny pictures preachers wife sucking black cock phdkd

Thanks funny site amature sex 0415

cool, clasno pishesh, prodolzhay v tom zhe duhe

i’m fine good work Porntv Sex kxl

very best job maxporn videos nwoodp

this post is fantastic free pichunter %-PPP

Porntv Free %(((

Very Good Site Free Youporn 8]]

this post is fantastic lolita preeteen boys pictures 6910

Thanks funny site videos xnxx qhp

this is be cool 8) preteen lolitas sex 94814

Very funny pictures yobts htoyz

Cool site goodluck :) xxxporntube =-]]]

Very Good Site cliphunter forum 31198

good material thanks porntube similar coz

This site is crazy :) free xmovies online :O

magic story very thanks gay tube %-O

tubetv ihg

Excellent work, Nice Design sextv 1 ljqzal

Punk not dead Pornoriver fvw

free online porntv 9285

i’m fine good work tubetv =-)))

Punk not dead Pornhost tv 77672

Very funny pictures X hampster prn 83345

good material thanks lolitas13 :-[[[

porntv online >:-PP

cliphunters free video ygralz

I love this site maxporn videos >:((

???? ??? ???, ???-?? ?????…

magic story very thanks xtube straight %DDD

pishite esche na podpbnue temu

??? ? ??? ???????????? ??

?????? ????????, ????? ? ???

clas, dolgo etot post pisali?

Great article. I’ve been using custom fields for a long time but you had some good tips for using them in ways I hadn’t yet considered. My site: http://www.carpet-and-rugs. :)

Thanks for the tutorial… custom fields are definitely can be confusing. http://www.tile-catalog.com. ;) Thanks!

magic story very thanks xnxx sex stories 8[[[

I’m FINALLY getting a handle on how to use these custom fields on my blog thanks to your very concise and clear explanation. I hoping that I can incorporate them for a client of mine who manufactures and sells Sleep Apnea Pillow.

Best Site good looking xxxtv 8-)

this post is fantastic free xxxrated >:OOO

Very Good Site japanese porntube %(((

magic story very thanks lolitaporn =-DD

Very funny pictures little preteen lolitas wdiial

Hello good day lesbian sex in hot tube 9870

Thanks funny site sites like pichunter axnkdr

I’m happy very good site xtube website 8-OO

I’m happy very good site fetish tube mme

very best job teen vogue 608790

Best Site good looking free x rated movies
722690

This site is crazy :) Pornfish 51228

Best Site Good Work like tube8 >:]]

Hello good day Streaming blow jobs pornput hdjkk

Very funny pictures 89galleries 3157

this post is fantastic red tube sex 04019

this is be cool 8) pagina de lolitas little kiss itpnb

Gloomy tales yobt free videos 64796

Wonderfull great site leabian sex tube 137

this post is fantastic worldsex 796

ahmet maranki

thanks so much

using Custom field is quite easy!!

Thanks for this post!!

custom fields are user friendly!!

custom fields are really ocking

nice post!!

superb post dude!!

nice work..

excellent

Reply
Comment Policy
  • Theme support questions should be posted at the support forums.
  • Name and Email are required. Email is never published.
  • You grant this site perpetual license to reproduce your words and name/website in attribution.
  • Inappropriate comments will be removed at my discretion.
Close
Powered by ShareThis