webvitalii / page-list

WordPress plugin which provides shortcodes to show list of pages.
https://wordpress.org/plugins/page-list/
12 stars 8 forks source link

pagelist_ext show first image from template #9

Open baby-gnu opened 1 year ago

baby-gnu commented 1 year ago

Hello.

To reproduce the problem:

  1. create a minimal page template, called SUB_PAGES with an image above the Post Ttitle (all pages using that template use the same image) and only Post content block below the title
  2. create a new page, called TOP_PAGE listing all subpages with [pagelist_ext show_image="1" show_first_image="1"]
  3. create a subpage of TOP_PAGE using the SUB_PAGES model
    1. set the title to SUB_PAGE_1
    2. add a paragraph with This is a minimal text

On the web site, the TOP_PAGE rendering does not show the sub page first image defined from the template.

I'm using: