Добавление полей к терминам таксономии

Типы файлов ACF

Ассоциация основного файла ACF

.ACF

Формат файла: .acf
Тип файла: Steam Application Cache File

Cache file generated for the purpose of a game downloading using Valve Steam, a software package used for downloading games.

Создатель: Valve
Категория файла: Файлы игр
Ключ реестра: HKEY_CLASSES_ROOT\.acf

Программные обеспечения, открывающие Steam Application Cache File:

Valve Steam, разработчик — Valve

Совместимый с:

Windows
Windows Phone
iOS
Android
Linux

Ассоциации других файлов ACF

.ACF

Формат файла: .acf
Тип файла: X-Plane Aircraft File

Файл данных, связанный с X-Plane, реалистичным симулятором полета для пилотов и тренажерных любителей.

Создатель: Interscape
Категория файла: Файлы данных

Программы, открывающие файлы X-Plane Aircraft File :

X-Plane, разработчик — Interscape

Совместимый с:

Windows
Mac
Linux

.ACF

Формат файла: .acf
Тип файла: Agent Character Data File

ACF файлы содержат символьные данные, которые могут быть загружены по протоколу HTTP (или Web). Он aved вместе с соответствующим ACA-файл, который содержит данные анимации для персонажа.

Создатель: Microsoft Corporation
Категория файла: Файлы данных

Программы, открывающие файлы Agent Character Data File :

Microsoft Agent, разработчик — Microsoft Corporation

Совместимый с:

Windows

.ACF

Формат файла: .acf
Тип файла: Adobe Photoshop Custom Filter File

ACF файл хранит пользовательский фильтр, связанный с Adobe Photoshop для редактирования фотографий и программное обеспечение для управления фотографиями.

Создатель: Adobe Systems Incorporated
Категория файла: Файлы настроек

Программы, открывающие файлы Adobe Photoshop Custom Filter File :

Adobe Photoshop CC, разработчик — Adobe Systems Incorporated

Совместимый с:

Windows
Mac

Плагин Advanced Custom Fields

С плагином Advanced Custom Fields работать с полями гораздо проще. У плагина более понятный интерфейс с бóльшим числом функций и гораздо более простой процесс вывода полей.

Advanced Custom Fields

Author(s): Elliot Condon

Current Version: 5.9.3

Last Updated: 05.11.2020

Плагин ACF установлен на более чем 1 млн. сайтов и имеет рейтинг 98% на основе 1.100+ отзывов.

После установки плагин добавляет раздел меню Группы полей (Custom Fields) в админке Вордпресс.

Вы можете добавлять кастомные поля во все виды записей, включая собственные типы записей, таксономии, пользователям, в медифайлы, в комментарии и меню.

Вы можете выводить поля ACF с помощью кода в файлах темы ( по каждому типу полей и выводу с помощью кода), с помощью шорткодов и Elementor Pro.

Pre-purchase Questions

ACF comes in two versions: free and PRO. The free version is fully featured, and contains most of the types of fields you’re likely to need while building an average website.

If you’d really like to level up, and gain access to more complex and feature rich field types such as Blocks, Galleries, Repeaters, Flexible Content Layouts, and Clones, you’ll need to purchase the PRO version.

ACF PRO licenses are available for purchase as yearly subscriptions. Prices shown are in USD excluding any taxes which may be added during checkout depending on your billing location. For available pricing, please see our PRO page.

Yes. Licenses are renewed automatically each year to give you continued access to updates. You may also opt-out from auto renewals in favour of manual control from you online account.

You can safely purchase ACF PRO with your credit card through Stripe’s secure payment gateway.

ACF is registered for GST in Australia and VAT in Europe. Your tax will be calculated at checkout.

If you require a ‘Tax residency certificate’ we have one available, please contact support.

Your purchase provides you access to your own store account page on our site. From here you can:

  • Download the latest version of ACF PRO (and access previous versions too).
  • View and upgrade your license keys.
  • View and manage your license activations.
  • View and print invoices for all your orders.
  • Manage your contact and billing details.
  • View and create support tickets.

Your ACF PRO download is always available at your store account page on our site.

ACF PRO has been built with WordPress best practices in mind. We have designed the plugin to be as efficient and unobtrusive as possible, to allow you to build great websites without getting in your way.

But, with over 50,000 plugins available in the WordPress directory, and probably at least as many themes available, some conflicts may arise. In the unusual circumstance that such an issue occurs, we will always do our utmost to try and resolve those conflicts through our friendly support folks.

We are fanatical about support, and want you to get the best out of your website with ACF. If you run into any difficulties, there are several places you can find help:

  • Our extensive documentation contains references and guides for most situations you may encounter
  • We have an active and friendly community on our Community Forums who may be able to help you figure out the ‘how-tos’ of the ACF world.
  • The support professionals on our Help Desk will assist with your more in depth, technical challenges
  • The WordPress professionals at Codeable can provide coding support if you’re starting to feel out of your depth.

Find out more about our support .

We really want you to be happy with your purchase, and we’ll try really hard to make that happen. But, if for any reason you’re not completely happy, we do offer a 30 day money back guarantee. Please get in touch.

Designing your Fields ?

While data structure helps you behind the scenes, an attractive and easy-to-use UI is just as important to those who add and edit content. ACF offers plenty of options for creating a visual layout that meets your needs.

The Accordion and Tab fields are great for displaying related fields together in their own separate space. This keeps the user’s focus on one set of fields at a time, while also providing an intuitive means for navigation. Plus, it helps to keep the WordPress edit screen neat and tidy.

You can also take advantage of field widths to place multiple related fields on the same line. Introduced in ACF version 5, all fields can be set to a fill specific percentage width of the container. Using this technique can help prevent excessive scrolling while also making for a more attractive UI.

Lastly, it’s worth noting that fields should be ordered in the same manner as they will be displayed on the front end. It’s a small thing that helps avoid any confusion when inputting data.

Content Designed Around Your Needs

Advanced Custom Fields is a WordPress plugin that helps you edit complicated content in a simple and logical way. If you’re familiar with WordPress but don’t have much experience with ACF, you may be wondering what all the fuss is about.

By default,  the WordPress edit screen is somewhat limited in what it can do (although the upcoming Gutenberg editor looks to change that up a bit). It’s probably best used for a simple blog post with a title, thumbnail and content.

The WordPress visual editor does a good job at allowing rich content editing, but what drives web developers crazy is that the editor doesn’t handle more complicated situations very well. And there really isn’t a way to avoid the potential that a client or colleague will inadvertently break your carefully crafted formatting.

ACF allows you, the developer, to take full control of the WordPress edit screen and tailor the content editing experience around your website’s needs! Using ACF, you can add fields in addition to the WordPress visual editor or choose to hide it completely. Plus, you have a wide array of field types to choose from including text, media, choice, layout and more! Each field can be added, edited or arranged to your liking.

Creating Fields

Creating new custom fields is a very easy process and can be done with just a few clicks of our user friendly field builder! You can create as many fields as you like, each with their own name, type and settings. Each field is added to a group which allows you to both organize your fields and specify the edit screens where they appear.

Field groups are used to organize fields and attach them to edit screens. Each field group contains a title, fields, location rules and visual settings.

To get started with your first field group, please read our Creating a Field Group guide.

Each field contains settings to customize how the field looks (its type), where its value is saved (its name) and how it functions (its settings). These field settings can be customized when editing a field group.

To learn more about field settings, please read our Field Settings guide.

New pricing details

Our new pricing model adopts a more contemporary approach and has been carefully designed to suit our users across three common use-cases.

Price increase

We are increasing prices across the board (prices are in $USD) to better reflect the value our plugin brings to developers. Now, more than ever with the addition of ACF Blocks, ACF PRO is a serious developer tool. We have HEAPS of new features lined up for development and can’t wait to share these with you over the coming years.

