Support » Plugin: Timed Content » Content doesn’t hide

  • Resolved h3ct0r

    (@h3ct0r)


    Hi,

    Just installed your plugin works amazing but only having a struggle with getting this type of content available during “working hours”
    When I open the source of my webpage I see it’s well filled in only it shows even up totday and out of hours as it should be only visible from mo / fr (09:00 – 19:00)
    —————————————–
    Show the content on 2019-05-13 @ 09:25 until 2019-05-13 @ 18:10.
    Repeat this action every week on Monday, Tuesday, Wednesday, Thursday and Friday.
    This rule will be active until 2030-05-31.
    All times are in the Europe/Amsterdam timezone.

    ——————————————————————–

    <div id=”fb-root” class=” fb_reset”></div>[timed-content-rule id=”2934″]

    <div id=’fb-root’></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    js = d.createElement(s); js.id = id;
    js.src = ‘https://connect.facebook.net/nl_NL/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12&autoLogAppEvents=1’;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));</script>
    <div class=’fb-customerchat’
    attribution=”wordpress”
    page_id=’724028740941665′
    >
    </div> [/timed-content-rule]

    Advices are more than welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    When you open a rule in the rule editor there is a button “Show projected dates/times”. This will open a popup window with a list of days when the rule will show the content. Are the dates/times in this list correct?

    BTW: The “Tags” field is not for questions like “How to show custom script on certain times ?” – it’s for tags – single keywords which describe the topic. I replaced it with some more useful stuff

    Hi Arno,

    Thanks for your quick reply.

    When you open a rule in the rule editor there is a button “Show projected dates/times”. This will open a popup window with a list of days when the rule will show the content. Are the dates/times in this list correct?
    –> Yes they’re correct shown

    Could it be that your plugin isn’t compatible with “Facebook customer chat plugin”
    I attached a screenshot what shows: https://prnt.sc/no4097

    • This reply was modified 3 months, 1 week ago by  h3ct0r.
    Plugin Author Arno Welzel

    (@awelzel)

    I think the problem is, that “snippets” don’t execute shortcodes at all. So not only my plugin does not work there but any other shortcode won’t work either.

    If you want shortcodes to work you must put them directly into a page or post.

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