by Dongjie Xu
4.5 (11 reviews)
Panda Pods Repeater Field
Repeater fields for Pods Framework. Adding a repeatable field on pages.
Tested up to WP 6.5 (Current: 6.9)
vtrunk
Current Version vtrunk
Updated 1 year ago
Last Update on 08 Apr, 2024
Synced 6 hours ago
Last Synced on
Rank
#8,676
-7 this week
Active Installs
600+
-11%
KW Avg Position
88.5
—
No change
Downloads
25.3K
+4 today
Support Resolved
0%
—
No change
Rating
90%
Review 4.5 out of 5
4.5
(11 reviews)
Next Milestone 700
600+
700+
248
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 49 more installs to reach 700+
Rank Changes
Current
#8,676
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.5
11 reviews
Overall
90%
5
9
(82%)
4
1
(9%)
3
0
(0%)
2
0
(0%)
1
1
(9%)
Tracked Keywords
Showing 2 of 2| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| pods | 32 | — | Tag | 8 hours ago |
| repeater field | 145 | — | Tag | 8 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- trunk
- Last Updated
- Apr 08, 2024
- Requires WP
- 3.8+
- Tested Up To
- 6.5
- PHP Version
- N/A
- Author
- Dongjie Xu
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.5
- Reviews
- 11
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowFrequently Asked Questions
Common questions about Panda Pods Repeater Field
Please see the screenshots for instructions.
From Version 1.1.4, you can use pods_field(). e.g. in a single post template, pods_field( 'field_name' ) to fetch the data for the current page, otherwise use pods_field( 'pods_name', 'post_id', 'field_name' ) to fetch any data you want anywhere. To fetch data from the settings area, use pods_field( 'pods_name', false, 'field_name' ). To fetch data from the users area, use pods_field( 'user', 'user_id', 'field_name' ). You can use the filters: pandarf_pods_field_attrs( array(), $value_ukn, $row_arr, $params_arr, $pods_obj ) and pandarf_data_attrs( array(), $data_arr, $parent_pod_name ) to alter the repeater data returned from pods_field(). From Version 1.1.6, if the field type is "file", it will return the file ids, then use WordPress APIs like get_attached_file(), wp_get_attachment_image_src() etc to get the file details. Relation types of 'user', 'post type', 'pod' and 'media' will now return the saved ID. You can also use this API to fetch data: pandarf_items_fn( $fields_arr, $attrs, $show_query ). Please see the Screenshots section for how to find ids. $fields_arr search repeater field table array( 'id' => '', // row id 'name' => '', // the common name field used by pods 'child_pod_name' => '', // repeater table name 'parent_pod_id' => '',// main table pod id 'parent_pod_post_id' => '', // main table post id 'parent_pod_field_id' => '', // main table pod Panda Pod Repeater Field id ) $attrs for some basic mySQL commands (Optional) array( 'where' => '', // exter where, expected to be escaped 'order' => 'ASC', 'order_by' => 'pandarf_order', 'group_by' => '', 'start' => 0, 'limit' => 0, 'count_only' => false, // if true, it will return the amount of rows in an array. 'add_tb_prefix' => true, // add $table_prefix to the table name. Default to ture ) $show_query If set to true, it will print out the sql command. For debugging purpose. Default to false. An example of basic usage. IDs from the Screenshots section: get_pandarf_items( array( 'child_pod_name' => 'comic_item', 'parent_pod_id' => 2273, 'parent_pod_post_id' => 2275, 'parent_pod_field_id' => 2274 ) ); or pandarf_items_fn before v1.4.11 It will return the items attached to the post from Comic Contents.
You can use this API to insert data: pandarf_insert( $fields_arr, $prf_arr, $show_query ). Please see the screenshots for how to find ids. $fields_arr extra fields other than panda repeater fields to insert: array( 'field_name' => '', 'field_name' => '' ... ... ) $prf_arr the default repeater fields array( 'child_pod_name' => '', // The name of the table for saving repeater field items. 'parent_pod_id' => '', // main table pod id 'parent_pod_post_id' => '', // main table post id 'parent_pod_field_id' => '', // main table Panda Pods Pod Repeater Field id 'user_id' => 0 // The author id 'add_tb_prefix' => true, // add $table_prefix to the table name. Default to ture ) $show_query If set to true, it will print out the sql command. For debugging purpose. Default to false. This API will return the wpdb inserted ID if successful, or false on failure. An example of basic usage. IDs from the Screenshots section: $id_int = pandarf_insert( array( 'name' => "hello panda" ), array( 'child_pod_name' => 'comic_item', 'parent_pod_id' => 2273, 'parent_pod_post_id' => 2275, 'parent_pod_field_id' => 2274, 'user_id' => $current_user->ID ) ); /** * The repeater field is only for logged in users with edit_posts capability * If you want it to be available for the frontend users, you can use this filter * * @param boolean $is_allowed allow the form to be displayed * @param array $get_arr variables from $_GET * @return boolean still allow or not */ function pprf_allow( $is_allowed, $get_arr ){ $pod_obj = pods('your_pod_slug'); if( $get_arr['podid'] == $pod_obj->pod_id ){ $is_allowed = true; } return $is_allowed; }
Add this code to your functions.php add_action( 'wp_enqueue_scripts', 'dequeue_scripts_and_styles', 11 ); function dequeue_scripts_and_styles() { wp_dequeue_script( 'panda-pods-repeater-scripts' ); wp_dequeue_style( 'panda-pods-repeater-general-styles' ); wp_dequeue_style( 'panda-pods-repeater-styles' ); }