Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#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>";