ACF Field – v2.0-Dev Update
-
Hi,
This is a follow-up to – https://wordpress.org/support/topic/acf-value-in-tablepress-filter/#post-15949240
I did reply there but didn’t see to bump up so wasn’t sure if you would see it.The above solution worked however the structure of the site wasn’t ideal so I have changed it so the pages in question are now in a catalogue plugin.
Since doing this though, the table data doesn’t appear to be pulling through so suspect it is to do with the nested shortcodes again as this time, in order for the product catalogue page to display the information I needed to use the Elementor shortcode which meant another shortcode being nested.
I tested this theory by installing the new 2.0 Dev plugin and displaying the table via the block and the table shows, making me think it is shortcode related.
I am happy to try and switch to using the block editor for this however wondered if you had documentation on the 2.0 “Configuration parameters” as I need to be able to achieve the equivalent of this…
[table-acf id=3 filter="Screen Repair" acf_field=model_code filter_columns="6-7" row_order=sort row_order_sort_column=G row_order_sort_direction=ASC filter_full_cell_match=true /]Is this possible in 2.0 using the block parameters, if yes, what is the format to enter them?
It looks like it should be something like this
filter="Screen Repair" acf_field="model_code" filter_columns="6-7" row_order="sort" row_order_sort_column="G" row_order_sort_direction="ASC" filter_full_cell_match="true"However it doesn’t appear to work, im not sure if its to do with the ACF/function in the above post?
Here is the test page with it on – https://wordpress-482191-2563283.cloudwaysapps.com/compare-repair/repair-comparison/samsung-s22-repair/
I’d expect to only see 2 results (ignore the horrible layout, im figuring that out).
Thanks,
Jamie
The topic ‘ACF Field – v2.0-Dev Update’ is closed to new replies.