Additional tier

We are excited to provide an additional middle-tier option aimed at freelancers. This tier provides a very useful 10 site activation limit making it the perfect license for those that work on multiple sites but don’t need the jump to an unlimited license.

Increased allowance

We are also changing the way we count activations to provide a more useful service. When rolled out in early 2020, each “site” will allow for 1 development and 1 production activation. This instantly doubles your activation allowance and avoids the “which site do I activate it on?” conundrum. This increased allowance will also benefit existing Personal lifetime licenses!

Yearly Renewals

As mentioned earlier on in the post, we will be implementing yearly renewal fees. This will provide us with a healthy and sustainable budget to continue development on our entire service including the plugin, support, documentation, website hosting, license management, education and community participation.

️ Subscription Management

Managing your subscription will be made easy with the ability to upgrade or downgrade your license at any time. This will allow your ACF PRO license activation limit to grow as your projects do, or shrink if necessary.

What this means for you

Our upcoming pricing changes will only affect new sales. If you are already an ACF PRO customer, your license will remain as is – a one time purchase with lifetime updates forever. This means existing lifetime licenses will be locked-in (Personal / Developer), so please consider upgrading now to take advantage of the current pricing before the new subscription model is rolled out.

Description

Requires ACF PRO v5

Documentation: advancedforms.github.io

Advanced Forms lets you build flexible forms using the power of Advanced Custom Fields. The plugin has been built with developers in mind and offers a large variety of helper functions and customization hooks.

  • Use all the fields provided by ACF, including repeaters and flexible content fields
  • Define forms and fields fully programmatically for easy integration with your theme/plugin, or use the intuitive UI
  • Either use the provided hooks to process form submissions as you wish or let the plugin automatically save them as entries
  • Optionally set up emails to be sent automatically with form submissions
  • Set a maximum number of entries created, limit a form to only logged in users, or schedule a form to only display during certain times. Custom restrictions can be applied by hooking in to a simple filter.

Advanced Forms Pro

  • Create/edit posts and users with ease
  • Integrate with Slack, Mailchimp, and Zapier
  • Use calculated fields to show live updating content
  • Protect against spam using Google reCAPTCHA
  • Get direct, priority support

Available from hookturn.io

Developers

Advanced Forms is first and foremost built for developers and allows for simple integration with themes/plugins. Check out the documentation for guides and details about functions/hooks.

The cost of a one-time purchase

Selling a WordPress plugin under the “one-time” purchase model has its pros and cons. For the most part, this model offers a lot of positives, especially for new and emerging software trying to stand out in a busy marketplace.

Our customers often say that “ACF is a bargain” which in turn generates great publicity and helps to drive new sales. Considering that “word of mouth” is our primary marketing strategy, this model has helped grow ACF to where it is today! However, growth comes with a cost.

Over the past 4 years, license sales for ACF PRO have steadily and consistently increased at a rate of around 10% per year. This is both a cause for celebration and also a cause for concern .

See, although our sales are going up a bit, the number of customers relying on our service are going up a lot! Take a look at the following graph to illustrate this point.

With growing users comes growing costs. Things like support, documentation, website hosting, license management, education and community participation are all part of a bigger picture that we value – aka, the whole service.

Switching to a subscription-based model will allow us to better invest in these areas and provide a quality service that grows with its users. And without further ado, our upcoming pricing model!

Примечания

  1. Проект основан
  2. Первая правка основателя
  3. Шаблон: Новая тема
  4. Правила боёв
  5. Рейнфорс
  6. Журнал прав Sonada
  7. Нана
  8. Марико
  9. Профайл участника LolO O
  10. Профайл участника Kolt7
  11. Журнал прав Alerian
  12. Журнал прав проекта
  13. Вклад участницы Pyrrha Omega
  14. Вклад участника Alerian
  15. Вклад участника Sonada
  16. Вклад участника Kolt7
  17. Вклад участника DarkLK
  18. Вклад участника LolO O
  19. Вклад участника Dampil12
  20. Вклад участника Кельвин
  21. Вклад участника Soujiro Seta
  22. Вклад участника Deleb
  23. Пример длинной статьи
  24. Пример короткой статьи
  25. Одна из статей про персонажа
  26. Журнал Wiki Features
  27. Форум
  28. Правила проекта

