• Resolved Marc

    (@instawatt)


    I’ve installed the plugin Resusable Text Blocks (https://wordpress.org/plugins/reusable-text-blocks/).

    It uses a shortcode to inject previously created text blocks.

    Unfortunately, the PowerPress media player and content now appears twice. Once after the text-block shortcode, and again at the end of the page.

    I have it set up to appear at the end of the page only. Using [powerpress] shortcode doesn’t help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Shawn

    (@shawnogordo)

    Please link to a page where you’re currently seeing the duplicate media players so we can take a closer look at what’s going on.

    Thread Starter Marc

    (@instawatt)

    I found that putting ‘plain=”1″‘ in the text-block shortcode fixes this (eg: [text-blocks id=”blah” plain=”1″]. Their documentation is poor, so I’m still not sure what that does. Probably means “plain html”?

    But I’ve left it in on this page so you can take a look:
    https://www.cloudbasemayhem.com/podcast-episode-2-matt-beechinor-the-glider-podcast/

    Plugin Support Shawn

    (@shawnogordo)

    The player towards the bottom of the page is most likely the one automatically inserted by PowerPress. I’m not familiar with the text-block plugin you’ve referenced, but it looks like you’ve found a solution there.

    The only thing I can think of is that the other plugin is referencing the part of the WordPress post that also contains the Podcast Episode.

    Thread Starter Marc

    (@instawatt)

    The same thing happens even if I turn off the auto-insert at end of page, and instead use the powerpress shortcode.

    Seems like your plugin might be a bit aggressive in how it injects its content.

    Just thought you’d like to know. In any case, yes I’ve found a workaround.

    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello Marc,

    We have code in PowerPress to deal with this exact issue, as Shawn noted we have 4 different ways to deal with duplicate players on a page when a theme or plugin is developed poorly. If you tried all 4 plus the default and in all sicuations you have double players, then there is a deeper issue.

    Please try a stock theme developed by WordPress, such as twentyeightteen.

    If you see double players with the stock theme, then start diagnosing the problem to see if another plugin is causing this issue.

    If you are down to just twentyeighteen theme and only the PowerPress plugin enabled and you can duplicate the duplicate player issue, then you are correct, there is an issue with PowerPress and we will fix it right away. More than likely there is a 3rd party causing the issue in combination with PowerPress, which we can also fix but we need to know what the 3rd factor is, e.g. another plugin or the theme you are using.

    Thanks,
    Angelo

    Thread Starter Marc

    (@instawatt)

    We’re using the StoryTeller theme by Graph Paper Press:
    https://graphpaperpress.com/themes/storyteller/

    I did try the four fixes for duplicates. None resolved the issue.

    Sorry but I won’t be able to debug things further like you ask. I’ve got things running smoothly with that workaround. Just sharing a potential bug, it could very well be the text-block plugin, or a combination of plugins. Thanks for your time.

    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello Marc,

    I did some testing with the Resusable Text Blocks plugin.

    If you have the player and links setup to be added to the page of each episode, it appears that the Text Blocks feature resets the current post in “the loop” (WordPress term for looping trough posts), which would cause a duplicate to appear as you noted. Because the text block is literally different content all four of our “Try to fix” options would not work.

    In other words, from my assessment how the Resusable Text Blocks plugin works, you are correct, the only option is to use the PowerPress shortcode exclusively and not to allow PowerPress to add the player and links automatically.

    If you have a contact for the Resusable Text Blocks plugins, please have them contact me at cio [at] rawvoice dot com, we would love to work with them to come up with compatibility for their plugin.

    Thanks,
    Angelo

    Thread Starter Marc

    (@instawatt)

    Thanks for looking into this! I’ll see if I can contact the developer.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Player appears twice’ is closed to new replies.