Popis
English:
Based on ‚MaGiKS Proper PHP‘, a plugin from Keith James Lock, ‚HG3 Include Codes‘ allow you to include any code (html, php, javascript,etc.) directly into the WordPress editor. Syntax near to PHP, you can now precise the path of the file to include using real path, relative path or using a constant. A query (myfile?a=1) and a variable can also be sent to the called file.
Français :
Basé sur ‚MaGiKS Proper PHP‘, un plug-in de Keith James Lock, ‚HG3 Include Codes‘ permet d’inclure n’importe quel code (html, php, javascript,etc.) directement dans l’éditeur de WordPress. Syntaxe proche de PHP, vous pouvez maintenant préciser le chemin du fichier à inclure avec son chemin réel, relatif ou en utilisant une constante. Un query (myfile?a=1) et une variable peuvent aussi entre passés au fichier à inclure.
Inštalácia
English:
- Install HG3-Include by using the usual WordPress procedures, or by uploading the files to your „wp-content/plugins“ directory.
- Activate the plugin through the ‚Plugins‘ menu in WordPress
- No interface, just use [hg3_include (‚myfile.php‘, ‚mypath‘)] anywhere in a page or post editor. Also works in a Text Widget.
You can precise the path of the file to include using real path, relative path or using a constant. A query (myfile?a=1) and a variable can also be sent to the called file. You can choose simple include ou include_once.
See tutorial at http://www.hg3.fr/inclure-php-dans-articles-et-pages-wordpress (french site, translators welcome).
Warning: WordPress gurus have decided that the name of a plugin could not contain an underscore character. So, the name of the plugin is ‚HG3-Include‘ but, to be able to select the entire word by double-clicking it, use ‚hg3_include‘ as syntax.
Français :
- Installez HG3-Include en utilisant les procédures habituelles de WordPress, ou en téléchargeant les fichiers dans „wp-content/plugins“.
- Activez le plug-in dans le menu ‚Extensions’ de WordPress.
- Pas d’interface, utilisez juste [hg3_include (‚mon_fichier.php‘, ‚mon_chemin‘)] n’importe où dans l’édition d’une page ou d’un article. Fonctionne aussi dans un widget texte.
Tutoriel ici : http://www.hg3.fr/inclure-php-dans-articles-et-pages-wordpress.
Attention: les gourous de WordPress ont décidé que le nom d’un plug-in ne pouvait pas contenir un caractère de soulignement. Ainsi, le nom du plug-in est „HG3-Include“, mais, pour pouvoir sélectionner le mot entier en double-cliquant dessus, utilisez ‚hg3_include‘ comme syntaxe.
Časté otázky
None for now, first version.
Recenzie
Pre tento plugin nie sú žiadne recenzie.
Prispievatelia a vývojári
“HG3-Include” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.
PrispievateliaPreložiť „HG3-Include“ do vašho jazyka.
Máte záujem o vývoj?
Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.
Zoznam zmien
1.0
- Initial release
1.1
- Bugs fixed