Перейти к содержимому
  • Войти
  • Регистрация
WordPress.org

Русский

  • Темы
  • Плагины
  • Новости
  • Поддержка
    • Документация
    • Форумы
  • О WordPress
  • Сообщество
  • Скачать WordPress
Скачать WordPress

Плагины

  • Любимые
  • Бета-тестирование
  • Разработчикам
Скачать

Meta Optimizer

Автор: Parsa Kafi
  • Детали
  • Отзывы
  • Разработка
Поддержка

Описание

WordPress saves every post/comment/user/term meta in new row. with this plugin you can save all of them to single row, and each column will be a meta key.

Plugin work with default WordPress functions and support all of plugins use WordPress standard functions and hooks.

Features

  • Create database tables for each of WordPress meta tables (Post/Comment/User/Meta).
  • Support WordPress Queries
  • Faster Queries & Easy Export
  • Import old data from default WordPress meta table
  • Bypass core meta tables for specific fields
  • Export all the data easier by exporting only one table

Integration

  • Advanced Custom Fields and Pro version
  • Meta Box – WordPress Custom Fields Framework and Pro version
  • CMB2
  • And all of plugins and themes use WordPress standard functions and hooks.

Attention

If you use reserved column keys such as post_id for post meta, the plugin adds a suffix to the meta key. It creates a column based on the renamed key. As an example, if you save meta with key post_id, then plugin adds _wpmork suffix and creates column post_id_wpmork. In response to a query (WP_Query), the plugin automatically changes the meta key if necessary.

Update post meta example
update_post_meta(1, 'post_id', 222);
The meta key has been changed to:
update_post_meta(1, 'post_id_wpmork', 222);

Example Query:
$query = new WP_Query(array(
'orderby' => array(
'post_id' => 'DESC'
),
'meta_query' => array(
'post_id' => array(
'key' => 'post_id',
'compare' => 'EXISTS',
'type' => 'NUMERIC'
)
)
));

Plugin changed query to this:
$query = new WP_Query(array(
'orderby' => array(
'post_id_wpmork' => 'DESC'
),
'meta_query' => array(
'post_id_wpmork' => array(
'key' => 'post_id_wpmork',
'compare' => 'EXISTS',
'type' => 'NUMERIC'
)
)
));

Скриншоты

  • Tables tab, You can manage meta table columns.
  • Settings tab, Plugin options.
  • Import tab, Import options.
  • Preview of table structures

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

What type of meta types supported?

Meta Optimizer can save default WordPress meta types like Post/User/Comment/Term.

Can I use this plugin for custom post types?

Yes, of course. Even though the plugin supports the built-in types of post and page, it is well suited to storing meta data for custom post types.

Can I rename meta key in DB tables?

Yes, You can rename meta key in default WP tables and plugin tables.

Отзывы

Нет отзывов об этом плагине.

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

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

Участники
  • Parsa

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

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

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

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

1.0

  • Release first version of plugin
  • Support get/add/update/delete meta functions and WordPress queries

Мета

  • Версия: 1.0
  • Обновление: 5 месяцев назад
  • Активных установок: Менее 10
  • Версия WordPress: 5.0 или выше
  • Совместим вплоть до: 6.0.3
  • Версия PHP: 7.0 или выше
  • Язык:
    English (US)
  • Метки:
    comment metametapost metaterm-metauser meta
  • Дополнительно

Оценки

У этого плагина ещё нет оценок.

Войдите, чтобы оставить отзыв.

Участники

  • Parsa

Поддержка

Решено проблем за последние 2 месяца:

0 из 1

Перейти в форум поддержки

Пожертвование

Would you like to support the advancement of this plugin?

Пожертвовать на развитие плагина

  • О нас
  • Новости
  • Хостинг
  • Поддержать
  • Сувениры
  • Документация
  • Разработчики
  • Присоединиться
  • Обучение
  • Витрина
  • Плагины
  • Темы
  • Паттерны
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Приватность
  • Открытый код
WordPress.org
WordPress.org

Русский

  • Посетите нашу страницу на Facebook
  • Посетите нашу ленту в Twitter
  • Посетите наш Instagram
  • Посетите нашу страницу в LinkedIn
Код — это поэзия.