• Resolved swabhavm

    (@swabhavm)


    I want to know how to limit EACH, I want to show only 3 result

    Currently using this-

    
    [pods name="organizations" limit="1" template="Organization Single"]
    
    
    [if this_organization_jobs]
    <ul>	
    	[each this_organization_jobs]
    	
    <!-- wp:heading {"level":3,"className":"parra1"} -->
    <h3 class="parra1">{@post_title}</h3>
    <!-- /wp:heading -->
    	
    <!-- wp:table -->
    <figure class="wp-block-table"><table><tbody><tr><td><strong>Post Name</strong></td><td>{@job_post_name}</td></tr><tr><td><strong>Post No</strong></td><td>{@this_organization_jobs.no_of_posts}</td></tr><tr><td><strong>Job Location</strong></td><td>{@select_state.state_short_form} {@select_state.state_full_form}{@select_state.state_alone_form}</td></tr><tr><td><strong>Last Date to Apply</strong></td><td>{@last_date}</td></tr></tbody></table></figure>
    <!-- /wp:table -->
    
    <!-- wp:paragraph {"className":"viewf"} -->
    <p class="viewf"><a href="{@permalink,esc_url}" class="rank-math-link">View Full Job Details</a></p>
    <!-- /wp:paragraph -->
    	[/each]
    </ul>
    [/if]
    • This topic was modified 4 years, 9 months ago by swabhavm.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    The each tag doesn’t have properties and thus cannot be limited. This can only be done by adding a limit to the actual field settings.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘How To Limit EACH’ is closed to new replies.