Title: Doesn&#039;t work for recent wordpress
Last modified: September 3, 2016

---

# Doesn't work for recent wordpress

 *  [peterb0yd](https://wordpress.org/support/users/peterb0yd/)
 * (@peterb0yd)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-recent-wordpress/)
 * ********* FOUND OUT HOW TO DO THIS WITHOUT A PLUGIN – VERY EASY *******
 * 1. Upload p5.min.js file to media library.
    2. Upload sketch file to media library.
   3. Grab “attachment page” URL from each file upload 4. In post or page, use these
   two scripts:
 *     ```
       <script type="text/javascript" src="#link_to_p5.min.js"> </script>
       <script type="text/javascript" src="#link_to_sketch.js"> </script>
       ```
   
 * 5. That’s it. Very simple. No need for plugins.
 * ****************************************************************
 * Followed the instructions very carefully but the sketch does not show. This is
   the test sketch I’m using.
 *     ```
       function setup() {
         createCanvas(640, 480);
         background(250, 0, 0);
       }
   
       function draw() {
         fill(255, 0, 0);
         ellipse(mouseX, mouseY, 80, 80);
       }
       ```
   
 * Works perfectly when opened as local file.
 * Please update your plugin and I will change my review to 5 stars!

The topic ‘Doesn't work for recent wordpress’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/p5-embedder.svg)
 * [p5.js Embedder](https://wordpress.org/plugins/p5-embedder/)
 * [Support Threads](https://wordpress.org/support/plugin/p5-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/p5-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/p5-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/p5-embedder/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [peterb0yd](https://wordpress.org/support/users/peterb0yd/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-recent-wordpress/)