Русскоязычные вики портала «Увлечения, наука и культура»

Платиновые (100 000+)

Титановые (10 000+)

Золотые (1 000+)

Серебряные (500+)

Бронзовые (100+)

Think About the Future

It’s always a good idea to consider the future when building out a custom field UI. The needs of a website change over time and the fields you’ve setup initially may need tweaked down the road.

But that’s where the best practices above can serve you well. So, the next time you’re building something awesome with ACF, remember to:

  1. Name and label your fields based on their purpose, without getting overly specific.
  2. Take advantage of the Group and Repeater fields to structure data in a logical way.
  3. Build a UI that is visually intuitive for users.
  4. Leverage ACF’s Local JSON feature to improve site performance.
  5. Use some creative thinking to improve efficiency and avoid clutter.

Adding these best practices to your workflow will enable you to build a UI that is flexible, easy to use and implement. Happy building!

Simplify your Fields ?

When it comes to choosing which fields to use, a little creative thinking can result in a more efficient use of space and resources. Because, while our first instinct may be to implement lots of separate fields, we can often find ways to accomplish the same goal by using less.

This less is more approach can be shown in our Home Slider example. Let’s imagine the client requires text over each image (title, sub title and excerpt). On first glance, we could set this up by creating three fields – 2 text and 1 text area. While it would certainly work in terms of functionality, it might not be the best solution. This arrangement could be a bit visually awkward, restricts the customization of content and doesn’t necessarily provide the most intuitive interface for users.

Taking that into consideration, we might choose instead to combine these fields into a single WYSIWYG field. ACF allows us to hide the Visual/Text tabs and turn off media uploads – so we won’t have to worry about our client going too far with things . Using the Default Value field setting, we can also place sample content into the field so that all our client has to do is replace it. The result is something that makes more visual sense for users while still providing the functionality we need.

Changelog

3.9.0

  • adjusted post type to ensure disabling glutenberg
  • removed donation nag
  • added slug options for saving fields to custom slugs

3.8.9

  • Fixed bug in setting parent options page
  • Corrected display of were fields will be saved
  • Corrected all translation calls to not use variable for text domain
  • Corrected bug in get_option_page_id() for redirected parent pages
  • Minor text changes

3.8.8

Increased init priority to prevent interferance with some poorly written plugins that alter queries without proper checking to make sure the query is for the correct post type.

3.8.7

Removed admin/ajax check added in last update. Change in ACF caused options pages not to appear when generated by AJAX.

3.8.6

corrected issue where options page query done on init can interfere with operation of other plugins. Disable option page setup when on front end and when doing ajax as this setup is not needed here. Removing this query at these times should also improve site performance.

3.8.0

  • replaced register_field_group() call with acf_add_local_field_group() – #41
  • added tabs for basic/advanced settings
  • added page content customization options + new filters – #40
  • added performance optimization – #42
  • added internal correction for attaching files – #39
  • minor modifications

3.7.3

  • added more missing text domains
  • completed adding Portuguese (pt_PT) translation
  • converted True/False radio fields to ACF true/false UI fields
  • added Russian (ru_RU) translations – thanks @antonvyukov

3.6.0

  • Added filter to use page tiles instead of menu title for location setting when editing ACF field group
  • Corrected some bugs
  • Removed fieldset duplicator

3.5.0

  • Changed default redirect value to false
  • Added admin column for “Save To”
  • Added function get_option_page_id() and get_options_page_id()

3.4.0

  • removed post title
  • added required title field
  • slug field now required
  • added validation to slug field
  • removed no longer needed message field about post title
  • updated instructions and messages for several fields

3.1.0

  • Corrected bug, duplicated field groups not showing on options pages
  • Added support for save/loading to/from post objects added in ACF v5.2.7

2.1.0

  • Added support for redirect
  • Added support for menu position
  • Added support for icon (dashicons)
  • Added sorting of sub options pages

2.0.0

  • Corrected bug in adding top level option page
  • Corrected bug in display of location
  • Corrected bug in options page slugs not being saved correctly
  • Removed support for ACF4
  • Changed default value of location to “None”

1.1.1

  • Removed $post global in function admin_columns_content(), not needed, post_id is passed by hook.
  • Added code to prevent plugin from running if not included by WP.
  • Reworked function acf_add_options_sub_page() to not use have_posts() function so it’s less likely to interfere with other queries.
  • Other minor code changes that don’t effect operation

Как вывести поля Advanced Custom Fields

Вы узнали, как добавлять информацию в Произвольные поля, как связывать поля с типом контента на сайте и сохранять информацию в базу данных.

Если сейчас вы заполните поля в бэк-энде, сохраните страницу и перейдете во фронт-энд, то поля не будут отображаться.

Существует 3 способа вывести поля в ACF:

  1. . Этот способ требует технических знаний, но считается лучшим.
  2. . Очень простой способ и используется, когда вы хотите поместить кастомные поля только в нескольких местах.
  3. . Аналог первого способа, но без необходимости работать с PHP.

Как добавить Кастомные поля в файлы темы

Первый способ выводить поля ACF — добавить PHP функции Advanced Custom Fields в файлы шаблонов дочерней темы.

Этот способ предполагает работу с файлами темы, но гарантирует, что поля ACF будут всегда выводиться в одном и том же месте.

Например, если вы хотите добавить вывод полей ACF на всех страницах блога, вам нужно редактировать файл single.php.

В вашей теме это может быть другой файл, например, в теме TwentyNineteen этот файл называется content-single.php.

После того, как вы нашли файл шаблона страницы, добавьте в нужное место файла функцию ACF the_field() для вывода нужного поля. Подробнее о функции the_field().

В общем виде функция выглядит так:

Имена полей можно посмотреть здесь:

Имена полей ACF

по функциям Advanced Custom Fields.

Как выводить Кастомные поля с помощью шорткода

Выводить поля ACF с помощью шорткода проще. Если у вас всего несколько мест / страниц, где вы хотите выводить кастомные поля, это простой и удобный способ.

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

Шорткод для вывода полей ACF:

Например, такой шорткод выводит поле Название Курса:

Если вы используете Родительские и Дочерние поля, вам нужно указать оба шорткода:

То есть, если вы использовали поле Вкладка, а в нем дочернее поле Название Курса, то шорткод должен быть такой:

Как выводить Кастомные поля с помощью Elementor Pro

Elementor — один из самых популярных конструкторов страниц. Он позволяет создавать страницы просто перетаскивая виджеты.

С помощью Elementor Pro вы можете создавать шаблоны страниц, включая добавление в них кастомных полей Advanced Custom Fields.

По сути это визуальный редактор первого способа, который позволяет вам редактировать файлы шаблонов без работы с кодом.

В этом примере вы добавляете поля на странице Advanced Custom Fields. Откройте страницу в Элементоре и добавьте виджеты для вывода кастомных полей.

Чтобы выводить Изображение, сделайте так:

Вывод изображения ACF в Elementor Pro

Остальные поля выводятся аналогично.

Если вы хотите выводить поля, например, на всех страницах Блога, вам нужно редактировать шаблон страницы.

Elementor — Конструктор темы — Одиночная

Создайте или загрузите нужный шаблон страницы и добавьте в него вывод ACF полей в нужном месте.

Все определения ACF

