Include Me

Описание

Include Me помогает включить в записи или страницы внешние файлы, обычно разделяемые между разными страницами или записями содержащие PHP или иной код, которые могут быть испорчены визуальным редактором

The use is immediate: the shortcode [includeme] is all that you need (see the documentation
on Include Me official page).

Лучший способ использовать — включить фунцкионал внешнего PHP скрипта который будет работать в теле записи или включить кусочки JS, который сложно было бы добавить в редакторе WordPress

Включение может быть сделано и IFRAME если потребуется создать элемент показывающий внешнюю вебстраницу.

Плагин состоит всего лишь из нескольких строк кода! Очень легкий!

Other plugins by Stefano Lissa:

Translation

You can contribute to translate this plugin in your language on WordPress Translate

Установка

Once installed you can start to use the [includeme] shortcode to include external file in your posts or pages.
See the official page for example and options.
The inclusion folder is initially set to WP_CONTENT_DIR/include-me. You can change it with a define('INCLUDE_ME_DIR', '...') in your wp-config.php.
If you want to enable the old behavior and be able to include from any location, use define('INCLUDE_ME_DIR', '*').

Часто задаваемые вопросы

No questions have been asked.

Отзывы

30.12.2021
I tried many plugins to find a plugin that would allow me to replace my PHP includes statements with something that would work in the WordPress editor. This is the one! Using the short code [includeme file='/filename.php'] is all you need. And it works with WordPress 5.8.2.
12.08.2021
The developer of this plugin released a buggy version and do not even care answering the users for the last 3 weeks!!! Too bad! This plugin used to do the job for me but not anymore. I am switching to the “Insert page” plugin which does the job and is well manage.
30.07.2021
I use this to enable version control (Git/GitHub) of custom code in vanilla WordPress Pages. No more coding Pages in WordPress' editor! 🎉
29.07.2021
Simple, easy to use when files are in the includeme folder. I use it to copy posts into a page, works well, but... It would be nice if it had an option to copy the title of the post as well. Dave
16.07.2021
So easy to use and does a great job including other php files and external sources. So good I can almost not believe it is free 🙂
30.05.2021
Brilliant in it's simplicity. Already using it for custom loops where i need to control every aspect. [includeme file="myloop.php" id="" cat="7" tag="5" ids="" ppp="12" width="560" ratio="portrait" size="medium_large" ] Kudos @satollo
Посмотреть все 20 отзывов

Участники и разработчики

«Include Me» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Include Me» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.3.0

  • Added an option to include files from any location

1.2.2

  • Breaking change and security fix
  • includeme shortcode is executed only on posts owned by an administrator
  • includeme shortcode includes only files inside the blog folder (ABSPATH and below)

1.2.1

  • Compatibility check with WP 5.7

1.2.0

  • Compatibility check with WP 5.4.2
  • Increased minimum PHP version to 5.6

1.1.8

  • Compatibility check with WP 5.2.4
  • Reorganized admin files

1.1.7

  • General compatibility check with latest WP

1.1.6

  • Add support for inclusion and execution of a post meta field

1.1.5

  • Added support for inclusion of a post/page content

1.1.4

  • Fixed a link

1.1.3

  • Added usage search in posts and pages

1.1.2

  • WP 4.4.2 compatibility check
  • Fixed few texts

1.1.1

  • Added translation code

1.1.0

  • Fixes

1.0.9

  • Compatibility check for WP 4.0
  • readme.txt fix

1.0.8

  • Compatibility check

1.0.7

  • Performce improvements

1.0.6

  • Улучшения

1.0.5

  • Added short codes execution feature on included content (by Rusty Eddy)

1.0.4

  • Administrative styles and header