Περιγραφή
Properly and safely add specific Javascript and CSS stylesheets to single posts, pages, and custom post types.
Features:
- Dynamic URLs with
%HOME_URL%
,%SITE_URL%
, and%THEME_URL%
variables - Script dependency support as well as script duplication checking
- The option to load scripts in either the header and footer
- Attach scripts to posts, pages, and custom post types
- Load attached scripts and styles not just on that post’s page, but on the home page or any other page where that post is displayed.
For complete documentation, visit philipwalton.com
Εγκατάσταση
- Upload the per-post-scripts-and-styles folder to
/wp-content/plugins/
on your server - Activate the plugin through the ‘Plugins’ menu in WordPress
- Customize the settings you want from the ‘Per Post Scripts & Styles’ Settings submenu
- Add scripts and stylesheet URLs directly to posts from the edit post page.
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Per Post Scripts & Styles” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Per Post Scripts & Styles” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.2
- Add support for THEME_URL
1.1
- Add the ability to include a footer script block
- Add support for WordPress 3.3
- Add support for child themes
1.0.1
- Fix a bug where meta boxes weren’t properly showing up on custom post type edit pages
1.0
- First publicly released version