← WordPress

Thumbnail dos posts

Lida 1008 vezes

Offline

Bin_Ladden 
Membro
Mensagens 11 Gostos 0
Troféus totais: 18
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Boas,
Tenho este template: http://www.elegantthemes.com/preview/WhosWho/   e gostaria de saber com faço para colocar as miniaturas dos posts
Offline

TheMafa 
Membro
Mensagens 18 Gostos 0
Troféus totais: 20
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 10 Posts First Post

Citar
2. How do I add the thumbnails to my posts?

WhosWho utilizes a script called TimThumb to automatically resize images. Whenever you make a new post you will need to add a custom field. Scroll down below the text editor and click on the "custom fields" link. In the "Key" section, input "Thumbnail" (this is case sensitive). In the "Value" area, input the url to your thumbnail image. Your image will automatically be resized and cropped. The image must be hosted on your domain. (this is to protect against bandiwdth left)

Important Note: You must CHMOD the "cache" folder located in the WhosWho directory to 777 for this script to work. You can CHMOD (change the permissions) of a file using your favorite FTP program. If you are confused try folowing this tutorial. Of course instead of CHMODing the template folder (as in the tutorial) you would CHMOD the "cache" folder found within your theme's directory.

Ou seja adicionas um "custom field" em cada post com o nome (a "key"): Thumbnail (assim mesmo, com maiúscula) e depois no campo ao lado ("Value") inserires o url da foto. ;)

simples ;)

Normalmente no "Readme" dos temas, explica esse tipo de coisas.
Offline

Bin_Ladden 
Membro
Mensagens 11 Gostos 0
Troféus totais: 18
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Obrigado ;)
Offline

TheMafa 
Membro
Mensagens 18 Gostos 0
Troféus totais: 20
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 10 Posts First Post

de nada  :smile: