musicalsaw
Posts: 2
Joined: Mon May 11, 2015 6:32 pm

Implementing HighSlide with WordPress

I wanted to implement HighSlide-with-HTML in my WordPress page. Here's how I did it.
I installed the plugin: "AddFunc Head & Footer Code" to allow me to access the <head> section of the page. I chose this plugin as it allows me to tailor the <head> section differently of each page.
I added the HighSlide css and js to the head.

Next, I wanted to insert the HighSlide body in my page but had problems :cry: WordPress was adding <p> tags around the tag and all I could get to show up in the popup was the title.

So, I installed another plugin: "Insert PHP Code Snippet" which lets you add php code. Now, instead of adding the HighSlide body, I inserted the php code: echo "....HighSlide Body...";

And this kept those <p> tags from being inserted.
HighSlide worked now!
daniel_s
Posts: 753
Joined: Fri Sep 01, 2017 11:01 am

Re: Implementing HighSlide with WordPress

hi musicalsaw,

Thank you for your solution, appreciate your good work, and hope that someone will get it.

Best regards!
Daniel Studencki,
Highcharts Developer

Return to “Highslide JS Usage”