Adding media to a page with code
-
Hi! I’m wondering if someone knows how (or if it’s possible) to add media to a page without using the “Add Media” button, but using code instead.
I need to add a row of five images to a page and center them, but for some reason I keep running into problems, and the images either spill over onto a second row or I have to make them tiny to all fit on one row. Here’s the page: https://ampedforeducation.org/about-us/. I recently used a plugin (WordPress Colorbox) that allowed me to add and center four large images in a row without any issues using code, so I’m thinking that adding images that way would help solve my problem. Here’s the page using Colorbox: https://ampedforeducation.org/home/about/who-we-are/. If I tried to add those same images with the “Add Media” button they would never fit on one row.
Let me know if any of this needs clarification!
Sarah
- The topic ‘Adding media to a page with code’ is closed to new replies.