Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #720036

    Hi there,

    I would like to use the content elements Animated Counter and Progress Bar and would like to provide a shortcode for the values, so that the counters and the progress bar update dynamically. T

    The use case is a fundraising page to see, how many donations have been submitted (counter) by how many donors (counter) and also to see the progress for the fundraising target (progress bar).

    The problem is that it is not working, if i place a shortcode from a different plugin, that updates the mentioned values above dynamically. So users would see the actual status after each page load. The value is somehow loaded, but the animations don’t work, which looks like a JavaScript thing – not sure of the values need to be available for JavaScript first thing and if this is the problem.

    My questions:
    1. Can I generally place a shortcode into the ALB shortcodes?
    2. Can the animations then still work? If, yes, how?
    3. Do you have a quick workaround for my use case? Would it be custom code in a page template and updating the JavaScript variables via a do_shortcode or even MySQL call?

    I don’t expect the full PHP code from you, but rather how you would tackle it, as you know the theme by heart, so that I can then try to fix it on my own or get further help.

    Thanks in advance!

    Best regards,
    Daniel

    #721471

    Hey Daniel,

    Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    However, to be able to work with Shortcodes at first you need to do this: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Best regards,
    Andy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.