Акроним Определение
ACF AX Клуб де Франс
ACF Acoustafoil
ACF Adams Каунти ярмарка
ACF Aeromodel клуб Forezien
ACF Apple коммуникационных рамок
ACF Asociacion Cristiana женская
ACF Contre la Faim действий
ACF Авиации Клуб де Франс
ACF Австралийская Шахматная Федерация
ACF Австралийский Cat Federation (порт Аделаида, Южная Австралия)
ACF Автокорреляционная функция
ACF Автомобильный Клуб де Франс
ACF Агент файл символов
ACF Администрация для детей и семей
ACF Азиатские христианское братство
ACF Альтернативные команды Фонда
ACF Альянс для детей и семей
ACF Американский кроссворд Федерация
ACF Американский фонд собак
ACF Американской кулинарной федерации
ACF Анализ, корреляция и фьюжн
ACF Анизотропные кондуктивный фильм
ACF Антикоагулянт фактор
ACF Армия колледж фонд
ACF Асимметричный плач фации
ACF Ассоциация благотворительных фондов
ACF Ассоциация де-ла Freudienne причина
ACF Ассоциация консалтинговых лесники
ACF Атрибут файла конфигурации
ACF Африканский когтистые лягушка
ACF Военно-воздушные силы на случай непредвиденных обстоятельств
ACF Воздух боевой истребитель
ACF Всех поклонников Chiru
ACF Дополнительные команды форматирования
ACF Доступ к функции координации
ACF Каштан американский фонд
ACF Компактных бассейна реки Апалачикола – Чаттахучи Флинт
ACF Область управления объекта
ACF Образование взрослых Кристиан
ACF Объект административного управления
ACF Объект связи агента
ACF Огонь активированного кокса
ACF Осина общественный фонд
ACF Передней шейки матки фьюжн
ACF Передовых средств связи
ACF Плата за доступ к координации
ACF Площадь объекта родов
ACF Подача кислоты концентратор
ACF Подотчетность компьютер функции
ACF Подтверждение приема
ACF Поле элемента управления доступом
ACF Признание регистрации рейса
ACF Приобретение карьеры поле
ACF Против коалиционных сил
ACF Расширенные функции коммуникации
ACF Расширенный общий Flightdeck
ACF Самолет файл
ACF Сельскохозяйственные христианское братство
ACF Силы армии кадет
ACF Система контроля доступа
ACF Современные средства связи объекта
ACF Средняя стоимость средств
ACF Уезд ярмарка искусств
ACF Фабрика совместимости приложения
ACF Файл активного контракта
ACF Файл конфигурации приложения
ACF Файл оформления воздушных перевозок
ACF Фактические кубических футов
ACF Фактор доверия достижение
ACF Фактор контроля доступа
ACF Федерация американских Checker
ACF Фестивали искусств ремесел
ACF Фильтр с активированным углем
ACF Фонд Азии крикет
ACF Фонд альтернативного ухода
ACF Фонд американских коммуникаций
ACF Фонд американского кино
ACF Фонд искусств центр
ACF Фонд клуб армии
ACF Фонд охраны природы Австралии
ACF Фонд охраны природы Аляски
ACF Фонд охраны природы Африки
ACF Фонд сохранения Африки
ACF Формула адиабатического подключения
ACF Форум американских композиторов
ACF Форум потребителей авиакомпания
ACF Фторид аморфный углерод
ACF Функции угловые корреляции
ACF Функция автоматического управления
ACF Функция кода счета
ACF Функция контроля проверки подлинности
ACF Центр неотложной помощи

Что означает ACF в тексте

В общем, ACF является аббревиатурой или аббревиатурой, которая определяется простым языком. Эта страница иллюстрирует, как ACF используется в обмена сообщениями и чат-форумах, в дополнение к социальным сетям, таким как VK, Instagram, Whatsapp и Snapchat. Из приведенной выше таблицы, вы можете просмотреть все значения ACF: некоторые из них образовательные термины, другие медицинские термины, и даже компьютерные термины. Если вы знаете другое определение ACF, пожалуйста, свяжитесь с нами. Мы включим его во время следующего обновления нашей базы данных. Пожалуйста, имейте в информации, что некоторые из наших сокращений и их определения создаются нашими посетителями. Поэтому ваше предложение о новых аббревиатур приветствуется! В качестве возврата мы перевели аббревиатуру ACF на испанский, французский, китайский, португальский, русский и т.д. Далее можно прокрутить вниз и щелкнуть в меню языка, чтобы найти значения ACF на других 42 языках.

