Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load CSS and JS files only for Docs #104

Closed
psahalot opened this issue May 6, 2020 · 3 comments
Closed

Load CSS and JS files only for Docs #104

psahalot opened this issue May 6, 2020 · 3 comments

Comments

@psahalot
Copy link

psahalot commented May 6, 2020

Hi @tareq1988

I noticed that the plugin currently loads CSS and JS files globally.
This can be restricted to docs archive and singular docs templates.

@tareq1988
Copy link
Member

I've been meaning to add this feature for a while, will add it soon :)

tareq1988 added a commit that referenced this issue Jun 5, 2020
 * **New:** Load CSS and JS files only for Docs. Fixes [#104](#104)
 * **Fix:** Added missing textdomains. Fixes [#105](#105)
 * **Fix:** Fix search API. Was breaking due to namespace issue with WP_Query. Fixes [#108](#108)
@psahalot
Copy link
Author

Thanks for including this one in the latest update! :)

@tareq1988
Copy link
Member

My pleasure :)

star219 pushed a commit to star219/wpdocs_plugin that referenced this issue Dec 25, 2022
 * **New:** Load CSS and JS files only for Docs. Fixes [#104](weDevsOfficial/wedocs-plugin#104)
 * **Fix:** Added missing textdomains. Fixes [#105](weDevsOfficial/wedocs-plugin#105)
 * **Fix:** Fix search API. Was breaking due to namespace issue with WP_Query. Fixes [#108](weDevsOfficial/wedocs-plugin#108)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants