{"id":14282,"date":"2011-08-03T11:37:57","date_gmt":"2011-08-03T11:37:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hg3-include\/"},"modified":"2011-11-21T10:34:50","modified_gmt":"2011-11-21T10:34:50","slug":"hg3-include","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/hg3-include\/","author":8096506,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"3.1.4","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"HG3 Include Codes","header_author":"G\u00e9rard Ceccaldi","header_description":"","assets_banners_color":"","last_updated":"2011-11-21 10:34:50","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.hg3.fr\/","header_plugin_uri":"http:\/\/www.hg3.fr\/bidouilles\/inclure-php-dans-articles-et-pages-wordpress","header_author_uri":"http:\/\/www.hg3.fr\/bidouilles\/inclure-php-dans-articles-et-pages-wordpress","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2191,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>none<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,1332,12491,662],"plugin_category":[46],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14282","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-editor","plugin_tags-include","plugin_tags-php","plugin_category-editor-and-writing","plugin_committers-ccc666"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hg3-include.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>English:<\/p>\n\n<p>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.<\/p>\n\n<p>Fran&ccedil;ais :<\/p>\n\n<p>Bas&eacute; 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'&eacute;diteur de WordPress. Syntaxe proche de PHP, vous pouvez maintenant pr&eacute;ciser le chemin du  fichier &agrave; inclure avec son chemin r&eacute;el, relatif ou en utilisant une constante. Un query (myfile?a=1) et une variable peuvent aussi entre pass&eacute;s au fichier &agrave; inclure.<\/p>\n\n<!--section=installation-->\n<p>English:<\/p>\n\n<ol>\n<li>Install HG3-Include by using the usual WordPress procedures, or by uploading the files to your \"wp-content\/plugins\" directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>No interface, just use [hg3_include ('myfile.php', 'mypath')] anywhere in a page or post editor. Also works in a Text Widget.<\/li>\n<\/ol>\n\n<p>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.<\/p>\n\n<p>See tutorial at http:\/\/www.hg3.fr\/inclure-php-dans-articles-et-pages-wordpress (french site, translators welcome).<\/p>\n\n<p>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.<\/p>\n\n<p>Fran&ccedil;ais :<\/p>\n\n<ol>\n<li>Installez HG3-Include en utilisant les proc&eacute;dures habituelles de WordPress, ou en t&eacute;l&eacute;chargeant les fichiers dans \"wp-content\/plugins\".<\/li>\n<li>Activez le plug-in dans le menu 'Extensions&rsquo; de WordPress.<\/li>\n<li>Pas d'interface, utilisez juste [hg3_include ('mon_fichier.php', 'mon_chemin')] n'importe o&ugrave; dans l'&eacute;dition d'une page ou d'un article. Fonctionne aussi dans un widget texte.<\/li>\n<\/ol>\n\n<p>Tutoriel ici : http:\/\/www.hg3.fr\/inclure-php-dans-articles-et-pages-wordpress.<\/p>\n\n<p>Attention: les gourous de WordPress ont d&eacute;cid&eacute; que le nom d'un plug-in ne pouvait pas contenir un caract&egrave;re de soulignement. Ainsi, le nom du plug-in est \"HG3-Include\", mais, pour pouvoir s&eacute;lectionner le mot entier en double-cliquant dessus, utilisez 'hg3_include' comme syntaxe.<\/p>\n\n<!--section=faq-->\n<p>None for now, first version.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Bugs fixed<\/li>\n<\/ul>","raw_excerpt":"Plugin to include any code (html, php, javascript,...) directly into the WordPress editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14282"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ccc666"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14282"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14282"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14282"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14282"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14282"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}