• Hi guys,

    So I’m quite new to WordPress developing and I’m trying to implement MixClouds API into this website. I’ve managed to make the images load the Mixcloud URL via custom fields in WordPress. When you click on an image, it will load the song into the MixCloud widget that is I have inserted into the function.php of the theme.

    [ redundant link removed ]

    That part works perfectly. Which took me a while, but now the part that I can’t figure out. The script for the Mixcloud Widget needs to be on the entire site. But since the script is loaded, and you want to go to another page, the widget will keep playing (which is good!!) but the page itself stays totally black, non of the pages codes will load, but the widget is still there.

    I think this has something to do with the script, and that it stop loading the page itself after the script is loaded. Can someone help?

    — MixCloud Script —

           <script src="//widget.mixcloud.com/media/js/widgetApi.js" type="text/javascript">
            </script>
            <script src="//widget.mixcloud.com/media/js/footerWidgetApi.js" async>
                 {"feed": "/itmotr-radio/"}
            </script>

    loads the URL from
    <div ... data-mixcloud-play-button="<?php echo get_post_meta($post->ID, 'mixcloud-url', true); ?>">

    • This topic was modified 4 years, 7 months ago by developboon.
    • This topic was modified 4 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I don’t think custom development like this can be supported on these community forums. You’d be best to hire a developer to help you resolve your issue.

Viewing 1 replies (of 1 total)
  • The topic ‘intervires with page loading’ is closed to new replies.