[wp-hackers] wp-hackers Digest, Vol 91, Issue 29

Diana K. C dianakac at gmail.com
Wed Aug 15 18:11:56 UTC 2012


Thanks Anca,

I'm trying everything to see what seems more easy to use and keep. I will 
try set this data as post type by now, makes sense: in future we can convert 
those post types into users profiles someway I think.

Until now I tried taxonomy shared on post types, quite simplistic but I 
can't figure out how to display a person profile without posts added to (WP 
default is as 404), so this approach is not too good, also will need another 
script/plugin, hard to add special data around etc


WPAlchemy seems good, but found Bill Erickson' script 
(https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) 
more documented, luckily I even found an example on implementing post type 
selection in this script 
(https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress/issues/168) 
though now need to dive to set it as checkboxes instead dropdown list.


----- Original Message ----- 
From: "Anca Mosoiu" <anca at anca.tv>
To: <wp-hackers at lists.automattic.com>
Sent: Wednesday, August 15, 2012 12:21 PM
Subject: Re: [wp-hackers] wp-hackers Digest, Vol 91, Issue 29


> Hi Diana and Dwain,
>
> Dwain's suggestion is how I've been doing it - speakers (or "people") are 
> a custom
> post type, as are events (and other things).
>
> The posts2posts plugin is great for connecting them but you do need to 
> know a
> bit of PHP to pull this off.
>
> I'm using WPAlchemy (http://www.farinspace.com/wpalchemy-metabox/)
> to create custom metaboxes on the editor screen for people and events,
> which simplifies the process of editing the custom fields.
>
> Feel free to send me a personal message if you want to learn more.
>
> Here's an example of people and events in use:
>
> https://heydaybooks.com/event/reading-from-lunch-bucket-paradise/
> (This is an online bookstore where, if you click on the author's name, you
> go to see what books they've written, and can then purchase them, as
> well as the events they've spoken at)
>
> Feel free to contact me off-list if you have any additional questions.
>
> Cheers,
>
> Anca.
>
>
>> Message: 2
>> Date: Wed, 15 Aug 2012 08:33:06 +0200
>> From: Dwain Maralack <dwain.maralack at gmail.com>
>> Subject: Re: [wp-hackers] "Dealing with people" taxonomies, users or
>> links?!
>> To: wp-hackers at lists.automattic.com
>> Message-ID:
>> <CAPvkqyPxkWk-DjRUVtvA4RwZ-MBQJwCzdXzRqF8eqU7Q=_qEfg at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi Diana
>>
>> Ideally you'd want to link the two data types in some way.
>>
>> The way I see it is that speakers will not need to add content to the
>> website or administrate it. Therefore creating a custom post type for the
>> speakers will be a better option as you'll be able to add ass much
>> information and fields to the speaker custom post type as you like.
>>
>> Then use the http://wordpress.org/extend/plugins/posts-to-posts/ plugin 
>> to
>> link the two CPT's.
>>
>> Some more information can be found here:
>> http://stackoverflow.com/questions/3705882/linking-custom-post-types-in-wordpress
>>
>> Regards
>> Dwain
>>
>>
>> On Tue, Aug 14, 2012 at 9:50 PM, Diana K. C <dianakac at gmail.com> wrote:
>>
>>> I have set custom content for manage events, conferecens, files etc
>>> eveything working fine and neat, now I'm struggling with this:
>>>
>>> Events (post types) that need set speakers, while these speakears are
>>> quite the same on regular basis. There is need for a mini curriculum 
>>> with
>>> picture and text, linked in site link etc
>>>
>>> Not really sure what can be done, so I'm considering this:
>>>  a.. Set data as WP users, though I can't figure out how to link them to
>>> a post (I suppose creating a metabox for retrieve users and keep them as 
>>> a
>>> metadata, but maybe this is wrong?)
>>>  b.. "Taxonomies Extra Fields" (
>>> http://en.bainternet.info/2012/wordpress-taxonomies-extra-fields-the-easy-way)
>>> never tried this but seems suitable.
>>>  c.. Maybe a misused approach but set a Link Category and keep people
>>> there :) (not sure how could link the data to a post though)
>>>
>>> I would like to know how you are handling this data type in WP.
>>>
>>> Thanks!
>>>
>>> dianakcury.com
>>> about.me/dianakc
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers 



More information about the wp-hackers mailing list