ACF Field – v2.0-Dev Update

[ad_1]

As im having issues with tablet formatting it would be good to continue using the elementor shortcode if there is a fix for that?

The page is now back to using this shortcode as per the original link above

[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 /]

So essentially its a product catalogue page, using an elementor shortcode and within the elementor template is the above tablepress shortcode

Hi,

thanks for your post, and sorry for the trouble.

I’m not really sure how I can help here, I’m afraid. Nothing has changed in regards to the Shortcode handling in TablePress, so the cause for this must be something else.

Now, your derivation of how the “Configuration parameters” are added is correct. It’s exactly the same stuff that can be inside a Shortcode, between the [table id=123 and /] parts.

However, TablePress only brings a block that does the same as the original [table ... /] Shortcode — so that could be replaced by the block. You are however using that custom wrapper Shortcode [table-acf ... /]. For that, there’s no block, so you will have to continue using the [table-acf ... /] Shortcode.

I can only really recommend to go step by step here, like first using a regular [table ... /] Shortcode, then something with a static filter term, then checking if that ACF Shortcode works on its own, etc.
For seeing all parameters that are actually applied, you can add the shortcode_debug=true parameter to the Shortcode as well. Below your table, you will then get a list of all applied settings, which is useful for checking what filter value was used, etc.

Regards,
Tobias

Ah, got the shortcode working now… it was nothing to do with Tablepress sorry.

ACF was set to show the custom field for “Products” which is what allowed me to set the customer values however on the front end they were loaded on a catalogue post type, not product post type so just needed to tell ACF to display on catalogues.

Thank you for your response, support is much appreciated.

Also, I’m using Version 2.0 beta on my test site, the new editor looks really good.

Regards,
Jamie

Hi,

awesome! Great to hear that you found the cause. Yes, custom post types can be a hassle sometimes…

And even better to hear that you like the new editor in TablePress 2.0 🙂 Thanks for testing the beta!

Best wishes,
Tobias

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer