# Custom post field - summary list from all posts

**URL:** <https://www.phphelp.com/t/custom-post-field-summary-list-from-all-posts/32436>\
**Category:** Help with WordPress\
**Created:** [August 25, 2020, 3:45am UTC](https://www.phphelp.com/t/custom-post-field-summary-list-from-all-posts/32436 "2020-08-25T03:45:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixanne](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/ad7895/32.png) [@pixanne](https://www.phphelp.com/u/pixanne)\
**Post date:** [August 25, 2020, 3:45am UTC](https://www.phphelp.com/t/custom-post-field-summary-list-from-all-posts/32436/1 "2020-08-25T03:45:55Z")

</div>

I have a custom post type where in admin panel there is a field where text and URL for a resource can be entered. Multiple can be entered.. The code looks like this:

  
\<?php if( have\_rows('additional\_resources') ): while ( have\_rows('additional\_resources') ) : the\_row(); ?\>  
- \<?php the\_sub\_field('url'); ?\>
  
\<?php endwhile; endif; ?\>  

  
Visually looks like this:  
 ![additionalresources-input](https://www.phphelp.com/uploads/default/original/2X/7/7a183687b35e31edc1c77c68c4365fa1f1fe2c45.jpeg)

So now we want to have a separate Resources Summary Page that will show a summary list of ALL the resources that were entered from all the custom posts.

I have the following code that will give me a list of all the post titles, but how do I include a list of all the resource links from the ‘additional\_resources’  
\<?php $args = array( 'post\_type' =\> 'beginning-video', 'posts\_per\_page' =\> -1, 'orderby' =\> 'title', 'order' =\> 'asc', 'paged' =\> ( get\_query\_var('paged') ? get\_query\_var('paged') : 1), ); query\_posts($args); while(have\_posts()): the\_post(); ?\>

\<?php the\_title(); ?\>

  
\<?php endwhile; ?\>

Thanks for your help! Newbie here…
