This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
ACF Options pages not translating
Started by: Andrew Von Haden
in: English Support
Problem: archive_heading_text . _archive_heading_text ). Set the translation preference for that field to Translate. If this solution does not resolve your issue or seems irrelevant due to updates or different configurations, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum. |
|
2 | 10 | 1 year, 11 months ago | |
|
ACF Menu Custom Fields Not Returning
Started by: Andrew Von Haden
in: English Support
Problem: functions.php file in your theme folder to include the following code:
add_filter('wp_nav_menu_items', 'my_wp_nav_menu_items', 10, 2);
function my_wp_nav_menu_items( $items, $args ) {
// get menu
$menu = wp_get_nav_menu_object($args->menu);
// vars
$menu_text = get_field('test_menu_field', $menu);
// append html
$items = $menu_text . $items;
// return
return $items;
}
For further guidance, refer to the ACF documentation on adding fields to menus and displaying fields. If this solution does not resolve your issue, or if the documentation links are outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact our support forum. |
|
2 | 5 | 1 year, 11 months ago |