I want to build a list of partners. At the moment, I have tried with the "links" function, the problem is that I can't use html tags on the description field. Therefore I'm looking for another solution. Anyone has a suggestion?
|
|
As NW Tech commented you should use a custom post type for it. Check codex for register_post_type. You could try something like this:
With that piece of code in functions.php you will be able to add partners as you add posts or pages. You dont explain where do you want to show the results. You can use custom post type templates or a custom query anywhere in your files to show them. |
|||
|
|
|
As promised, here's the hard-coded solution I used in the past. However, as a caveat I would have to say I definitely prefer the custom post type solution. If I get a chance, I will probably go back and implement it myself.
|
|||
|
|
|
Although it's being kind of "deprecated" in favor of Custom Post Types ( The following code allows HTML tags in the
It can be pasted in the theme's This plugin may also be of interest, I did it based on a WordPress Answers topic: Featured Link Image. |
||||
|
|