• when creating a call to action pop up from the expansion pack under some conditions it will display the wrong content. I had made a page to have it appear in the modal. but instead a preview of a post was inserted into the modal.
    Bento 2.0.4
    Exp. pack 2.3
    call to action popup set to blog page only and intent to leave

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jaredstrategit

    (@jaredstrategit)

    additional details:
    it properly displayed other pages that i tried
    this page includes a shortcode
    I don’t remember what version the expansion pack is on it says 2.0 but i remember there being updates

    Theme Author satoristudio

    (@satoristudio)

    Hello Jared, thanks for choosing Bento! Is the page in question available online? Seeing the actual result would help me produce a more specific recommendation.

    Thread Starter jaredstrategit

    (@jaredstrategit)

    below is the initial conclusion I reached
    this issue appears to occur only when the page it should be displayed on is older than the page being referenced (i think wordpress makes a UUID for each entitiy). nevermind on that it displayed properly with some other pages that were younger than the host page.

    below is a record of what i tried and the results
    on the blog page it displays the first post.
    on the downloads page it displays the downloads page.
    on a new test page it displays the proper page.

    I created a new test page and set it to display a new pop up page. instead it displayed the page i wanted from earlier.

    I created another new test pop up page and set it to display on the same test page. this time it displayed the first test pop up page.

    I created another another new test pop up page and set it to display on the same test page. this time it displayed the page i just created properly. I reloaded it and tried again and this time it displayed the page i wanted it to display originally.

    below is the requested information
    (sorry for the confusing explanation)
    due to the weird behavior, I wonder if it is caused by a plugin conflict? I have a caching plugin installed and can provide a list of the ones I use. you can try it out at https://www.strategit.com/testing-bento in a private browsing context and make intent to leave.

    Theme Author satoristudio

    (@satoristudio)

    Thanks for the details! This is some convoluted behaviour – there doesn’t seem to be any sort of stable pattern to it, which makes me feel caching might be to blame. Could you please try fully purging all caches of your caching plugin, then turning it off (deactivating in Plugins – Installed Plugins), then testing the pages you mentioned on a new private browser session?

    Thread Starter jaredstrategit

    (@jaredstrategit)

    after clearing the cache then disabling the caching plugin and testing it worked properly.

    I tried re-enabling the caching plugin after that and it went back to displaying wrong. even though I had not changed any content since enabling the caching plugin again.

    So I guess it’s outside of your scope?

    For posterity, I was using W3 total cache

    Theme Author satoristudio

    (@satoristudio)

    This behaviour by W3TC hasn’t been reported previously, and we’ll need to look deeper into the issue to see if there might be a way to prevent this from happening on our end. There’s also a possibility that a certain specific setting in the caching plugin is causing this, not the entire plugin per se – which is another thing to check out for us (and there are quite a few settings in W3TC, as far as I remember ?? ).

    It’s unlikely that the caching plugin is somehow messing with the popup itself, since the latter is generated via PHP, not JS – by fetching the content of a specific page, which in turn is set in the Theme Options (Customizer) as a WP setting (i.e. a database entry). What can be going on is the caching plugin “remembering” previous versions of your pages (together with the popup content generated on them), so that when you change the popup settings those changes are not reflecting on the live website right away, causing general confusion.

    A possible solution comes to mind in this light: trying to set the cache expiration/auto-purge options in such a way that any back-end changes are faster to manifest themselves – or simply purging all caches after any back-end change you make. Speaking of which – I’d recommend disabling the caching plugin completely for the duration of active development, and turning it back on only after the site is in a stable version and only new content is being added. This is a standard best practice applicable not only to this particular case, but to almost any WP project, and I follow it myself as well.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CTA popup displays wrong content’ is closed to new replies.