Forum Replies Created
-
AuthorPosts
-
Hi,
I tried this code but i see only the products in the search results. I don’t see the simple post though the count of all the results also includes the post.
Why?
thanks
TobiaThe website is in a test environment.
I send you the login credentials.
If you take any product and convert the description with Advanced Layout Builder and then open the frontend, the page is seen as page blog and all information regarding the product disappears.
thanks
TobiaOk thanks but how to use this function?
is correct so?
`add_filter(‘avf_contact_form_submit_button_attr’,’avia_add_submit_attributes_to_cf’, 10, 3);
function avia_add_submit_attributes_to_cf($att, $formID, $form_params){
$attr=’jQuery(“.avia_ajax_form p”).each(function(){
if ( jQuery( this ).hasClass( “error” ) ) {
errore=true;
}’;
…
return $att;
}Ok, but if I did want to intercept the original validation function in Enfold, where can i find it?
I saw in class-form-generator-php file that there is the function “check_element” but i don’t know if this check is made during the creation of the form or during the submit.
I need to insert some custom jquery code to add the existing code of Enfold before submit form.
How can I do?
thanks
TobiaI solved it with this:
jQuery('.avia_ajax_form input[type="submit"]').on('click', function(event) {
ciao
Tobia- This reply was modified 7 years, 9 months ago by digitos.
I solved it!!
thanks…great!Read below. Thanks!
I have same trouble. I tried all tutorial of this forum.
I use this code that i inserted in the end of functions.php file
function avia_add_custom_icon($icons) {
$icons[‘gruppo_chiuso’]= array(‘font’ =>’fontello’, ‘icon’ => ‘0xe801’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Gruppo chiuso’] = ‘gruppo_chiuso’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);`Can you help me? thanks!
- This reply was modified 8 years, 2 months ago by digitos.
I have the same error and i modified some files of theme. And now? Noooooo………
-
AuthorPosts