Frankly – I don’t see that as being possible. Text is controlled by your CSS. I don’t know of any variable that would allow this type of thing. Not to say it’s impossible, but I would doubt it.
What determines if they’re black or green color? A custom field?
So, seems like you could check the custom field’s value in The_Loop and (with php) set the title class you want for each post.
Thread Starter
gioska
(@gioska)
ok, you have example for me?
how i could check the custom field’s value in The_Loop and (with php) and set the title class that i want for each post.
Nope, I have no examples for you. Sorry.
Have you read up on Custom Fields? There’s some code there: Using_Custom_Fields
Thread Starter
gioska
(@gioska)
Someone have examples for me?
I have a Post in this post my key “colorpost”(custom field) have this value (#313373)…ok but how i can get this value for my specific post title?
It is possible?
Thread Starter
gioska
(@gioska)
I want display one post titles in colour i would like customise the title colour for any post via custom field.
this is a plugin to do titles in colour but i don’t want use a plugin.
the link.
So there is in fact a way to do what you’re asking for help to do … but you don’t want to use it? This makes sense HOW?
Thread Starter
gioska
(@gioska)
I don’t want use it because With this plugin i can only give a color to a title post, and for that i think that with custom field “title post” is more customizable. Someone have idea for me?
I don’t want use it because With this plugin i can only give a color to a title post, and for that i think that with custom field “title post” is more customizable. Someone have idea for me?
Well – you’ve already gotten two ideas that will work, but you rejected both. You ASKED how to colorize a “title post”. which you admit will do just that with custom fields – now you say the plugin only allows you to colorize a title post. Do you not see the contradiction?
Thread Starter
gioska
(@gioska)
I think only that the plugin is limited to a function, with custom field i have more customization. Do you have a php code idea to help me?
Of course it’s “limited to a function.” The function is exactly what you asked for, as does the custom field you asked about, then rejected.
I’m done – I know nothing about PHP, and you’d probably reject the idea if I did.