Viewing 30 results - 181 through 210 (of 1,619 total)
  • Author
    Search Results
  • #1400378

    Hi Ismael,

    Sorry, I forgot to disable 2FA temporarily, but it is now. To answer your questions, yes, I did have some animations in one of the reported fields but I turned it off after reading other threads on this topic. However, this has not improved my score. As for your custom script question, the answer there is no.

    Again any help or insight you can provide is greatly appreciated.

    -James

    #1399524

    Hi Nikko,

    Thank you for getting back to me.

    All of my images are 1000 x 1000px, for the first item I created an image 2000 x 2000px (2 times bigger) which didn’t change in height or width. I figured out that creating an image at 16:9 will take up 2 column spaces wide but obviously not in height and 9:16 will take up 2 columns spaces in height but not in width. Still don’t have a solution that takes up 2 column spaces both in height and width.

    I think this approach is too hit-and-miss for what I am trying to achieve, as well as the lightbox image then presenting the image at that cropped size, where it would be better if it displayed the full uncropped image.

    What other options do I have? I don’t want to add a third-party plugin.

    Can I modify the masonry_gallery.php in a way where I can specify my own HTML? that way I can create the layout without modifying the size of the images.

    <div class="grid">
      <div class="grid-item">...</div>
      <div class="grid-item grid-item--width2">...</div>
      <div class="grid-item">...</div>
      ...
    </div>

    Or modifying that function you shared https://kriesi.at/support/topic/change-image-size-on-masonry-gallery/ here to achieve my layout?

    My only other thought to achieve this is to create a custom element in my shortcodes folder and have the user input images in Advanced Custom Fields.

    Your help would be greatly appreciated.

    Thanks in advance
    Sean

    #1398969

    In reply to: shrinking sag logo

    Edit: because you have deactivate merging i can see that you have entered the values with comma – but you had to choose the dot 1.25 not 1,25
    Next: you have entered the values vice versa. The shrinkfactor 1.25 is on line 91 and the 5 is on line 78

    sorry i put in the table fields commata too.

    A shrink value of 5 means that it shrinks to 1/5th of the starting height. e.g.: Start at 100px End at 20px
    yes nomenklatura is not precise enough the shrink-factor is : 1/5 – but the value to enter on that line is 5
    Better name for it the mathematik correct way: denominator
    i will correct the link of mine.
    ___________

    just for understanding those calculations ( no need to read – but maybe you understand what is happening ):
    “st” is probably the abbreviation for scroll top.
    The line 78 checks if the scroll distance (now for the default value 2) is still smaller than half the initial height (for slim this is 82px; for large it is 116px and for custom the set value). As long as this is the case, the current header height corresponds to the value: initial height minus scroll distance.
    After that ( else case ) the height of the header is equal to : initial height divided by shrink factor. ( Line 91)

    This reply has been marked as private.
    #1397005
    MotiveAgency
    Participant

    Hi Support,

    I was wondering if there was a way to use a custom template part that is tied to a custom element template.

    For example, I am using Advanced Custom Fields and let’s say my custom template part looked something like the following:

    <?php
    /**
     * Breaker bar
     * 
     * @param string title
     * @param string summary
     */
    ?>
    <?php 
        $title = get_field('breaker_title');
        $summary = get_field('breaker_summary');
    ?>
    ​
    <section class="breaker">
    	<div class="container">
    		<div class="breaker-box">
    			<div class="breaker-content">
    				<h2 class="breaker-title"><?php echo $title; ?></h2>
    				<span class="breaker-summary"><?php echo $summary; ?></span>
    			</div>
    		</div>
    	</div>
    </section>

    Do you have a base file that I can put in the config-templatebuilder/avia-shortcodes/ that has something like “_get_template_part” to return the above component to where ever the custom element template (CET) was placed on a page?

    I did think about creating an actual page template but that would then mean the components are hardcoded to the page, and it would be nice if the user could place that component wherever they wanted on the page.

    I’m aware I can modify one of the avia-shortcodes by including it in my child theme, but they all seem to be quite large, I assume because they have all the extra customisation options for the particular component you have copied, but I wouldn’t require those (styling tab, development tab etc), I just want some code to be outputted.

    Thanks
    Sean

    #1377438

    Hi Ismael

    Thank you for your response, that’s my issue I have triple checked and can’t see where the custom tags go “Toggle Sorting Tags” field doesn’t exist in the accordion section?

    Could you add a couple of dummy text fields so I can visually see what I am missing?

    Andrew

    #1377047

    Let me try a deeper explanation of #1 above.

    I have a single product in a store.
    I have added the PayPal standard checkout.
    The checkbox for accepting the site’s Terms & Conditions is required.
    The “container” at the bottom of the checkout page contains the PayPal buttons and the required T&C checkbox.
    The required T&C checkbox is BELOW the PayPal buttons.
    Customers can not see the checkbox.
    Customers attempt to pay via PayPal, but of course it will not process.

    SOLUTION NEEDED: HOW DO I MOVE THE CHECKBOX ABOVE THE PAYPAL BUTTONS? SAME AREA, DIFFERENT ORDER.
    Checkbox first. PayPal buttons below.

    NOTE: I have tried several checkout plugins for managing checkout fields. None so far have options for the payment area.

    #1376096
    sdsitetechdotcom
    Participant

    Hello there,

    I’ve come across a PHP Snippet that I am trying to incorporate in my child theme’s functions.php file. My goal is to hide the following section when the user selects the Local Pickup option when checking out:

    Hiding This Part When User Selects Local Pickup

    This is the link to the code that I found, and I’ve attached the code to this post as well.

    /**
     * @snippet       Hide Shipping Fields for Local Pickup
     * @how-to        Get CustomizeWoo.com FREE
     * @sourcecode    https://businessbloomer.com/?p=72660
     * @author        Rodolfo Melogli
     * @testedwith    WooCommerce 3.5.7
     * @donate $9     https://businessbloomer.com/bloomer-armada/
     */
       
    add_action( 'woocommerce_after_checkout_form', 'bbloomer_disable_shipping_local_pickup' );
      
    function bbloomer_disable_shipping_local_pickup( $available_gateways ) {
        
       // Part 1: Hide shipping based on the static choice @ Cart
       // Note: "#customer_details .col-2" strictly depends on your theme
     
       $chosen_methods = WC()->session->get( 'chosen_shipping_methods' );
       $chosen_shipping = $chosen_methods[0];
       if ( 0 === strpos( $chosen_shipping, 'local_pickup' ) ) {
       ?>
          <script type="text/javascript">
             jQuery('#customer_details .col-2').fadeOut();
          </script>
       <?php  
       } 
     
       // Part 2: Hide shipping based on the dynamic choice @ Checkout
       // Note: "#customer_details .col-2" strictly depends on your theme
     
       ?>
          <script type="text/javascript">
             jQuery('form.checkout').on('change','input[name^="shipping_method"]',function() {
                var val = jQuery( this ).val();
                if (val.match("^local_pickup")) {
                         jQuery('#customer_details .col-2').fadeOut();
                   } else {
                   jQuery('#customer_details .col-2').fadeIn();
                }
             });
          </script>
       <?php
      
    }

    I’m assuming that '#customer_details .col-2' from the included PHP snippet above needs to be changed to something like woocommerce-shipping-destination and "woocommerce-shipping-calculator"

    Any help is appreciated, thanks very much!

    #1375232

    In reply to: Header conflict

    Hi,
    When I check your child theme I see that you had an old header.php but no footer.php these to files went together so I would expect an error using the old header.php and a new footer.php. But your header.php is disabled right now and you are seeing the error so it doesn’t point to that as the error.
    I see you are using Advanced Custom Fields, is this what is adding the recipes?
    I mean that your recipe post type only shows shortcodes so are these shortcodes injected into a custom post loop to display?
    If so this might be added to page as a footer because the code is looking for a div like “content” or such.
    This would explain why when you use no page as a footer and just the normal footer with widgets the error doesn’t occur.

    Best regards,
    Mike

    Hi,
    Thanks for the login, so your header.php is adding the Google Tag Manager code and some ontraport scripts, this can be added to the child theme functions.php and is not a big deal. We don’t recommend using a header.php or footer.php in your child theme or you will keep having to update these files in most updates.
    Your footer seems to be adding some call-to-action scripts, so this can also be moved to the functions.php
    Your custom single.php & related-posts.php files have minor edits and I have made updated versions for these for v5.2.1
    But your loop-index.php has major customizations and the v5.2.1 version is quite different so you are going to need to customize a new v5.2.1 loop-index.php for when you update. If you had hired someone to do this before please ask them to help you again because I don’t understand the customization and it is beyond what I can help you with.
    Your custom contentslider.php was only edited to show the arrow and dot navigation at the same time so it should be easy to update.
    If the theme had not changed so much from 4.5.7 to 5.2.1 then you could have just used your custom files and updated with no issues, but back around v5 the theme added more features and changed many core files like the loop-index.php
    I found that your Advanced Custom Fields plugin adds custom classes to your pages and your css is based on this, so this is why when we updated the elements on your homepage was so different because we had disabled all of your plugins so the Advanced Custom Fields plugin was not added the custom classes and your css was not working.
    So at least we figured that out.
    So we could probably update with the new files I made for you and most of your pages would be fine, but not your loop-index.php, so I imagine that you are going to want to wait to update until you get a new custom loop-index.php created.

    Best regards,
    Mike

    Hi,
    ACF is your plugin Advanced Custom Fields
    I don’t see how the Header.php and Footer.php would change the layout it is not expected.
    How about we try again, please restore the staging site back to the old version that is correct, and then I will investigate it first and then try to update again and see what happens.
    Sorry for the back and forth, but I have not seen this kind of error before.

    Best regards,
    Mike

    #1373886

    Hi,

    The header_block class is not present on the page you linked to, please check. Also, you only need to add the class in the Custom CSS class field, not in all the fields.

    Best regards,
    Rikard

    #1373865
    TakiwaSoulArt
    Participant

    Hi,

    there is a new question for another website (link in private content).

    The application is divided into 4 fields of 1/4 each. When I activated the privacy policy, the 4th field moved to the second line. The 4th field (the Send button) should be back in the first line on the far right and then the checkbox with the note for the privacy policy below it.

    Many thanks and best regards

    #1373457

    Hi,

    Sorry for the delay. We are still not sure what is causing the issue, but it seems to only happen after the toggle_shipping function in the plugins\woocommerce\assets\js\frontend\cart.js file ran, which affects the quantity fields for some reason. Adding this script in the functions.php file might help to reactivate the quantity buttons after the shipping state changed.

    
    function av_custom_inline_script() {
    	wp_add_inline_script( 'jquery', 
    		"
    		(function($) {
    			$( document.body ).on( 'country_to_state_changed', function() { 
    				avia_apply_quant_btn();
    			} );
    		})(jQuery);
    		"
    	);
         }
    add_action( 'wp_enqueue_scripts', 'av_custom_inline_script' );
    

    Best regards,
    Ismael

    #1373200

    Hi,
    Thanks for the link to your page, the top element is the special heading element and in the title field you have added an emoji, these title fields do not support HTML or HTML Entities
    So each this you save the page they will be lost, if you open the element you will see it doesn’t show:
    sh-no-emoji.png
    if you add HTML you will see the warning message, this is also for emoji’s I will recommend to the Dev Team to add the warning for emoji’s
    2022-11-19_002.png
    To solve this you can add the emojis via CSS with the :before / :after selector see the example in this article.
    For example:

    .av-special-heading-tag::after {
        content: "💸";
        display: inline !important;
        border: none !important;
        box-shadow: none !important;
        height: 1em !important;
        width: 1em !important;
        margin: 0 0.07em !important;
        vertical-align: -0.1em !important;
        background: none !important;
        padding: 0 !important;
    }

    I would recommend adding a custom class the special headings that you want this to show on so it doesn’t show on all special headings, unless that is what you want.
    I created a test page for you linked below with a special heading element and the custom class flying-money-emoji
    2022-11-19_003.png
    Then I added this CSS in a code block on the page:

    .flying-money-emoji .av-special-heading-tag::after {
        content: "💸";
        display: inline !important;
        border: none !important;
        box-shadow: none !important;
        height: 1em !important;
        width: 1em !important;
        margin: 0 0.07em !important;
        vertical-align: -0.1em !important;
        background: none !important;
        padding: 0 !important;
    }

    This is the result:
    2022-11-19_004.png
    Please give this a try.

    Best regards,
    Mike

    #1370980
    Steve Webgecko
    Participant

    Hi team

    Please add this function to your next Update:

    Alert message on Form when required fields not filled.
    As Popup Lightbox or like CF7 Form does: on bottom of form with a little message in a box.
    On darker templates no chance to see the red borders of required form fields.

    Millions of ENFOLD customers would appreciate this, believe me.

    Thank you
    Steve

    #1370191

    There is also some hint from the quform support:

    “Unfortunately the Enfold theme uses very strong CSS selectors (prefixed with #top) for fields which overrides the base Quform field CSS.
    It’s possible to override it though with custom CSS. Something like the code below should work to set the border/background of Text, Email and Textarea fields. You can add it to Forms – Settings – Custom CSS & JS – Custom CSS (All devices).”

    #top .quform .quform-element-text input[type="text"],
    #top .quform .quform-element-email input[type="email"],
    #top .quform .quform-element-textarea textarea {
        border: 1px solid #ccc;
        background-color: #fff;
        color: #555;
    }
    #top .quform .quform-element-text input[type="text"]:focus,
    #top .quform .quform-element-email input[type="email"]:focus,
    #top .quform .quform-element-textarea textarea:focus{
        border-color: #66afe9;
    }

    Adjust the colors to suit.”

    “Enfold theme uses very strong CSS selectors (prefixed with #top) for fields which overrides the base Quform field CSS”

    That sound incompatible to me, or do you have some trick to make quform work ?
    Kind Regards
    Jens

    #1369926

    Hi Mike,

    No, I don’t think it’s a matter of adding the option (although it’s always a good thing to do these days) Personally, I would have them select a pronoun or Mr/Ms/Mrs/etc for a more business like approach – but this was the client’s decision. (In this case)

    This is that you have to explain what the field is about. Having something to select M or F, does not explain what they stand for. You need a Field Name.

    Imagine this example. You offer invitations and give them a choice of ink color and paper color. So, you have two fields where you pick one option. If you do not show the title, how do you know what the customer picked? The paper or the ink?😳

    You need to display the title as either all the titles are inlined or they are not. Listening to the people who requested removing it was a mistake. These are not marketing/business/conversion people – in my humble opinion. I would bring this part back. 😉

    Warmly,

    Havi <3

    #1368899
    domchocolate
    Participant

    Hi I have ACF installed and am using it to add fields to the bottom of my portfolio edit page.
    I am adding ACF shortcodes to elements within the ALB.

    Most are working well but I have uploaded a hero image for each via an ACF upload image field. This field (at the moment) returns an Image URL (for example “https://owe.brother.design/wp-content/uploads/2022/10/3_OxfordStationComp_1120x800.jpeg&#8221;

    I was hoping to then use the said URL in either a text block eg: <img class="alignnone size-full wp-image-391" src="[acf field="field_6349785a674e0"]" alt="" width="1120" height="800" /> which doesn’t work or somehow within the Media/Image element in ALB.

    Do you have any advice on how I can do this? Thanks in advance.

    Dominic

    • This topic was modified 3 years, 2 months ago by domchocolate.
    • This topic was modified 3 years, 2 months ago by domchocolate.
    #1368213

    In reply to: Google fonts local

    Hi,

    In Layer Slider the DOSIS font is not available anymore.

    Yes, we disabled Google Fonts in the Layer Slider settings. Did you check the site again using the google-fonts-checker/ tool? If you want to apply the Dosis font using the local font files, then you have to do it manually using the custom css fields in the layers’ Style > Advanced Settings panel.

    Thank you for your patience.

    Best regards,
    Ismael

    #1368037

    I’ve checked Safari as opposed to chrome and it’s still not displaying it on pages. Not sure how to attach a screenshot.

    On the posts it’s there – the Layout Tab is on right hand side under categories and tabs. But on pages I’m just seeing Publish, Page Attributes and Featured Image. It’s also not underneath but there is a custom fields section which seems to be new and relate to layout but not sure what it’s supposed to do.

    #1367663

    Hi,

    Glad to know that you managed to include the custom fields in template. Please let us know if you have more questions bout the theme.

    Have a nice day.

    Best regards,
    Ismael

    #1367621

    Hi, again
    While I was waiting for your answer, I tried to investigate a bit more to find the solution to my “advanced fieds not displaying” problem.
    I found out that to display these advanced custom fields, I needed to insert more code in the single.php file. This is the code:
    <div class=”infos-service”>

    • Collectivités : <?php the_field(‘collectivites’); ?>
    • Adresse : <?php the_field(‘adresse’); ?>
    • Téléphone : <?php the_field(‘telephone’); ?>
    • Courriel : <?php the_field(‘courriel’); ?>
    • Services et prestations : <?php the_field(‘services-et-prestations’); ?>
    • Missions autres que documentaires : <?php the_field(missions-autres-que-documentaires’); ?>
    • Rattachement hiérarchique : <?php the_field(‘rattachement-hierarchique’); ?>
    • Nombre de personnes dans le service : <?php the_field(‘nombre-de-personnes-dans-le-service’); ?>
    • Logiciel documentaire utilisé : <?php the_field(‘logiciel-documentaire-utilise’); ?>

    </div>

    I now have 2 questions:
    – I’m supposed to insert these lines in the single.php file but there is no such file in the Enfold Child Theme larger file. Should I insert these code lines in the regular Enfold file?
    – if so, my documentation (https://kinsta.com/blog/advanced-custom-fields/#display) tells me I should paste below the entry-content section… which does not exist in the Enfold single.php file. I’m pasting the whole file below, could you tell me where I need to paste the new code lines? Thanks in advance!

    <?php
    if( ! defined( ‘ABSPATH’ ) ) { die(); }

    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    $title = __(‘Blog – Latest News’, ‘avia_framework’); //default blog title
    $t_link = home_url(‘/’);
    $t_sub = ”;

    if( avia_get_option( ‘frontpage’ ) && $new = avia_get_option( ‘blogpage’ ) )
    {
    $title = get_the_title( $new ); //if the blog is attached to a page use this title
    $t_link = get_permalink( $new );
    $t_sub = avia_post_meta( $new, ‘subttenitle’ );
    }

    if( get_post_meta( get_the_ID(), ‘header’, true ) != ‘no’ )
    {
    echo avia_title( array( ‘heading’ => ‘strong’, ‘title’ => $title, ‘link’ => $t_link, ‘subtitle’ => $t_sub ) );
    }

    do_action( ‘ava_after_main_title’ );

    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>

    <div class=’container template-blog template-single-blog ‘>

    <main class=’content units <?php avia_layout_class( ‘content’ ); ?> <?php echo avia_blog_class_string(); ?>’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’post’));?>>

    <?php
    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-index.php and that will be used instead.
    *
    */
    get_template_part( ‘includes/loop’, ‘index’ );

    $blog_disabled = ( avia_get_option(‘disable_blog’) == ‘disable_blog’ ) ? true : false;

    if( ! $blog_disabled )
    {
    //show related posts based on tags if there are any
    get_template_part( ‘includes/related-posts’ );

    //wordpress function that loads the comments template “comments.php”
    comments_template();
    }
    ?>

    <!–end content–>
    </main>

    <?php
    $avia_config[‘currently_viewing’] = ‘blog’;
    //get the sidebar
    get_sidebar();

    ?>

    </div><!–end container–>

    </div><!– close default .container_wrap element –>

    <?php
    get_footer();

    #1367588

    Hi, Ismael
    Thanks for your anwsers, things are slightly improving… but are still not fully functionnal.

    I installed the child theme and inserted the necessary code in the functions.php file. The custom post type can be displayed but only with its title and icon image. The advanced custom fields do not display at all… What is missing?

    Thanks in advance for your answer… I’m sure we are almost there!
    Take care

    #1367471

    In reply to: Update on ACF support

    Hi, Rikard!

    I think the biggest challenge for us is the inability to easily add custom content without resorting to digging in templates. My hope was that Avia could use the normal post type taxonomy selector, and then it would pull up a list of the fields available under that taxonomy. To me, it feels like Avia is so close to solving this, but the one thing missing is the bridge between taxonomies and ACF data. I am probably way over-simplifying things, but I have found in the past that sometimes the answer is right in front of us.

    That said, with the constant need for custom content and content types, was the intended technique always to hand-code templates for CPTs? There are several good and established options out there (CPTUI, ACF, Pods, etc.), with a ton more coming. I guess what I am asking is instead of waiting for our theme competition to seize on it, can we find a way to lead the charge with a solution that is equally as powerful as Enfold?

    If it is a matter of time or cost, let developers like us find a solution for that. I would have no problem paying more to have a more enhanced feature set, and I have said that many times in the past. We need tools to continue to promote Enfold as the best solution, especially with WordPress trying to eat everyone’s lunch these days. I don’t want to be stuck with only Automattic solutions, and the idea of Elementor and its bloat scares me almost equally.

    If you build a solution for CPTs and Custom Fields, or even a solution that ties in with them, we will have no problem with additional licenses to support those efforts. It would open tons of opportunities to push Enfold way beyond the scope it was designed for.

    Additionally, we would have no problem paying for a Pro version of Enfold. In fact, we would welcome it with open arms, as it would be a way to contribute to building out Enfold with more resources, rather than just the recurring support residuals. Let us know what it would take.

    -jason

    #1367204

    In reply to: Update on ACF support

    Hi,

    Sorry for the late reply. I’m no expert on ACF unfortunately, but I’m not sure if there is a way of displaying ACF fields without adding code to the template which is going to display the content of the field? If you know a solution for that, then please post a link to where we can see some documentation on that.

    I see that you are using CPTUI shortcode on one of the pages you linked to, but I’m not really familiar with either unfortunately, could you try to explain the functionality of that a bit further as well? Also, is the shortcode in question working with a default WordPress theme? How exactly did you register your custom post type?

    If I were to do what you are looking to achieve, then I would probably register a new custom post type manually, then use the single-portfolio.php/loop-portfolio-single.php as templates for the new post types. Then add the ACF code in those new templates. Please note that fields won’t output anything if you are using the Layout Builder.

    Best regards,
    Rikard

    #1366801

    Topic: Update on ACF support

    in forum Enfold
    Jason E
    Participant

    Has there been any progress on adding ACF (Advanced Custom Fields) support, without writing php templates? It was mentioned that it was on the list of features to be added back before 4.8.

    I really ned a quick way to display single listings of a custom post type with custom fields.

    #1365756

    In reply to: Bug in Form

    Hi,
    In your form you have the labels hidden with the Hide Form Labels option in the style tab, thus the fields use a placeholder to label the fields:
    2022-09-20_004.jpg
    the placeholder option for the multi select section is to add “disabled” so the option is not selectable as in my solution above:
    2022-09-18_005.jpg
    this keeps the form consist with no labels above the fields.
    In your shortcode you have added a text field to act as a label above the multi select section:
    2022-09-20_003.jpg
    I didn’t realize that you wanted a label above this only section, so I recommend removing your text section and adding the text to the Form Element Label:
    2022-09-20_005.jpg
    and adding this css:

    .avia_ajax_form.av-form-labels-hidden label[for="avia_3_1"] {
    	position: unset;
    }
    .avia_ajax_form.av-form-labels-hidden #avia_3_1 option:first-child {
    	display:none;
    }

    which will show the label for this one field:
    2022-09-20_006.jpg
    I added a link to a new test page below, this is the updated shortcode from your last post:

    [av_contact title='' button='Senden' on_send='' sent='Ihre Nachricht wurde versendet!' link='manually,http://' captcha='active' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email='info@.......de' from_email='' subject='' autoresponder_email='info@......de' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' hide_labels='aviaTBhide_labels' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='kursformular' template_class='' aria_label='' av_uid='av-l59y6d3l-6' sc_version='1.0' admin_preview_bg='']
    [av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-19lvsfd-5' sc_version='1.0'][/av_contact_field]
    [av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-35sn6x-4' sc_version='1.0'][/av_contact_field]
    [av_contact_field type='select' label='Für welchen Kurs möchten Sie anfragen?' options='Ohne Geige geht es nicht,Streichen lernen / 22.10.2022' multi_select='aviaTBaviaTBmulti_select' check='' element_display='' width='' headline_tag='h3' av_uid='av-l5e3okhn-3' sc_version='1.0'][/av_contact_field]
    [av_contact_field type='text' label='Anzahl der Personen?' options='' check='is_number' element_display='' width='' headline_tag='h3' av_uid='av-l59y48df-2' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field]
    [av_contact_field type='textarea' label='Anmerkung' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l59y4xcu-1' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field]
    [/av_contact]
    

    As for your question about the text: “Bitte löse die Gleichung. Diese Maßnahme dient der Abwehr von Spam” (my English translation is: Please solve the equation. This measure serves to protect against spam)
    I only see the text: Please prove that you are human by solving the equation *
    I’m not sure if it is the same text and your is German, or if your text is added somewhere else, but when the Hide Form Labels option in the style tab is used no text is shown:
    2022-09-20_007.jpg
    if labels are shown it is like this:
    2022-09-20_008.jpg
    if you are seeing something different the check your customizations or Enfold Theme Options ▸ Privacy and Cookies ▸ Append a privacy policy message to template builder contact forms?
    2022-09-20_009.jpg

    Best regards,
    Mike

    #1365694

    Topic: Theme issue in PHP 8.0

    in forum Enfold
    fanlokbun
    Participant

    Hi I have a site that has been customised to use advanced custom fields to create an online database of the stories of people on local war memorials. I have to update the site from PHP 7.4 to 8.0 but when I do the final page doesn’t show (link below). It currently works as still running 7.4. The server company (one.com) says it is a problem with the theme. I don’t think it is the Enfold theme as it isn’t a problem where I have used it elsewhere. I suspect it is a problem with the child theme where there are additional files (includes and page-templates) to give the needed functionality. I did not write these files and I have very basic PHP knowledge. Can you suggest how I go about resolving the problem please? You have always managed to help me get to the bottom of things in the past.
    Thanks
    Rob

    #1365096
    emilconsor
    Participant

    Hi there,

    I’ve seen a lot of those questions here, but none of them worked for me or weren’t suitable for my project.

    We got 3 menus which can be selected to be displayed on pages. To do that, I’ve created a custom field with Advanced Custom Fields and written the separate IDs of the 3 menus as options. So far, so good.
    But when it comes to changing the menu, it just won’t work. I’ve edited the “helper-main-menu.php” and added the header ID to the arguments before calling wp_nav_menu:

    if(get_field('header_selection')) {
    			$headerID = get_field('header_selection');
    			$args = array(
    					'menu' 				=> $headerID, 
    					'theme_location'	=> $avia_theme_location,
    					'menu_id' 			=> $avia_menu_class,
    					'menu_class'		=> 'menu av-main-nav',
    					'container_class'	=> $avia_menu_class.' av-main-nav-wrap'.$icon_beside,
    					'items_wrap'        => '<ul role="menu" class="%2$s" id="%1$s">%3$s</ul>',
    					'fallback_cb' 		=> 'avia_fallback_menu',
    					'echo' 				=>	false,
    					'walker' 			=> new avia_responsive_mega_menu()
    			);
    } else { ..(args without menu-id).. }

    But it just wont display the right menu. If I remove “theme_location”, it will work, but the styling is way off and it isn’t really working perfectly.

    As you can see, I’m not afraid to code, so please don’t suggest other plugins. I really need that to be done manually with ACF.

    Thanks in advance!

    • This topic was modified 3 years, 3 months ago by emilconsor.
Viewing 30 results - 181 through 210 (of 1,619 total)