• there are only pages on my website. There are no posts. So when I open a page in the browser, it should show me the subpages of that page. Is there a fix or setting available in this way?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @zelihacanderengul

    ALM is really built for posts, but you can load pages by changing the post_type parameter.

    [ajax_load_more post_type="page"]

    Hope that helps.

    Thread Starter Zeliha Canderengul

    (@zelihacanderengul)

    the shortcut you forwarded definitely lists the pages. However, I expect a more specific listing.

    When I enter a page on my page, I want it to list only the sub-pages of that page.

    For example, imagine that my website has 3 main pages like Images, Videos, News…. When I go to a video related subpage, only video pages should appear under it. The code you sent also shows the images and news pages.

    Plugin Author Darren Cooney

    (@dcooney)

    @zelihacanderengul

    However, I expect a more specific listing.
    With ALM, you can essentially build your own query so its would be possible.

    [ajax_load_more post_type="page" custom_args="post_parent:10"]

    10 would be the post ID to retrieve child pages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.