[Resuelto] Want to remove hard-coded style and script
This support ticket is created hace 6 años, 3 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
#1 and #2 are in /wp-content/plugins/wp-views/embedded/inc/wpv.class.php
#3 is from /wp-content/plugins/wp-views/embedded/inc/views-templates/wpv-template.class.php
I get the Content Template programmatically but the Content Template is assigned to this custom post type... just not auto-displayed. It has no styling/scripts loaded along with it (just basic HTML) so unsure why anything extra like this output would 1) be appearing and 2) be necessary... therefore, I want it gone.
The reason why it is appearing is because the css is loading dynamically.
Some code is needed to check if there is actual css to load. If no css is found the script loads nothing, however if css is found then it will load the css file.
It is actually a core functionality that is needed for the content template.