Forum Replies Created
-
AuthorPosts
-
if that is your intention ( i can not see private content) – the honeypot strategy is allready implemented by Contact Form of Enfold for security reasons.
Line 440ff of contact.php in shortcodes:
//fake username field that is not visible. if the field has a value a spam bot tried to send the form $elements['avia_username'] = array('type'=>'decoy', 'label'=>'', 'check'=>'must_empty');-
This reply was modified 8 years, 3 months ago by
Guenni007.
Well i guess you have installed your Enfold with a Demo.
And second guess you have a demo on which the Header is in front of a dark background (like the Enfold2017 Demo) – on scrolling the header gets visible with a semitransparent background color.Enfold got for that header behavior two logos to upload. A Logo for that case and the upload is on Enfold – (or Enfold-Child) – Header – Transparency Options. So it might be good to make two different logos for that case. One for dark backgrounds and one for normal Behavior.
Transparency Logo and Transparency Menu Color to set here
by the way – you have to copy paste your changes in quick css to each language – this does not work in an automatic way
first of all did you update to the latest Woocommerce – because they get back to a less secure way.
and you should only use one of the snippets – some comments on the internet says that :
…can you provide some filter code for reducing the password requirement to 2 when you get a chance? Presumably if you use the woocommerce_min_password_strength filter you should not be using remove_wc_password_meter as that defeats the purpose.
so try to let the password_meter as it is and only use the last snippet – maybe with the 1
have you played a bit with the strength settings? maybe 2 is too high than take 1
function reduce_woocommerce_min_strength_requirement( $strength ) { return 1; } add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );in der Seite hat der Surrounding Container ein negatives top-margin
.optIn1 { margin: -2% 1% 0 10%; }it will be best to have your page with the desired aim.
hm – you can try it with:
Strength Settings
3 = Strong (default)
2 = Medium
1 = Weak
0 = Very Weak / Anythingfunction reduce_woocommerce_min_strength_requirement( $strength ) { return 2; } add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );but be careful – a strong password saves not time but nerves. Test a password with 8 digits here – and see how long it will take to get it!
https://www.passwortcheck.ch/passwortcheck/passwortcheck-
This reply was modified 8 years, 3 months ago by
Guenni007.
https://www.youtube.com/watch?v=8SHiL4u7m_Y
Mit dem Update zur WooCommerce Version 2.5.1 kann man jetzt auch wieder mit einem schwachen Passwort einkaufen, aber die Anzeige der Passwortstärke ist weiterhin vorhanden.
this to your child-theme functions.php:
function wc_remove_password_strength() { if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) { wp_dequeue_script( 'wc-password-strength-meter' ); } } add_action( 'wp_print_scripts', 'wc_remove_password_strength', 100 );or you can use a little plugin for that: https://de.wordpress.org/plugins/password-strength-for-woocommerce/
-
This reply was modified 8 years, 3 months ago by
Guenni007.
but i guess in this case the tip of victoria is quiet the best. It comes from the autop function of wordpress.
you can try it via functions.php of your child-theme:remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );or if you only like to avoid autop in textarea element: make your own shortcode of textblock.php
find line: guess on newest version it is line 201
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode( $params['content']) )))."</div>";replace it by:
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim(html_entity_decode( $params['content']) ))."</div>";-
This reply was modified 8 years, 3 months ago by
Guenni007.
August 2, 2017 at 12:35 pm in reply to: Tab Section: Pagination & Load More Not Working Correctly #833391oh – i will try too. isn’t there a functions.php trick to overwrite that orig function and set up the new function in child-theme?
Edit: see here (primitive but just to see what has changed! : https://webers-testseite.de/ajax-portfolio/
it seems not to work as expected.
The pagination leeds to tab 1
The container gets bigger on case one – load more button ! OK-
This reply was modified 8 years, 3 months ago by
Guenni007.
if you are familiar with shortcode handling here on enfold and how to edit your own shortcode element – the id is one of the less complicated fields of input to create. The array is allways the same to implement and you only have to add some lines to
$attsand$defaultsand on output.But the magazine does have its own id allready so you can use the given id (av-magazine-1, …) – the only thing why this could be a good idea is to use it as anchor – adressing should go with class aswell.
For example – i made me a custom hr.php because sometimes i use that whitespace hr to adress with an anchor. It gaves me the opportunity to shift the link a bit.
yes but this will end in a nonvalide code – duplicate IDs. so – if grid element can have a count (av-layout-grid-1. etc.) why not the after_submenu ?
or change in code from id to class after_submenuhey victoria – nice but did you recognize the date of that post ?
can be closedhm – i can not confirm this form my installations. i tested it a few minutes ago and all three E-Mail Adresses were delivered ( newest Enfold and WordPress). if all fails on your server , maybe you can use the smtp method by using the plugin: WP SMTP Mail
you can see a tutorial here: https://www.siteground.com/tutorials/wordpress/send-emails-with-smtp.htmby the way you are talking about widget – but you mean the alb element of video or sliders.
Here is a slider : https://webers-testseite.de/kokon/spielwiese/
after the first film (you can skip it there is the youtube video and as it is said befor with ?rel=0 after the url.
Works well and responsive. A fullwidth slider can’t be responsive in the real manner.but don’t take
https://youtu.be/5guMumPFBagtake this as link:http://www.youtube.com/watch?v=5guMumPFBag?rel=0not the embed and the short form.
btw if you like to have more options – maybe as an image link goes to lightbox film you can use it with
&http://www.youtube.com/watch?v=5guMumPFBag?rel=0&autoplay=1&iframe=true&showinfo=0etc. pp
or on that page i used :
https://www.youtube-nocookie.com/embed/5guMumPFBag?rel=0&controls=0&showinfo=0&autoplay=1look what happens to – click that image beneath the slider
so you can even hide the player controls !-
This reply was modified 8 years, 3 months ago by
Guenni007.
sorry – i used that page to demonstrate something on another thread.
Look again please
if i use prepend to input button – the inserted code goes between
<input> and </input>function prepend_to_submit(){ ?> <script> (function($){ $('input.button[type="submit"]').prepend('<i class="fa fa-envelope-open-o"></i>'); })(jQuery); </script> <?php } add_action('wp_footer', 'prepend_to_submit');it is in the source code but not visible on some reasons.
right solution by entering in the enfold dialog Submit input field : Submitleft side fontawesome included but not visible
https://webers-testseite.de/kokon/elements/contact-form/-
This reply was modified 8 years, 4 months ago by
Guenni007.
the input button destroys every method i can imagine !
For some reasons i tried it with embeding fontawesome (functions.php of child-theme) :
add_action( 'wp_enqueue_scripts', 'enqueue_awesome' ); function enqueue_awesome() { wp_enqueue_style( 'prefix-font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', array(), '4.7.0' ); }and than add the concerning class to the submit button:
function add_class_to_submit() { ?> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('input.button').addClass('fa fa-envelope-open-o'); }); </script> <?php } add_action('wp_footer', 'add_class_to_submit', 20);this works but font isn’t visible – the pseudo-class before and after did not work
The image above is two things in one.
so to be clear: if you try only red arrows – that will work with that little css in quick css:
input.button[type="submit"] { font-family: entypo-fontello; }but the thing is – that a handful of people will know how to copy/paste those glyphs from source code.
i make a button with icon elsewhere and look to the source code. Copy paste that glyph : f.eand insert it in the submit field as: Submit
so this method only will work if we can offer f.e a table of fontello-icons with there code and with that glyphs.Or the other method for noobs – just edit the
no that is not what i want – i told here https://kriesi.at/support/topic/adding-an-icon-to-the-form-submit-button/#post-828508 that this will be the fastest way to get an entypo-fontello icon to the submit button – you only have to put in that field the copied sign plus Submit text and set up css for font-family than.
red arrowsbut i want to edit the shortcode to have the oportunity to have icons for that button looks this way newfields with blue arrows
but inserting in that input field the
"{$display_char}"." ".$buttonends up ( see preview in image above)
that comes i think from a function in font-manager.class.php
So if i knew how to get via php only the transformed sign without that other stuff – i can insert than that glyph to value of input field.
And share afterwards the edited contact.phphow do i get that little sign in source code :
data-av_icon=''there must be a conversion from array icon and icon-select to that sign.
i think of making an edited contact.php shortcode with icon select but that display_char generates me a whole bunch of html.
if we know the html attribute symbol for that icon you can insert it in the input field of contact form element f.e.:
Submityou only have to setup then :
input.button[type="submit"] { font-family: entypo-fontello; }but is there a list of that html attribut symbols concerning to entypo-fontello icons ?
well we have on contact form that element :
input.button[type="submit"]maybe it is possible to prepend some code to that element and style it later via quick cssby the way not all fonts (webfonts) do have that sign (non-breaking-hyphen)
for the headings we can use the ampersand filter :
add_filter('avia_ampersand','non_breaking_hyphens'); function non_breaking_hyphens($content) { $content = str_replace("-","‑",$content); return $content; }think of the second – is the entity & #8209
the code works but i do not know how to avoid replacing in f.e. google-map iframe input. The replacement does not stop doing that job on inline-style etc. so there must be a way to make the replacement more specific – means f.e. only replace the string on phrases and headings f.e.
i stay connected.
it does not work in the way i want. Everything works fine but it has to be more specific only for textarea. it changes even in Source code all hyphens to the new replacement. F.e. classes from style=text-align etc.
hey mods – no idea how to make it more specific.?
July 20, 2017 at 3:24 pm in reply to: dynamic_avia – enfold_child.css – Problem mit überflüssigem Anführungszeichen #824632um es nochmals zu verdeutlichen, dass hier:
.av-masonry {background-color: #”002d7d; }steht nicht in deiner Quick css ?so this seems to be better :
function replace_content($content) { $content = str_replace('-', "<span class='nobreak'>‑</span>",$content); return $content; } add_filter('the_content','replace_content');here is the image because you know now :

see here in action: https://webers-testseite.de/abc/
The class seems to be very important (like with ampersand and doublequotes on functions-enfold.php) – there is no need to have some rules behind that class -but without there was a mess in enfold alb elements sometimes.
-
This reply was modified 8 years, 4 months ago by
Guenni007.
see last entry
-
This reply was modified 8 years, 4 months ago by
Guenni007.
-
This reply was modified 8 years, 3 months ago by
-
AuthorPosts