Getting started

If you are already familiar with the above function, object and filter you may skip this section.

The WP_Query object is used to query posts and will return an object containing an array of $post objects and many useful methods.

The get_posts function makes use of the above WP_Query object, however, it only returns an array of $post objects making it a simpler way to find and loop over posts.

The pre_get_post filter is called after the query object is created, but before the actual query is run.

Example

This example demonstrates how to query all posts and display them in a list. Please note the functions and are used to allow functions such as and to work as expected.

Updates Questions

Yes, updates are free. Whether you’re using the free version or ACF PRO, you can keep your plugin up to date at no extra cost.

ACF can be updated either via one-click update or manually. When an update becomes available, you will receive a notification on your Plugins page.

To apply the update via one-click update, simply click ‘update now’ in the notification on the Plugins page.

To update manually, you can download the new version of the plugin from the WordPress plugin repository. You can then safely delete the plugin directory on your server, and upload the new version via FTP.

For more details please see our guide: How to update

ACF PRO can also be updated via one-click update or manually. When an update becomes available, you will receive a notification on your Plugins page.

To apply the update via one-click update, simply click ‘update now’ in the notification on the Plugins page.

If you want to update manually, you’ll need to download the latest version from your store account.

For more details please see our guide: How to update

If you’ve upgraded from version 4 to version 5 of ACF and you can’t see you fields, first of all, don’t panic! Version 5 uses a different data structure so they might not be visible, but your fields and their values are still there.

You should see a database upgrade prompt at the top of the page on your WordPress dashboard. All you need to do is click the button to run the database upgrade process. Your fields should re-ppear once that process has been completed

If you’re still having difficulties, please get in touch.

For some reason, the database upgrade process may not have triggered as expected when the new version was installed. To make this happen again, please ensure version 5 is activated and follow this procedure:

  1. Back up your database.
  2. In your wp_options table, please set the acf_version value back to the latest version you had installed ( something like 4.4.11 )
  3. Reload the wp-admin dashboard
  4. Click the database upgrade button that appears

If you’re still having troubles, please contact support.

In some hosting environments, communication may not be possible between your server and the WordPress update server. If this happens to you , please note any error messages you find, and contact support.

If you’d like to go back to an earlier version of ACF, we’d recommend using this rollback plugin, which is available from the WordPress repository.

Although we’re not associated with this plugin in any way, we have had reports of ACF users employing it successfully.

All the previous version of ACF PRO are available for download from the downloads section of your ACF store account. To start rolling back, you’ll need to login, download and unzip the version you’d like to rollback to.

Then, on your website, you’ll need to deactivate and delete the version you’re currently running on the _Plugins_ page.

Finally, you’ll need to upload the older version to your wp-content/plugins directory. Once the older version of ACF PRO is uploaded, you will need to activate again it by finding it in the list on the _Plugins_ page in your site’s Administration area, and clicking on the ‘Activate’ link.

Вывод полей определенного термина

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

Пример Формат Описание
category_123 $taxonomy . ‘_’ . $term_id Строка содержит название таксономии и ID термина.
term_123 term_’ . $term_id Строка содержит слово term и ID термина. Добавлено в версии 5.5.0.
WP_Term Объект термина. Его можно получить множеством способов, например функцией get_term().

Например, пусть у нас есть тестовое поле с именем у стандартных рубрик WordPress и надо вывести его значение:

// 1 вариант
the_field('my-field', 'category_123');

// 2 вариант
the_field('my-field', 'term_123');

// 3 вариант
$term = get_term( 123 );
the_field('my-field', $term);
Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Adblock
detector