Home › Forums › Back End › Where do i find the means to trim this stuff › Re: Where do i find the means to trim this stuff
June 5, 2013 at 3:51 am
#137692
JohnMotylJr
Participant
Yeah, MVC style. The server side code would load a script tag into the page dynamically through a function in which controls each part (script open tag | type attribute | sec | end script tag).
Since WordPress takes control of loading stuff like that, in Kirby can I just echo the script? Something simple like this:
echo "<script src='" . $src . "'></script>";