• Hello. I do work for a comic shop and am trying to learn WordPress to help them spice up their web presence. I’ve learned a little but still have a long way to go.

    At any rate, they have obtained a new feature from Comixology (a website that sells comics online) that enables them to publish a shipping list on a website. The code starts off with “javascript” then essentially is a link to a page with the shipping list. When we try to paste this embed code into WordPress, it just posts a blank page.

    Is there something special we need to do to enable javascript on the WordPress platform or is this completely not doable? If anyone with any knowledge on this topic could please offer some insight, I would greatly appreciate it. If we can get this to work, the website will be much more informative and be able to link to a place to purchase digital copies of each issue. Thank you very much.

    If needed I can post the specific code, and will try to do so here tomorrow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Where are you placing the code?

    Also use pastebin if the code is very large.

    Thread Starter solomongrumpy

    (@solomongrumpy)

    Okay, after some messing around on the Comixology website and reading its FAQ and the WordPress FAQ, we were able to get javascript to display on the page, so this issue is ALMOST resolved.

    MickeyRoush: We were placing the code at the bottom.

    Here is the code:

    <script type="text/javascript">
    var cols = 5;
    </script>
    <script type="text/javascript" src="https://www.comixology.com/filez/retailers/2868/current.js"></script>

    So it works now, KINDA, and here’s the problem. We were able to get last week’s shipping list up no problem using this code. Then this week, when we tried to update the site using this week’s code (basically the same code with a different date in the link) it would not work for some reason. We tried this Thursday and Friday and it did not work, simply copying & pasting the same code with the different link for this week’s stuff. However, when we tried today on Sunday, it worked fine.

    So I’m wondering if there’s any wordpress reason for this happening or if it may be a comixology issue about posting early. If anyone has any idea or suggestions post here. Like I said, this issue is almost resolved, so I just want to exclude any possibility that the problem is with wordpress and something that can be fixed in the future. Any input is appreciated.

    Thanks so much everyone!

    Thread Starter solomongrumpy

    (@solomongrumpy)

    Oh also, MickeyRoush: what is pastebin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Javascript embedding in WordPress’ is closed to new replies.