Dynamic Countdown with ACF and Elementor

Mô tả

This is a simple plugin that fixes one of the main issues with the Elementor Countdown Widget; the inability to dynamically set the due date with an ACF Field.

The plugin takes an ACF datetime field and makes it the due date for the Elementor Countdown Widget.

How to use:

  • Create a Date Time Picker field in ACF (Advanced Custom Fields)
  • Make sure the output of the datetime field is set to: Y-m-d H:i:s (it’s the last option before “Custom”)
  • Copy the Field Name of the field you just created.
  • Paste the Field Name of the field you just created into the input in the DCEA Settings Page.
  • Click on “Save Changes”.
  • Add an Elementor Countdown Widget to your page.
  • The due date is now set from the ACF Field instead of the option in the Elementor Builder interface.

Note: This plugin only affects the rendering of the countdown widget on the front end. It does not add dynamic date support to the countdown widget in the Elementor builder interface.

Ảnh màn hình

Cài đặt

How to install the plugin and get it working.

  1. Upload the ‘elementor-dynamic-countdown-with-acf’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. A new Admin Menu will appear called ‘DCEA Settings’.
  4. Follow instructions on the Settings page.

Hỏi đáp

Will this plugin add the option to dynamically set the due date in the Elementor Builder Interface?

No. This plugin only affects the rendering of the countdown widget on the front end using hooks.
All this plugin does is allow you to control the due date of the Elementor Countdown Widget using an ACF Field in your post or page.

Will performance be affected?

No. This is a simple plugin that shouldn’t affect your site’s speed.

Đánh giá

Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Dynamic Countdown with ACF and Elementor” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0.2

  • Hopefuly fixed the issue.

1.0.1

  • Fixed issue where plugin was not working. Sorry about that.

1.0

  • Initial Release.