Support » Plugin: CC Child Pages » page_ids not working

  • I’m trying to use page_ids to limit what’s shown in the list. What I really want is a page with two lists: one with a set of specific posts and another with everything but those posts as a means of having some sticky pages that always show at the top of the list.

    When I set page_ids, the plugin still displays the entire list. The exclude property is working as it shoould.

    I’m on WP 5.5.1 multisite.

Viewing 1 replies (of 1 total)
  • Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    I have just checked, and the page_ids option is working fine on WP 5.5.1 multisite … however, I think the issue is that I have omitted to put in the documentation that the option is only available when list is not set to true (in the same way as specifying multiple IDs in the id parameter works).

    The reason for this is the way the WordPress core function wp_list_pages (used in the underlying code) works, and the fact that the whole plugin is based around the idea of hierarchical posts (it would be quite difficult to display arbitrary data in a hierarchical manner).

    This is something that I may look at in future releases, but since it would be quite a lot of work it is something that I am not currently planning.

    • This reply was modified 10 months, 1 week ago by caterhamcomputing. Reason: clarification
Viewing 1 replies (of 1 total)
  • The topic ‘page_ids not working’ is closed to new replies.