-
Search Results
-
Hello,
will be laconic.My Goals
Using heading with logo in center and menu below, i would like to add additional information on left and right side like phone, email, location.What I know
I know that there are guide to add additional fields using custom widgets, but it is not what i need, because such fields goes below logo, but i need next to logo.What is my question
So can you suggest me how can i realise it knowing that may be in future i will need diferent headings in each site page, because for example at page service 1 – i will place one contacts, on page service 2 – another and so on.
Thank you in advance
Hello,
i’d like to create a custom post type (using the plugin CPT UI or doing it manually) and some custom fields (using ACF plugin).
Then i’d like to use the Enfold “Blog Post” element to retrieve only post with a specific custom post type but i’ve seen than i can’t select my custom post type in “Blog Post” element.
I know that i could create a custom loop but i’m trying to understand if i could do this in an “Enfold way”.
Could you help me to solve this problem?
Thanks
Regards
AndreaI’m looking to create something similar to this mockup I have linked below. Some of that involves adding meta information I have stored in custom fields. I’ve been browsing the forums today and all of the similar questions I’ve seen asked are very dated and their solutions didn’t work for me.
**update** – cleared the cache and the problem resolved.
Please advise. After the latest update of Ultimate Member Plugin Version 2.1.6 received error message “This plugin failed to load properly and is paused during recovery mode.” Using WordPress Version 5.4.2
An error of type E_ERROR was caused in line 58 of the file /srv/htdocs/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php. Error message: Uncaught ArgumentCountError: Too few arguments to function um\admin\core\Admin_Navmenu::wp_nav_menu_item_custom_fields(), 4 passed in /wordpress/core/5.4.2/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /srv/htdocs/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php:58 Stack trace: #0 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(287): um\admin\core\Admin_Navmenu->wp_nav_menu_item_custom_fields(‘9844’, Object(WP_Post), 0, Object(stdClass)) #1 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /wordpress/core/5.4.2/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /srv/htdocs/wp-content/themes/enfold/framework/php/class-megamenu.php(534): do_action(‘wp_nav_menu_ite…’, ‘9844’, Object(WP_Post), 0, Object(stdClass)) #4 /wordpress/core/5.4.2/wp-includes/class-wp-walker.php(144): avia_backend_walker->start_el(”, Object(WP_Post), 0, Object(stdClass)) #5 /wordpress/core/5.4.2/wp-includes/class-wp-walker.php(244): Walker->display_element(Object(WP_Post), Array, 0, 0, Array, ”) #6 /wordpress/core/5.4.2/wp-includes/nav-menu-template.php(584): Walker->walk(Array, 0, Object(stdClass)) #7 /wordpress/core/5.4.2/wp-admin/includes/nav-menu.php(1077): walk_nav_menu_tree(Array, 0, Object(stdClass)) #8 /wordpress/core/5.4.2/wp-admin/nav-menus.php(512): wp_get_nav_menu_to_edit(35891) #9 {main} thrown
Thank you!
Hi
Since the last update of the ultimate member plugin, we cannot edit the menus anymore.
On GitHub the ultimate member developers helped us:
https://github.com/ultimatemember/ultimatemember/issues/654
So, we should change the following code:
enfold/framework/php/class-megamenu.php
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args, $current_object_id );
My question is:
Is it possible, to overwrite this file in the child theme for not overwriting the original file?
Would Enfold fix this in a later release?
Thanks very much.
Best regards
MikeAfter updating to wordpress 5.4.2 and the latest version of WordPress, custom fields may no longer be selected from screen options. I am using the classic editor.
I tried using the block editor and enabling custom fields but that does not work either.I am not using ACF (advanced custom fields).
thanks
Hi
We show additional infos at the upcoming events (plugin The Evens Calendar) on a website.
For that, we copied the file events_upcoming.php and edited it like this:$additional_fields = tribe_get_custom_fields(); if ($additional_fields['Infos']) { $infos = $additional_fields['Infos']; } else { $infos = " "; }And later:
if ($infos) $event .= "<span class='av-upcoming-event-infos'><strong>{$infos}</strong></span>";Is it also possible to add this infos not with a copied events_upcoming.php file? For example using the filter avf_upcoming_event_extra_data?
If yes, how we can do that?
Thanks very much.
Best regards
MikeHi guys! I’m a developer of the Ultimate Member plugin. It looks that you have some outdated hook.
There is WP native hook and its arguments:
do_action( ‘wp_nav_menu_item_custom_fields’, $item_id, $item, $depth, $args, $id );
But there
wp-content/themes/enfold/framework/php/class-megamenu.php:534
you use do_action( ‘wp_nav_menu_item_custom_fields’, $item_id, $item, $depth, $args ); only 4 attributes.
Thanks!

