Advertisement:

Author Topic: A small Problem with osc_enqueue_style() function .  (Read 721 times)

Shafi

  • Newbie
  • *
  • Posts: 38
  • shoot only if you can kill.
A small Problem with osc_enqueue_style() function .
« on: January 14, 2016, 11:24:04 am »
When i was validating XHTML markup with https://validator.w3.org, my os class site was throwing few errors.
"end tag for "link" omitted, but OMITTAG NO was specified".

Upon checking the codes, i found the function osc_enqueue_style() is giving problem.
I would like to know where exactly these functions are located.

1. osc_enqueue_style()
2. osc_register_script()
3. osc_enqueue_script()

Is these core functions? or coming along with theme?
Can anybody help. I using modern theme.

Thank you.

terrybakshi

  • Full Member
  • ***
  • Posts: 195
Re: A small Problem with osc_enqueue_style() function .
« Reply #1 on: January 14, 2016, 11:42:30 am »
Please read this hopefully is a JS issue https://doc.osclass.org/Using_the_Enqueue_functions
« Last Edit: January 14, 2016, 11:44:11 am by terrybakshi »

Shafi

  • Newbie
  • *
  • Posts: 38
  • shoot only if you can kill.
Re: A small Problem with osc_enqueue_style() function .
« Reply #2 on: January 25, 2016, 09:13:46 am »
Hai terrybakshi,

Yeah i saw that post already . It is describing the way how to use those function to avoid multiple loading on the JS scripts.

I would like to know where these php funtions located. It must be some where in the source or refernce libraries. I am not able to find it.
If i can find the source of these function, i will be able to fix this problem.

:) cheers