-
Search Results
-
Hi there
I’ve opened a new thread based on my last https://kriesi.at/support/topic/secure-custom-field-after-excerpt/#post-1473534 as I’ve just remembered I need the function to also add the custom fields to the single posts. Is it a quick fix?
Thanks
RichardHi guys,
I fight trying to set up a phone number link to an ALB animated number with no success.
Can’t find the right syntax to set either in the “manual link setting” or in the underneath “custom field link” of the Advanced Tab fields.
Anyone to give me a help on that one please ?
P.S
I’ve set the domain and its certificate just yesterday, maybe propagation is not over yet, but the link is a safe one.Hi there
I’ve been trying to add custom fields so that they show below the excerpt on both the blog grid and single posts using the following code. I’ve added it to the child theme function but I can’t get it to work. Any pointers would be great, thanks.
add_filter('the_excerpt', function ($excerpt) { // Check if we're in a post and want custom fields added if (is_single() || is_home() || is_archive()) { // Fetch custom fields $event_date = get_post_meta(get_the_ID(), 'event_date', true); $event_time = get_post_meta(get_the_ID(), 'event_time', true); $event_location = get_post_meta(get_the_ID(), 'event_location', true); // Create custom field output with individual classes $custom_output = '<div class="custom-event-details">'; if ($event_date) { $custom_output .= '<p class="event-date"><strong>Event Date:</strong> ' . esc_html($event_date) . '</p>'; } if ($event_time) { $custom_output .= '<p class="event-time"><strong>Event Time:</strong> ' . esc_html($event_time) . '</p>'; } if ($event_location) { $custom_output .= '<p class="event-location"><strong>Event Location:</strong> ' . esc_html($event_location) . '</p>'; } $custom_output .= '</div>'; // Append custom fields to the excerpt return $excerpt . $custom_output; } // Return the original excerpt for other types of content return $excerpt; });Hi there,
I am using Secure Custom Fields and I have set up a template using the ALB.
Now I need to import lots of posts using “WP All Import”.Everything works great, except that I have to manually open each imported post, click “Advanced Layout Editor” and select the custom layout. I have tried to use a shortcode in post content during import, which does not work.
1. Can I automatically set the custom layout to all imported posts? In general I find it a bit cumbersome to always use the ALB on each custom post to select the template (and nothing else).
alternatively:
2. Is there a way to ignore the post content and always set the template to a specific template for all posts belonging to a certain custom post type?Thank you in advance!
Best,
HenningHello everyone,
I’m really happy with this “Custom Layout” feature that I use with ACF to make CPTs. :-)I have over a hundred entries (from the same CPT) that use the same Custom Layout except that one of the ACF custom fields is sometimes empty (and filled in most of the time).
As this is a link that I’m displaying in a button, I’d like to be able to display the button only when the field is filled in, otherwise it creates a bad user experience.
I couldn’t find in the documentation for Custom Layouts with ACF how to make the display conditional (when the field isn’t empty). Is there any way of doing this?
Best regards
Topic: meta description vs. excerpt
Hi there, we are using the Yoast SEO plugin to craft custom meta descriptions for blog posts. We are also using the excerpt field to write custom excerpts that display on page. Doing so has resulted in us getting warnings (in ahrefs.com) that our posts have two meta descriptions. How can I continue to use the excerpt and SEO meta description fields and to display the excerpt in the blog post widget but remove the meta description tag so that Google doesn’t see two meta descriptions?
Hi everyone,
I’m testing the Dynamic Content new feature along with the Custom Layout and it works like a charm with ACF custom post types. Great job !After adding a few posts (using the custom fields defined for my CPT) manually, I tried importing the 200 posts I have into a CSV file using the plugin “Ultimate CSV Importer Free” (I’m not advertising, it’s just one of many but it’s free and works with CSV instead of WordPress native XML import/export files).
I then noticed that my CPTs were displayed by default in the form of a blog post with the shortcodes of my Custom Layout content displayed in plain text.
Then I saw that there was a field in the database called _aviaLayoutBuilder_active that had an active value, but it doesn’t seem to be enough to activate ALB on the post.
Can you tell me what other custom fields are used to properly activate the Advanced Layout Editor on a post, and what values to give them?
I can see that activating the Advanced Layout Editor then updating the post generates a lot of additional fields in the _postmeta table :- _aviaLayoutBuilder_active : active
- _edit_lock : 1732749476:1
- _edit_last : 1
- _avia_sc_parser_state : disabled
- _av_css_styles : a:0:{}
- _custom_layout_post_id :
- _aviaLayoutBuilderCleanData : [av_custom_layout link='alb_custom_layout,653' av_uid='av-m3u7m8lu' sc_version='1.0']
- _avia_builder_shortcode_tree : a:1:{i:0;a:3:{s:3:”tag”;s:16:”av_custom_layout”;s:7:”content”;a:0:{}s:5:”index”;i:0;}}
- _av_el_mgr_version : 1.0
- _av_alb_posts_elements_state : a:1:{s:16:”av_custom_layout”;b:1;}
Topic: Slow speed website
Hello,
I’m trying to resolve the speed problem on my website using the query monitor plugin
I’ve found that there are two main reasons:
– aviaDynamicContent->get_default_custom_fields()
– layerslider_delete_caches()
Is it possible to speed up the query linked to these functions somehow? or disable them? I do not use layerslider.Hello,
since the European Accessibility Act ist basically right around the corner, we are preparing a lot of our customer sites running Enfold to meet the new standards these days. One of our checking software found some issues with the default contact form that comes with the Enfold theme.
The reported issues are as follows:
Guideline: WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Fieldset.Name
Message: This fieldset element does not have a name available to an accessibility API. Valid names are: legend element, aria-label undefined, aria-labelledby undefined.
Code (abbreviated): <fieldset><p class=” first_form form_ele…</fieldset>—
Guideline: WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.InputText.Name
Message: This textinput element does not have a name available to an accessibility API. Valid names are: label element, title undefined, aria-label undefined, aria-labelledby undefined.
Code: <input type=”text” name=”avia_6_1″ class=”hidden ” id=”avia_6_1″ value=””>—
Guideline: WCAG2AA.Principle1.Guideline1_3.1_3_1.H71.NoLegend
Message: Fieldset does not contain a legend element. All fieldsets should contain a legend element that describes a description of the field group.
Code: (abbreviated): <fieldset><p class=” first_form form_ele…</fieldset>—
Maybe you guys can have a look at the reported issues and check if you can release an update with the coming versions.
Thank you!



