• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Created a simple plugin need help exporting

mmoore5553

Well-known member
#1
Okay i created a plugin to pull into a php file. I am trying to also add some css to the header but unsure how to create it where i do not have to do it manually. I thought about using a header hook but I do not understand how to do the structure or file to do it.Below is the bottom which i want to put into the header hook

Do i just make a php template with it and then hookname = header ? What would the folder structure be or do i just make a listener php ? Sorry I am learning this all

Then once i get it all done how do i export it to share ?

example ..

<link rel="stylesheet" media="screen" href="style.css"/>
<!--[if lte IE 7]>
<link rel="stylesheet" media="screen" href="styleIE7.css" />
<![endif]-->
<script type="text/javascript" src="slider/js/javascript.js"></script>
<!--[if lte IE 7]>
<script type="text/javascript" src="slider/js/javascript-ie7.js"></script>