Changeset 3472143
- Timestamp:
- 03/01/2026 04:05:02 PM (8 days ago)
- Location:
- repeaters-relationships-connector-acf-elementor
- Files:
-
- 44 added
- 2 deleted
- 8 edited
- 1 copied
-
tags/1.2.0 (copied) (copied from repeaters-relationships-connector-acf-elementor/trunk)
-
tags/1.2.0/.gitattributes (added)
-
tags/1.2.0/.github (added)
-
tags/1.2.0/.github/workflows (added)
-
tags/1.2.0/.github/workflows/main.yml (added)
-
tags/1.2.0/.gitignore (added)
-
tags/1.2.0/.wordpress-org (added)
-
tags/1.2.0/.wordpress-org/banner-1544x500.jpg (added)
-
tags/1.2.0/.wordpress-org/banner-772x250.jpg (added)
-
tags/1.2.0/.wordpress-org/icon-128x128.png (added)
-
tags/1.2.0/.wordpress-org/icon-256x256.png (added)
-
tags/1.2.0/.wordpress-org/screenshot-1.png (added)
-
tags/1.2.0/.wordpress-org/screenshot-2.png (added)
-
tags/1.2.0/.wordpress-org/screenshot-3.png (added)
-
tags/1.2.0/.wordpress-org/screenshot-4.png (added)
-
tags/1.2.0/.wordpress-org/screenshot-5.png (added)
-
tags/1.2.0/AGENTS.md (added)
-
tags/1.2.0/CLAUDE.md (added)
-
tags/1.2.0/CONTEXT.md (deleted)
-
tags/1.2.0/docs (added)
-
tags/1.2.0/docs/architecture.md (added)
-
tags/1.2.0/docs/dynamic-tags.md (added)
-
tags/1.2.0/docs/query-execution.md (added)
-
tags/1.2.0/docs/query-source.md (added)
-
tags/1.2.0/includes/modify_query_results.php (modified) (2 diffs)
-
tags/1.2.0/includes/register_controls.php (modified) (1 diff)
-
tags/1.2.0/readme.txt (modified) (4 diffs)
-
tags/1.2.0/repeaters-relationships-connector-acf-elementor.php (modified) (1 diff)
-
trunk/.gitattributes (added)
-
trunk/.github (added)
-
trunk/.github/workflows (added)
-
trunk/.github/workflows/main.yml (added)
-
trunk/.gitignore (added)
-
trunk/.wordpress-org (added)
-
trunk/.wordpress-org/banner-1544x500.jpg (added)
-
trunk/.wordpress-org/banner-772x250.jpg (added)
-
trunk/.wordpress-org/icon-128x128.png (added)
-
trunk/.wordpress-org/icon-256x256.png (added)
-
trunk/.wordpress-org/screenshot-1.png (added)
-
trunk/.wordpress-org/screenshot-2.png (added)
-
trunk/.wordpress-org/screenshot-3.png (added)
-
trunk/.wordpress-org/screenshot-4.png (added)
-
trunk/.wordpress-org/screenshot-5.png (added)
-
trunk/AGENTS.md (added)
-
trunk/CLAUDE.md (added)
-
trunk/CONTEXT.md (deleted)
-
trunk/docs (added)
-
trunk/docs/architecture.md (added)
-
trunk/docs/dynamic-tags.md (added)
-
trunk/docs/query-execution.md (added)
-
trunk/docs/query-source.md (added)
-
trunk/includes/modify_query_results.php (modified) (2 diffs)
-
trunk/includes/register_controls.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/repeaters-relationships-connector-acf-elementor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
repeaters-relationships-connector-acf-elementor/tags/1.2.0/includes/modify_query_results.php
r3457626 r3472143 5 5 if ( ! \defined( 'ABSPATH' ) ) { 6 6 exit; // Exit if accessed directly. 7 } 8 9 /** 10 * Resolves the current context ID for ACF field lookups. 11 * 12 * On taxonomy archives, returns the ACF-formatted '{taxonomy}_{term_id}' string. 13 * On singular posts/pages, falls back to get_the_ID(). 14 * 15 * @return int|string The post ID or ACF-formatted term identifier. 16 */ 17 function resolve_current_context_id() { 18 $queried_object = \get_queried_object(); 19 if ( $queried_object instanceof \WP_Term ) { 20 return $queried_object->taxonomy . '_' . $queried_object->term_id; 21 } 22 if ( $queried_object instanceof \WP_User ) { 23 return 'user_' . $queried_object->ID; 24 } 25 return \get_the_ID(); 7 26 } 8 27 … … 17 36 $data_source = $widget->get_settings( 'post_query_acf_data_source' ); 18 37 if ( empty( $data_source ) || 'current_post' === $data_source ) { 19 return \get_the_ID();38 return resolve_current_context_id(); 20 39 } 21 40 return $data_source; -
repeaters-relationships-connector-acf-elementor/tags/1.2.0/includes/register_controls.php
r3457626 r3472143 119 119 private function get_acf_data_source_options() { 120 120 $options = [ 121 'current_post' => \__( 'Current Post/Page ', 'repeaters-relationships-connector-acf-elementor' ),121 'current_post' => \__( 'Current Post/Page/Term/Author', 'repeaters-relationships-connector-acf-elementor' ), 122 122 ]; 123 123 if ( \function_exists( 'acf_get_options_pages' ) ) { -
repeaters-relationships-connector-acf-elementor/tags/1.2.0/readme.txt
r3458317 r3472143 3 3 Requires at least: 5.8 4 4 Tested up to: 6.8 5 Stable tag: 1. 1.15 Stable tag: 1.2.0 6 6 Requires PHP: 7.4 7 7 License: GPLv2 or later … … 21 21 * **Repeater Sub-Field Tag:** A dedicated dynamic tag to easily pull and display data (text, images, etc.) from any sub-field within your repeater. 22 22 * **Relationship Sub-Field Tag:** A dynamic tag to display data from the related posts, such as the post title, content, featured image, and permalink. 23 * **Taxonomy Archive Support:** Use ACF Repeater and Relationship fields on category, tag, and custom taxonomy archive templates. 24 * **Author Archive Support:** Use ACF Repeater and Relationship fields on author archive templates. 23 25 24 26 == Requirements == … … 68 70 Yes! When you select "ACF Repeater" or "ACF Relationship" as your source, a "Data Source" dropdown appears. It lists "Current Post/Page" (the default) along with any registered ACF Options Pages. Select the options page that contains your field, then choose the field name as usual. 69 71 72 **Does this work on category/taxonomy archive templates?** 73 Yes! As of version 1.2.0, the plugin automatically detects taxonomy archive contexts (categories, tags, and custom taxonomies). When you place a Loop Grid on an archive template with an ACF Repeater or Relationship source set to "Current Post/Page/Term", the plugin will pull field data from the current taxonomy term. 74 75 **Does this work on author archive templates?** 76 Yes! As of version 1.2.0, the plugin automatically detects author archive contexts. When you place a Loop Grid on an archive template with an ACF Repeater or Relationship source set to "Current Post/Page/Term/Author", the plugin will pull field data from the current author. 77 70 78 **Why isn't my ACF field showing up in the dropdown?** 71 79 The dropdowns in the Loop Grid query settings only show fields that are available on the specific post or page you are currently editing with Elementor. Ensure that the post has a value saved for the ACF field you are trying to select. … … 81 89 == Changelog == 82 90 91 = 1.2.0 = 92 * Added taxonomy archive template support. ACF Repeater and Relationship fields now work on category, tag, and custom taxonomy archive templates. 93 * Added author archive template support. ACF Repeater and Relationship fields now work on author archive templates. 94 83 95 = 1.1.1 = 84 96 * Bumping version to get it to show up in the WordPress plugin directory. -
repeaters-relationships-connector-acf-elementor/tags/1.2.0/repeaters-relationships-connector-acf-elementor.php
r3458317 r3472143 3 3 * Plugin Name:Repeaters & Relationships Connector with ACF for Elementor 4 4 * Description: Allows Elementor Loop Grids to use ACF Repeaters and Relationships as a data source. 5 * Version: 1. 1.15 * Version: 1.2.0 6 6 * Author: Solid Digital 7 7 * Author URI: https://www.soliddigital.com -
repeaters-relationships-connector-acf-elementor/trunk/includes/modify_query_results.php
r3457626 r3472143 5 5 if ( ! \defined( 'ABSPATH' ) ) { 6 6 exit; // Exit if accessed directly. 7 } 8 9 /** 10 * Resolves the current context ID for ACF field lookups. 11 * 12 * On taxonomy archives, returns the ACF-formatted '{taxonomy}_{term_id}' string. 13 * On singular posts/pages, falls back to get_the_ID(). 14 * 15 * @return int|string The post ID or ACF-formatted term identifier. 16 */ 17 function resolve_current_context_id() { 18 $queried_object = \get_queried_object(); 19 if ( $queried_object instanceof \WP_Term ) { 20 return $queried_object->taxonomy . '_' . $queried_object->term_id; 21 } 22 if ( $queried_object instanceof \WP_User ) { 23 return 'user_' . $queried_object->ID; 24 } 25 return \get_the_ID(); 7 26 } 8 27 … … 17 36 $data_source = $widget->get_settings( 'post_query_acf_data_source' ); 18 37 if ( empty( $data_source ) || 'current_post' === $data_source ) { 19 return \get_the_ID();38 return resolve_current_context_id(); 20 39 } 21 40 return $data_source; -
repeaters-relationships-connector-acf-elementor/trunk/includes/register_controls.php
r3457626 r3472143 119 119 private function get_acf_data_source_options() { 120 120 $options = [ 121 'current_post' => \__( 'Current Post/Page ', 'repeaters-relationships-connector-acf-elementor' ),121 'current_post' => \__( 'Current Post/Page/Term/Author', 'repeaters-relationships-connector-acf-elementor' ), 122 122 ]; 123 123 if ( \function_exists( 'acf_get_options_pages' ) ) { -
repeaters-relationships-connector-acf-elementor/trunk/readme.txt
r3458317 r3472143 3 3 Requires at least: 5.8 4 4 Tested up to: 6.8 5 Stable tag: 1. 1.15 Stable tag: 1.2.0 6 6 Requires PHP: 7.4 7 7 License: GPLv2 or later … … 21 21 * **Repeater Sub-Field Tag:** A dedicated dynamic tag to easily pull and display data (text, images, etc.) from any sub-field within your repeater. 22 22 * **Relationship Sub-Field Tag:** A dynamic tag to display data from the related posts, such as the post title, content, featured image, and permalink. 23 * **Taxonomy Archive Support:** Use ACF Repeater and Relationship fields on category, tag, and custom taxonomy archive templates. 24 * **Author Archive Support:** Use ACF Repeater and Relationship fields on author archive templates. 23 25 24 26 == Requirements == … … 68 70 Yes! When you select "ACF Repeater" or "ACF Relationship" as your source, a "Data Source" dropdown appears. It lists "Current Post/Page" (the default) along with any registered ACF Options Pages. Select the options page that contains your field, then choose the field name as usual. 69 71 72 **Does this work on category/taxonomy archive templates?** 73 Yes! As of version 1.2.0, the plugin automatically detects taxonomy archive contexts (categories, tags, and custom taxonomies). When you place a Loop Grid on an archive template with an ACF Repeater or Relationship source set to "Current Post/Page/Term", the plugin will pull field data from the current taxonomy term. 74 75 **Does this work on author archive templates?** 76 Yes! As of version 1.2.0, the plugin automatically detects author archive contexts. When you place a Loop Grid on an archive template with an ACF Repeater or Relationship source set to "Current Post/Page/Term/Author", the plugin will pull field data from the current author. 77 70 78 **Why isn't my ACF field showing up in the dropdown?** 71 79 The dropdowns in the Loop Grid query settings only show fields that are available on the specific post or page you are currently editing with Elementor. Ensure that the post has a value saved for the ACF field you are trying to select. … … 81 89 == Changelog == 82 90 91 = 1.2.0 = 92 * Added taxonomy archive template support. ACF Repeater and Relationship fields now work on category, tag, and custom taxonomy archive templates. 93 * Added author archive template support. ACF Repeater and Relationship fields now work on author archive templates. 94 83 95 = 1.1.1 = 84 96 * Bumping version to get it to show up in the WordPress plugin directory. -
repeaters-relationships-connector-acf-elementor/trunk/repeaters-relationships-connector-acf-elementor.php
r3458317 r3472143 3 3 * Plugin Name:Repeaters & Relationships Connector with ACF for Elementor 4 4 * Description: Allows Elementor Loop Grids to use ACF Repeaters and Relationships as a data source. 5 * Version: 1. 1.15 * Version: 1.2.0 6 6 * Author: Solid Digital 7 7 * Author URI: https://www.soliddigital.com
Note: See TracChangeset
for help on using the changeset viewer.