• I am thinking of using this plugin – I want to display custom comment count field of a child post (there will only be one child) on the parent post whenever it is displayed.
    Probably a silly question but how do I actually specify that a post has a parent – there is no field to put this in when I create the child post – I have seen it in pages but not posts.

    https://ww.wp.xz.cn/plugins/threewp-broadcast/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    I’m not quite sure what you’re after.

    I _think_ you’re after creating a link from a child post to a parent post. It should be done the other way, using the “find unlinked children” bulk action.

    Thread Starter carosea

    (@carosea)

    When you create a page there is a ‘page attribute’ option and you can select a parent page.
    This doesn’t appear when you create a post though – I suppose I could create a custom field ‘parent_post’ and assign the name of it manually but I thought there is a way to make the functions associated with pages available to posts.
    In my set up there is only going to be one child per parent (I think).

    Plugin Author edward_plainview

    (@edward_plainview)

    The parent post attribute for pages belongs to the post type “page”, is internal to WordPress and is completely unrelated to Broadcast.

    Thread Starter carosea

    (@carosea)

    Yes I realise that but I thought that with Broadcast you specify the pages/posts that are linked for broadcasting purposes and if I can’t find out how to link the parent / child posts in the first place then how can I get Broadcast to share information across them? Sorry if I have got the wrong end of the stick and Broadcast won’t allow me to share a custom field between two ‘related’ posts?

    Plugin Author edward_plainview

    (@edward_plainview)

    To link a post:

    Edit a post
    In the Broadcast meta box, select at least one blog and click the “link” checkbox.
    Publish

    The post will be copied to the selected blog and linked, so any further changes to the post will be broadcast out to the post on the blog.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘parent child post field’ is closed to new replies.