-
Search Results
-
We are displaying weekly Youtube sermons in our website as videos.
We would like to also insert “cleaned up” transcripts, using the magic of ChatGPT.
We get a lovely html with print buttons, pdf buttons, style sheet — but cannot figure out how to insert this html document on our Enfold page.I have tried to use content in Accordion. Have learned that won’t work.
(Obviously, each week transcript will be different, so hoped I could use Advanced Custom Fields to store document info and then display via my custom post template.)
Right now, I am trying Textblock — in Code, not Visual.
I see the document nicely displayed on BACKEND, but on FRONTEND, I do NOT see the document displayed.
Since STYLE was included in the HTML — I moved style out to a Codeblock.
SCRIPT is also in there and I can move it out to another Codeblock.
What is your suggestion to “see” the document on the FRONTEND?
Thanks in Advance…
Below is the attempted code…
`[av_codeblock wrapper_element='' wrapper_element_attributes='' codeblock_type='' alb_description='' id='' custom_class='' template_class='' av_uid='av-mfpdws8b' sc_version='1.0']
<style>
/* ——– Base Styles ——– */<br />
:root {<br />
–bg: #0b0c0f;<br />
–card: #11131a;<br />
–ink: #e8ecf1;<br />
–muted: #aeb7c2;<br />
–accent: #6aa2ff;<br />
–accent-ink: #0b1b3a;<br />
–rule: #1e2330;<br />
}<br />
html, body { height: 100%; }<br />
body {<br />
margin: 0;<br />
background: radial-gradient(1200px 1200px at 10% -10%, #1b2030 0%, var(–bg) 60%);<br />
color: var(–ink);<br />
font: 16px/1.7 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, “Apple Color Emoji”, “Segoe UI Emoji”;<br />
-webkit-font-smoothing: antialiased;<br />
-moz-osx-font-smoothing: grayscale;<br />
}</p>
<p> .wrapper {<br />
max-width: 860px;<br />
margin: 48px auto 96px;<br />
padding: 0 20px;<br />
}</p>
<p> .toolbar {<br />
position: sticky;<br />
top: 0;<br />
z-index: 10;<br />
backdrop-filter: blur(10px);<br />
-webkit-backdrop-filter: blur(10px);<br />
background: color-mix(in srgb, var(–bg) 80%, transparent);<br />
border-bottom: 1px solid var(–rule);<br />
}<br />
.toolbar-inner {<br />
max-width: 860px;<br />
margin: 0 auto;<br />
padding: 10px 20px;<br />
display: flex;<br />
gap: 10px;<br />
align-items: center;<br />
justify-content: flex-end;<br />
}<br />
.btn {<br />
appearance: none;<br />
border: 1px solid var(–rule);<br />
background: linear-gradient(180deg, #1a2233, var(–card));<br />
color: var(–ink);<br />
padding: 10px 14px;<br />
border-radius: 14px;<br />
cursor: pointer;<br />
font-weight: 600;<br />
transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease;<br />
box-shadow: 0 6px 14px rgba(0,0,0,0.25);<br />
}<br />
.btn:hover { transform: translateY(-1px); }<br />
.btn:active { transform: translateY(0); }<br />
.btn.accent {<br />
border-color: color-mix(in srgb, var(–accent), #000 50%);<br />
background: linear-gradient(180deg, color-mix(in srgb, var(–accent) 50%, #fff 0%), var(–accent-ink));<br />
color: white;<br />
text-shadow: 0 1px 0 rgba(0,0,0,0.35);<br />
}</p>
<p> .card {<br />
background: linear-gradient(180deg, #131827, var(–card));<br />
border: 1px solid var(–rule);<br />
border-radius: 22px;<br />
padding: 28px 28px 36px;<br />
box-shadow: 0 20px 60px rgba(0,0,0,0.35);<br />
}</p>
<p> h1, h2, h3 { line-height: 1.2; margin: 0 0 8px; }<br />
h1 {<br />
font-size: clamp(28px, 4.2vw, 44px);<br />
letter-spacing: -0.02em;<br />
margin-bottom: 12px;<br />
}<br />
.meta { color: var(–muted); margin-bottom: 28px; }</p>
<p> h2 {<br />
font-size: clamp(20px, 2.5vw, 26px);<br />
margin-top: 34px;<br />
}</p>
<p> p { margin: 12px 0; }<br />
ul { margin: 8px 0 16px 24px; }<br />
li { margin: 6px 0; }</p>
<p> blockquote {<br />
margin: 18px 0;<br />
padding: 16px 18px;<br />
border-left: 4px solid var(–accent);<br />
background: color-mix(in srgb, var(–card), #000 8%);<br />
border-radius: 10px;<br />
}<br />
blockquote p { margin: 0; }</p>
<p> hr { border: none; border-top: 1px solid var(–rule); margin: 28px 0; }</p>
<p> .note { color: var(–muted); font-size: 14px; }</p>
<p> /* Drop cap for the opening paragraph */<br />
.lead:first-letter {<br />
float: left;<br />
font-size: 3.2em;<br />
line-height: 0.9;<br />
padding-right: 10px;<br />
margin-top: 6px;<br />
font-weight: 800;<br />
color: var(–accent);<br />
text-shadow: 0 6px 16px rgba(106,162,255,0.35);<br />
}</p>
<p> /* Print styles */<br />
@media print {<br />
body { background: white; color: #111; }<br />
.toolbar { display: none !important; }<br />
.wrapper { margin: 0; max-width: 100%; }<br />
.card { box-shadow: none; border: none; border-radius: 0; padding: 0; }<br />
a { color: black; text-decoration: none; }<br />
.note { color: #444; }<br />
@page { size: A4; margin: 20mm; }<br />
h1 { font-size: 28pt; }<br />
h2 { font-size: 16pt; margin-top: 18pt; }<br />
p, li, blockquote { font-size: 11.5pt; }<br />
blockquote { background: #f6f6f6; border-left-color: #888; }<br />
}<br />
</style>
[/av_codeblock][av_textblock fold_type='' fold_height='' fold_more='Read more' fold_less='Read less' fold_text_style='' fold_btn_align='' textblock_styling_align='' textblock_styling='' textblock_styling_gap='' textblock_styling_mobile='' size='' av-desktop-font-size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' background='bg_color' background_color='' background_gradient_direction='vertical' background_gradient_color1='#000000' background_gradient_color2='#ffffff' background_gradient_color3='' padding='' padding_sync='true' av-desktop-padding='' av-desktop-padding_sync='true' av-medium-padding='' av-medium-padding_sync='true' av-small-padding='' av-small-padding_sync='true' av-mini-padding='' av-mini-padding_sync='true' fold_overlay_color='' fold_text_color='' fold_btn_color='theme-color' fold_btn_bg_color='' fold_btn_font_color='' size-btn-text='' av-desktop-font-size-btn-text='' av-medium-font-size-btn-text='' av-small-font-size-btn-text='' av-mini-font-size-btn-text='' fold_timer='' z_index_fold='' id='' custom_class='' template_class='' av_uid='av-mfpdtbrg' sc_version='1.0' admin_preview_bg='']
<div class=”toolbar” aria-label=”Document tools”>
<div class=”toolbar-inner”><button class=”btn” title=”Send to a printer”>
️ Print
</button>
<button class=”btn accent” title=”Use your browser’s Save as PDF option in the dialog”>
Download PDF
</button></div>
</div>
<div class=”wrapper”><article id=”content” class=”card”><header>
<h1>Sermon: “You Are the Light of the World”</h1>
<div class=”meta”>Text: Matthew 5:14–16</div>
</header>
<p class=”lead”>So, you might have noticed the theme. Send the Light. Thy Word is a lamp. There’s definitely a theme going here.</p>
We are continuing through the best sermon ever preached by the greatest preacher ever. We have seen Jesus giving assurances to His followers in the Beatitudes—letting them know that His followers are blessed.Last week, we began looking at the section where Jesus tells His followers that they are salt and light.
<h2>Salt</h2>
We learned a few things about salt in Jesus’ day. Salt was precious. When Jesus said, “Ye are the salt of the earth,” His disciples understood the value. Salt was so valuable it was sometimes used as payment for soldiers.Its value came from its purpose:
- Preservative – As salt, we preserve the holiness of God and His Word in the world.
- Purifier – Salt was used as a cleansing agent; so are we in the world.
- Penetrating – Salt works its way in. We are called to go into all the world with the gospel.
- Creates thirst – Salt makes people thirsty. Do we, by our lives, make people thirst for the living water that is Christ?
Jesus also warned of useless salt: “If the salt has lost its savour… it is good for nothing, but to be cast out and trodden under foot of men.” Notice, Jesus never challenged us to be salt or light. He simply said, you are.
<hr />
<h2>Light</h2>
Matthew 5:14–16 — “Ye are the light of the world. A city that is set on a hill cannot be hid. Neither do men light a candle and put it under a bushel, but on a candlestick, and it giveth light unto all that are in the house. Let your light so shine before men that they may see your good works and glorify your Father which is in heaven.”
What a title. What a privilege—that Jesus would say we are the light of the world. But what does He mean?
<h3>Jesus, the True Light</h3>
John wrote of the Light in John 1:4–9: “In Him was life, and the life was the light of men. And the light shineth in darkness, and the darkness comprehended it not… That was the true Light, which lighteth every man that cometh into the world.” Of course, John was speaking of Jesus.Jesus confirmed it Himself in John 8:12—“I am the light of the world.” Again, in John 9:5—“As long as I am in the world, I am the light of the world.” But then Jesus turned to His disciples and said, “Ye are the light of the world.”
<h3>The Nature of Our Light</h3>- It is personal – Jesus has given every believer this light. He didn’t say we might be light someday; He said we are light.
- It is His light in us – We are not the source. Jesus is. We are the lamp, the candle, the bulb through which His light shines.
- It is powerful – Even the smallest light conquers darkness. A single match in a dark cave changes everything.
Paul reminds us in 2 Corinthians 4:6 that God “commanded the light to shine out of darkness” into our hearts. Philippians 2:15 calls us to shine as lights “in the midst of a crooked and perverse nation.”
The tragedy is that much of the darkness in our world exists because Christians have hidden their light.
<h3>The Purpose of Our Light</h3>- To shine – Light is not made to be hidden under a bushel but set on a candlestick.
- To expose – Light reveals what is hidden in darkness, including sin.
- To reflect – Like the moon reflects the sun, we reflect the Son.
- To guide – Like runway lights, a lighthouse, or a warning sign, our light points others to safety and to the Father through Christ.
<h3>The Result of Our Light</h3>
Jesus says, “Let your light so shine before men that they may see your good works and glorify your Father which is in heaven.” Our light draws others to God. Our good works should point people to Him, not to ourselves. Salvation is mankind’s greatest need—and our shining light directs people to Christ.
<h2>Closing Challenge</h2>
Light always overcomes darkness, but it must shine to make a difference. Is your light shining for Jesus? Can you truly sing, “This little light of mine, I’m going to let it shine”? Or are you hiding your light under a bushel?If you are trusting in Christ, you have His light. Let it shine.
Prayer — “Lord, we thank You for Your Word this morning and the encouragement that we are the light of the world. Help us not to cover or hide the light, but to let it shine, that others may see our good works and glorify our Father in heaven. Amen.”
<p class=”note”>Tip: Use Print to send directly to a printer, or choose Save as PDF in the print dialog to download a PDF copy.</p>
</article></div>
<script>
// Optionally hide buttons when printing (extra safety for non-supporting browsers)
window.addEventListener(‘beforeprint’, () => {
document.querySelector(‘.toolbar’)?.setAttribute(‘data-hidden’, ‘true’);
});
window.addEventListener(‘afterprint’, () => {
document.querySelector(‘.toolbar’)?.removeAttribute(‘data-hidden’);
});
</script>
[/av_textblock]Hello, right now the Footer links are below the Copyright. Can we right justify or something that looks better, with CSS code?
thanks!
I am very evidently not good with javascript, but was hoping to follow “recipe” on
to Show/Hide a section.
I was trying to create what’s entitled
- Toggle a Section when a button is clicked.
At end of functioning functions.php, I inserted the following code and got the error indicated in the subject line above.
The debug indicates an [18-Sep-2025 01:04:06 UTC] EXCEPTION: Unclosed ‘{‘ on line 1367 in functions.php on line 1393 — that appears to be right on the line prior to the add_action. If I put in } (to close it?), I still get the error.
Please, could somebody steer me right on this thing? I’m befuddled!
Thanks for any help from an expert!
======================================================================================//——————————-
// Toggle section
//——————————-function toggle_on_click(){
?>
<script>
jQuery(window).on(‘load’, function(){// Button onClick event
jQuery(“.toggle-button a”).on(“click”, function(e) {
// Add your button events here
console.log(” toggle section”);
jQuery(“#toggle-section”).toggleClass(“hide-me”);
console.log(” Prevent default “);
e.preventDefault();
});
});
</script>
<!–?php<br /–> }add_action(‘wp_footer’, ‘toggle_on_click’);
I am using Enfold 7.1.2 with PHP 8.4 with WooCommerce as a shop.
When a customer order the “processing email” it leaves a blank space between address 1 and the city, ST ZIP, such as the following:
Joe Bloe
1 Street AddressLos Angeles, CA 90029
It should be:
Joe Bloe
1 Street Address
Los Angeles, CA 90029How do I update the PHP code to remove the blank space on the email if there is no copy in Address 2 field?
I see this in WooCommerce:
To override and edit this email template copy woocommerce/templates/emails/customer-processing-order.php to your theme folder: enfold-child/woocommerce/emails/customer-processing-order.php.
I could use some help how and waht to change from the following:
<?php
/**
* Customer processing order email
*
* This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-processing-order.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://woocommerce.com/document/template-structure/
* @package WooCommerce\Templates\Emails
* @version 9.9.0
*/use Automattic\WooCommerce\Utilities\FeaturesUtil;
if ( ! defined( ‘ABSPATH’ ) ) {
exit;
}$email_improvements_enabled = FeaturesUtil::feature_is_enabled( ’email_improvements’ );
/*
* @hooked WC_Emails::email_header() Output the email header
*/
do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?><?php echo $email_improvements_enabled ? ‘<div class=”email-introduction”>’ : ”; ?>
<p>
<?php
if ( ! empty( $order->get_billing_first_name() ) ) {
/* translators: %s: Customer first name */
printf( esc_html__( ‘Hi %s,’, ‘woocommerce’ ), esc_html( $order->get_billing_first_name() ) );
} else {
printf( esc_html__( ‘Hi,’, ‘woocommerce’ ) );
}
?>
</p>
<?php if ( $email_improvements_enabled ) : ?>
<p><?php esc_html_e( ‘Just to let you know — we’ve received your order, and it is now being processed.’, ‘woocommerce’ ); ?></p>
<p><?php esc_html_e( ‘Here’s a reminder of what you’ve ordered:’, ‘woocommerce’ ); ?></p>
<?php else : ?>
<?php /* translators: %s: Order number */ ?>
<p><?php printf( esc_html__( ‘Just to let you know — we\’ve received your order #%s, and it is now being processed:’, ‘woocommerce’ ), esc_html( $order->get_order_number() ) ); ?></p>
<?php endif; ?>
<?php echo $email_improvements_enabled ? ‘</div>’ : ”; ?><?php
/*
* @hooked WC_Emails::order_details() Shows the order details table.
* @hooked WC_Structured_Data::generate_order_data() Generates structured data.
* @hooked WC_Structured_Data::output_structured_data() Outputs structured data.
* @since 2.5.0
*/
do_action( ‘woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email );/*
* @hooked WC_Emails::order_meta() Shows order meta data.
*/
do_action( ‘woocommerce_email_order_meta’, $order, $sent_to_admin, $plain_text, $email );/*
* @hooked WC_Emails::customer_details() Shows customer details
* @hooked WC_Emails::email_address() Shows email address
*/
do_action( ‘woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text, $email );/**
* Show user-defined additional content – this is set in each email’s settings.
*/
if ( $additional_content ) {
echo $email_improvements_enabled ? ‘<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”100%”><tr><td class=”email-additional-content”>’ : ”;
echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) );
echo $email_improvements_enabled ? ‘</td></tr></table>’ : ”;
}/*
* @hooked WC_Emails::email_footer() Output the email footer
*/
do_action( ‘woocommerce_email_footer’, $email );Topic: Widget page inactive
Hello,
The widget page is completely inactive; none of the buttons are working. In debug mode, I get the following error message:
Une erreur de type E_ERROR a été causée dans la ligne 153 du fichier /homepages/21/d858425693/htdocs/wp-content/themes/enfold/framework/php/widgets/widget-classes/class-avia-mailchimp.php. Message d’erreur : Uncaught TypeError: strip_tags(): Argument #1 ($string) must be of type string, array given in /homepages/21/d858425693/htdocs/wp-content/themes/enfold/framework/php/widgets/widget-classes/class-avia-mailchimp.php:153
Stack trace:
#0 /homepages/21/d858425693/htdocs/wp-content/themes/enfold/framework/php/widgets/widget-classes/class-avia-mailchimp.php(153): strip_tags()
#1 /homepages/21/d858425693/htdocs/wp-includes/class-wp-widget.php(535): aviaFramework\widgets\avia_mailchimp_widget->form()
#2 /homepages/21/d858425693/htdocs/wp-admin/includes/widgets.php(276): WP_Widget->form_callback()
#3 /homepages/21/d858425693/htdocs/wp-includes/widgets.php(845): wp_widget_control()
#4 /homepages/21/d858425693/htdocs/wp-admin/includes/widgets.php(119): dynamic_sidebar()
#5 /homepages/21/d858425693/htdocs/wp-admin/widgets-form.php(552): wp_list_widget_controls()
#6 /homepages/21/d858425693/htdocs/wp-admin/widgets.php(34): require(‘/homepages/21/d…’)
#7 {main}
thrown
Thank you for your helpDear Kriesi Team,
First of all, we apologies for using the Pre-Sales contact form to reach out. We are fully aware that support for the theme should be requested through your official help forum, but unfortunately, due to our specific situation, we cannot create a new thread there because do not have access to our original Purchase Code to register a new forum account and starting a conversation.
Many years ago, we purchased the WordPress theme Enfold and we are currently using version 4.6.3.1 of the theme.
We are in the process of updating the PHP version of our server, but the current version of the theme is not compatible with the new PHP version we are trying to install. To resolve this, we need to access the latest version of the theme and update it.
The problem is that the theme license is linked to an Envato account that we no longer have access to because it has been so long time since we purchased the theme, and therefore it is no longer available. For this reason, we cannot download the update for the theme and the child theme from that account.
We would like to know what options are available in this case. Is there an alternative way to obtain the theme update without having to purchase a new license?
We appreciate your help in advance, as we need to resolve this issue in order to complete the PHP update and maintenance of our server. We look forward to your response.
Best regards.
Hello,
I’ve noticed something strange in this latest version that didn’t happen before (I use 7.1.2 + WP 6.8.2).On a specific site, I use the native WordPress blog with Enfold and, at least until a few versions ago, when I inserted a gallery (the native Gutenberg element), the lightbox always worked. Now, when I create a gallery, it no longer works. I have correctly enabled the function in the back office: Lightbox Modal Window > checkbox is on
Is this normal?
Thanks for any help in solving this situation 😊
Hi folks.
SInce the beginning of my work with Enfold, I’ve added all my CSS customizations to the “quick CSS” frame in the Theme options.
Can I safely cut & paste all those customizations to the “style.css” file, in the Theme file editor?
(The style.css on the “Enfold CHILD”, of course.)I’ve already made a test with the staging website and, after a quick test, it seems I had no side effects.
Can you confirm I should not have any? Otherwise, I need to do a more detailed test in staging before doing it in production…Side note: I have WPML (3 languages in total), and I’ve always kept the 3 different “quick CSS” aligned: there are no differences among the 3.
Another reason why I’d like to unify the CSS into the style.css file.Thanks for your help!
Bye,
A.-Topic: avia-head-scripts
Hi guys,
I’ve seen this problem before but can’t get a solution.
The folder: /wp-content/uploads/dynamic_avia has now 670MB of 3000+ avia-head-scripts.xxx*.js files and keeps growing.Can anybody tell me how to get rid of this phenomenon?
I tried this: https://kriesi.at/documentation/enfold/how-to-clear-the-cache/
didn’t do anything,
Thanks, Stefan
Topic: Enfold memory error
Hi – my system reports kind of enfold memory error? This is with regard to the main page.
By clicking on the edit-button of the main page, an error screen appears.
Error code, see Private Content. How can I solve this problem?
Topic: Enfold Theme by Kriesi
Good evening support of Kriesi,
I am looking to purchase the theme Enfold for $ 59,00. I do have some questions:
I am looking to more or less duplicate a website (see the URL of the website in the section Private Content)
This is a quite simple website. Can I duplicate this website with other content and change the background colours in multiple different background colour blocks?Is everything I see included in this price or do you need to purchase additional elements to make this website work. (Some other theme supplier called the “pro-version”)
Also I want to add a calendar for making appointments. Do you have an solution for this?
Thank you in advance for your reply.
Kind regards,
Erik
Hi,
I’m Yuktha V from PluginHive, where we create smart shipping and booking solutions for WooCommerce and Shopify store owners.
I’m reaching out to explore a mutually beneficial collaboration, such as a link exchange. Specifically, I’d like to request a link placement in your article [https://kriesi.at/archives/enfold-version-3-5-woocommerce-bookings-integration-a-new-layout-mode-5-new-demos-and-more ]. In return, we’d be happy to feature your brand in one of our relevant articles, ensuring visibility for both sides.
Our goal is simple: help our audiences discover valuable solutions while boosting visibility for both brands.
If you’re open to this, I’d love to discuss how we can work together. If you’re not the right person, I’d appreciate it if you could point me to the appropriate team member handling partnerships or marketing.
Looking forward to your thoughts!
Best regards,
Yuktha V
Team PluginHive

