Forum Replies Created

Viewing 30 posts - 4,291 through 4,320 (of 11,918 total)
  • Author
    Posts
  • in reply to: Open Graph support #1314451

    there are a lot of opengraph online generators – you can do a search by yourself.

    after that you can manually insert the information via child-theme functions.php
    ( including other meta infos to your site head area ) f.e:

    function add_meta_to_head(){
    ?>
            <html prefix="og: https://ogp.me/ns#">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    	<meta name="description" content="best not more than 140letters">
    	<meta name="keywords" content=" seperated by commata ">
    	<link rel="shortcut icon" type="image/x-icon" href="/wp-content/uploads/icons/favicon.ico">
    	<link rel="apple-touch-icon" href="/wp-content/uploads/icons/apple-touch-icon.png">	
    	<meta property="og:title" content="Webers Worldwide Webdesign">
    	<meta property="og:site_name" content="Webers Webdesign">
    	<meta property="og:url" content="https://webers-webdesign.de">
    	<meta property="og:description" content="Webers Webdesign gestaltet Ihre individuelle Webseite nach Ihren Vorgaben. Wir setzen Ihr Corporate Design in eine technisch saubere Webseite um. Das leicht Machbare darf nie die Grenze auf dem Weg zu der Visualisierung Ihrer Ideen sein.">
    	<meta property="og:type" content="website">
    	<meta property="og:image" content="/wp-content/uploads/WeberWebdesign-OG-image.jpg">
    <?php
    }
    add_action('wp_head', 'add_meta_to_head');

    strange thing the first line comes to the right place with that snippet ( to html )

    it is best if the image has approx 1.91/1 aspect-ratio and has on minimum 1200px x 630px
    PS if Facebook is important for you – do not forget : fb:app_id

    in reply to: Error av-helper-masonry.php on line 497 #1314437

    that line 442 –

    $img_style = '';
    

    why don’t I have this error message?
    I don’t install any other Enfold than all the others. Nevertheless, I have to observe that some people describe “bugs” that I can’t reproduce.
    Is it because I have activated the latest php version?

    PS : on trying to reproduce the issue – i see that if you have on masonry or masonry gallery a custom background color. And have large gaps. it might be looking nicer if :

    #top .container .av-masonry.av-large-gap {
        padding: 15px 0 0 15px;
    }
    in reply to: Plugin or technique to create password protected pages? #1314347

    if you are on an apache server you can do that with htaccess file in that folder and the common solution
    have a look here : https://help.dreamhost.com/hc/en-us/articles/216363187-Password-protecting-your-site-with-an-htaccess-file

    there are a few htacces / htpasswd generators online
    both files ( the are invisible files with a dot in front: .htaccess / .htpasswd ) had to be uploaded to the concerning folder via ftp.
    a .htaccess file f.e. looks like this:

    AuthType Basic
    AuthName "Password needed"
    AuthUserFile /absolute-server-path-to/.htpasswd
    Require valid-user

    the path is the unix path . On your ftp client you can determine it via context menu of .htpasswd

    in reply to: Background color disappearing at 4.8.5 update #1314305

    wouldn’t it be the same:

    on line 905 :

    $selector_background = ( !empty( $atts['src']) && $atts['attach'] == 'parallax' ) ? 'section-parallax-inner' : 'section-outer';
    

    PS:
    Who thinks of such a thing:
    First you insert an image, then you set it to parallax. Then you think about the whole thing and delete the image without resetting the options of the image you no longer want. This is the construct when the “bug” is present.

    did you read what I wrote?
    For me, the /public_html/ does not fit behind your domain.
    That would be very unusual to have it like that.
    As I said – some providers have this server structure e.g: sftp://HOSTERDOMAIN/home/www/public_html/license.txt
    You can see here that the root directory of the installation – your domain – comes after the public_html.
    You can see that it used to be different because this can still be found at
    https://mypalmbeachwebdesign.com/wp-content/themes/enfold/screenshot.png

    Maybe you ask your provider what could be the reason for that
    PS :
    You wouldn’t believe how often I’ve heard this sentence: I didn’t do anything, suddenly the computer / the installation didn’t work anymore. ;)
    Hacker attacks are not that common

    in reply to: Lightbox / JavaScript Problem // Ausblenden #1314227

    hm – ich dachte es ginge genau darum es zu deaktivieren?

    Das Enfold LIghtbox funktioniert auf Basis des Magnific Popup Scriptes.
    Wenn du kein anderes Script dafür einsetzt, dann kann auch kein Popup mehr funktionieren.

    in der functions.php steht explizit die Bedingung drin:

    //lightbox inclusion
    $condition = ! empty( $avia_config['use_standard_lightbox'] ) && ( 'disabled' != $avia_config['use_standard_lightbox'] );
    avia_enqueue_style_conditionally( $condition, 'avia-popup-css', $template_url . '/js/aviapopup/magnific-popup.css', array( 'avia-layout' ), $vn, 'screen' );
    avia_enqueue_style_conditionally( $condition, 'avia-lightbox', $template_url . '/css/avia-snippet-lightbox.css', array( 'avia-layout' ), $vn, 'screen' );
    avia_enqueue_script_conditionally( $condition, 'avia-popup-js', $template_url . '/js/aviapopup/jquery.magnific-popup.min.js', array( 'jquery' ), $vn, true );
    avia_enqueue_script_conditionally( $condition, 'avia-lightbox-activation', $template_url . '/js/avia-snippet-lightbox.js', array( 'avia-default' ), $vn, true );

    alle Scripte und auch das zugehörige css werden nur geladen, wenn die Option ( $condition ) in Enfold aktivert ist.
    wenn du dir das avia-snippet-lightbox.js mal öffnest, siehst du das es ein script zugehörig zu magnific popup ist und nur die Einstellungen regelt ( trigger klassen etc. )

    in reply to: Accordion Title to h2 #1314185

    it is simple – you can not use a function that isn’t present. That snippet is a jQuery based snippet. Without jQuery it won’t run.
    There are some good reasons to load jQuery into the footer – however, all jQuery-based functions must then be loaded temporally afterwards in order to use its functions. This could be done by setting in the add_action the priority. Low values ( default is 10) are loaded earlier – high values later.

    in reply to: Black space on videos (both self hosted and youtube) #1314106

    if you got mp4 videos – i do check them by pressing command * i on my Mac OS – maybe there is something similar on windows machines.
    maybe context menu of the mp4 …
    i do see something like this:

    there you got your aspect-ratio and the file-size – the codec etc.

    in reply to: Wrong URL in my code! #1314092

    you first can do a dry run on that substitution – that will only do a test :

    then next step the “hot run”:

    or try the domain change ( you can change here directly from http to https too:

    in reply to: Wrong URL in my code! #1314089

    i do use for that a plugin. Allthough this is an older plugin – i know that it still works: https://wordpress.org/plugins/search-and-replace/

    It does what it is called – but also has an extra option to change domain.
    Nevertheless – you should always have on working with such tools a complete backup of the running system.

    For example a duplicator backup ( the free version of that wonderfull plugin is mighty enough to do the job )
    If you have that you can decide to run both in combination. Or you decide to just install on the new domain a second copy of that (migration) – and delete afterwards the other installation.

    in reply to: Accordion Title to h2 #1314082

    Yesterday i tested it on my installation – both methods work on my end here.
    Did you try the other method of chlld-theme alb element? On SEO Reasons this will be the better way, because this method already creates the desired markup when generating the DOM and does not replace the p tag afterwards.

    When / Where did you load the jQuery? On Enfold Options there is the possibility to load the jQuery in the footer. But then you have to ensure that these scripts written on JQuery basis are also loaded in time afterwards.
    Try to influence the order ( priority ) of loading the script. f.e.:

    function replace_tags_with_tags(){
    ?>
    <script>
      (function($) {       
          function replaceElementTag(targetSelector, newTagString) {
            $(targetSelector).each(function(){
              var newElem = $(newTagString, {html: $(this).html()});
              $.each(this.attributes, function() {
                newElem.attr(this.name, this.value);
              });
              $(this).replaceWith(newElem);
            });
          }
    	/* replaceElementTag('h3.aviaccordion-title', '<h2></h2>'); */
    	replaceElementTag('p.toggler', '<h2></h2>'); 
        
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags', 999);

    the 999 is a late priority and will ensure the loading after jQuery already exists : see link
    Do you see any errors on developer tools console view?

    in reply to: Accordion Title to h2 #1313996

    by the way – if you like to have that on tabs alb element : on tabs.php there is that line 626 (Enfold 4.8.6)
    change to :

    $output .=		'<h2 aria-controls="' . $tab_atts['custom_id'] . '-content" role="tab" tabindex="0" data-fake-id="#' . $tab_atts['custom_id'] . '" class="tab ' . $titleClass . '" ' . $markup_title . '>' . $icon.$tab_atts['title'] . "</h2>\n";
    

    Pastebin: Link

    in reply to: Accordion Title to h2 #1313952

    by the way – i do not test it on life site. If the toggles do not work after replacement !

    you had to do that solution here with a child-theme alb element : https://kriesi.at/support/topic/accordion-title-to-h2/#post-1313348

    you see there that current and hover etc are correlated to p tag.

    just use the edited alb element for new enfold (4.8.6 ) from here: Link
    from SEO point of view this is the better solution anyway.

    in reply to: Accordion Title to h2 #1313950

    @rvga : on developer console it works this way:
    maybe you had to refresh all cache and regenerate the merged enfold js files.

    ______
    don’t know if the class toggler is used elsewhere in the dom – so be a bit more selective – to avoid replacement at the wrong place.

    function replace_tags_with_tags(){
    ?>
    <script>
      (function($) {       
          function replaceElementTag(targetSelector, newTagString) {
            $(targetSelector).each(function(){
              var newElem = $(newTagString, {html: $(this).html()});
              $.each(this.attributes, function() {
                newElem.attr(this.name, this.value);
              });
              $(this).replaceWith(newElem);
            });
          }
    	/* replaceElementTag('h3.aviaccordion-title', '<h2></h2>'); */
    	replaceElementTag('p.toggler', '<h2></h2>'); 
        
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags');
    in reply to: Custom SVG divider #1313948

    there are some usefull filters in the coresponding php file: class-svg-shapes.php
    for the most of my installations – i do not use the month and year based media setting. All Images i upload goes to the uploads folder. So i set for those custom svg the path by:
    to child-theme functions.php

    function my_svg_path(){
      $path = get_site_url().'/wp-content/uploads';
          return $path;
    }
    add_filter( 'avf_custom_svg_shapes_files_directory', 'my_svg_path', 10, 1 );

    so i can upload those custom-svgs via media library – that is nice to have – even to see how they look like.

    if you prefer a folder in your child-themes folder ( like shortcodes folder for custom alb elements )
    you can set it up by ( name the folder as you like f.e.: custom-svg ):
    to child-theme functions.php

    function my_svg_path(){
      $path = get_stylesheet_directory().'/custom-svg/';
          return $path;
    }
    add_filter( 'avf_custom_svg_shapes_files_directory', 'my_svg_path', 10, 1 );

    all your custom svgs come to that folder ( enfold-child/custom-svg/ )

    to get new svg in that dropdown list you can do that to child-theme functions.php
    ( set to false if you do not want to have the given options )

    function custom_avf_custom_svg_shapes( array $custom_shapes ) {
    // example for uploading a svg file:  your_file.svg 
    $custom_shapes = array (
    	'your_file'	=> array(
    		'title'			=> __('YOUR FILE NAME', 'avia_framework' ), // Name displayed in select box - whatever you like 
    		'has_negative'	=> true,				// uploaded file had to be named: your_file-negative.svg
    		'has_flip'		=> true,
    		'has_width'		=> true,
    		'path'			=> string,				// if you like to determine a different path (absolute)
    		'filename'		=> 'your_file',			// .svg will be added if missing
    		'attachment'			=> integer,				// attachment id of uploaded media ( if you like to determine )
    		'attachment_negative'	=> integer 				// attachment id of negative uploaded media ( if you like to determine )
    	),
    );
    return $custom_shapes;
    }
    add_filter( 'avf_custom_svg_shapes', 'custom_avf_custom_svg_shapes', 10, 1 );

    _______________________
    info
    the default enfold svg is a top positioned one so it has its 100% fill color on top (except the negative svgs):

    the bottom svg dividers are transformed by 180deg rotation – they do not need an extra file.

    now you had to decide what behavior your divider has to have. Should it be responsive or you like to use it as pattern etc.
    most of the enfold default svgs do have inline : preserveAspectRatio=”none”
    with the given options

    • to set it to a fixed height – the svg will keep the set height and is squashed in its width.
    • if you set it to : “auto, defined by svg viewport” and set the max-height to none – it will react “responsive”.
    • if you set it to : “auto, defined by svg viewport” and a fixed max-height – it will be squashed in width for larger screens – and reacts responsive on smaller screens
    • .

    ____________________
    If you like to preserve allways responsiveness – you had to set inside your svg : preserveAspectRatio=”xMidYMin meet” xml:space=”preserve”
    then the limitation by max-height will end up a divider that has on big screenwidth a given dimension – on smaller screens when the width fits the screen width it will shrink with the aspect ratio.
    ____________________
    Patterns tend to have inside the svg : preserveAspectRatio=”xMidYMin slice” ( see enfold wave-pattern)
    ( the Y-Value had to be on min ( fill-color is on top – see above) )
    the x-Value depends on you.

    i see that your login page is still reachable: Are you able to login?
    If so have a look what is on General Settings Dialog:

    On default these urls are the same. Changing the site address url is possible ( f.e. on installing a wordpress to a subfolder ) but it is not as simple as changing the url only on that place.

    Enfold 4.4.1 – yes – an update maybe usefull.

    Then : on wayback machine i can see a working page of your homepage.
    but path is : https://www.mypalmbeachwebdesign.com/
    did you change something on your installation path ( maybe wp-config ) that now the path is with public_html? :
    https://www.mypalmbeachwebdesign.com/public_html/

    your style sheet is reachable over: https://www.mypalmbeachwebdesign.com/wp-content/themes/enfold/style.css

    ( i know some providers that will have in the absolute path of the server that public_html – but that is only on absolute server path – not on wordpress url or site address url )

    in reply to: Lightbox / JavaScript Problem // Ausblenden #1313865

    ist es denn nicht automatisch ausgeladen, wenn du im Optionen Dialog ( Theme Optionen – Lightbox Modal Window ) deaktivierst?

    Geladen wird es in der functions.php lines 478ff (Enfold 4.8.5)
    hier siehst du dann auch, dass die Bedingung zum Laden der Scripte und CSS :

    $condition = ! empty( $avia_config['use_standard_lightbox'] ) && ( 'disabled' != $avia_config['use_standard_lightbox'] );
    

    wenn es eben disabled ist, dann wird der Rest auch nicht geladen

    in reply to: Black space on videos (both self hosted and youtube) #1313502

    thats easy – you had to know your own video aspect ratio !!!
    Guess the headings under the video have a height of (576-504=72) ;)
    your selfhosted video got : 1280 x 576

    :lol: https://consulting.webers-testseite.de/externe-videos/

    in reply to: Add second logo in the header responsive ? #1313440

    schicke mir mal bitte den Zugang – wenn es nicht öffentlich geht – gerne auch via E-Mail ( kontaktdaten sind unter dem Avatar oder Nick zu finden)

    Auf der Original Seite ist das Logo ein svg file ( bei dem sogar der slogan noch vorhanden ist.
    Link

    man könnte das Ganze auch ohne header widget machen, und es über ein Filter mit einsetzen.
    Es würde dann sogar Teil im Logo container sein und so zB das Shrinken mit machen

    function kriesi_logo_addition($sub){
      $sub .= '<img class="second-logo" src="PATH_TO_SECOND_LOGO" alt="Logo 2" />';
      return $sub;
    }
    add_filter('avf_logo_subtext', 'kriesi_logo_addition');

    siehe hier : https://consulting.webers-testseite.de/
    nachdem du das gesehen hast nehme ich es aber wieder raus.
    und hier schiebe mal dein Browserfenster zusammen und schau was aus dem Groh Logo wird.
    So kann man innerhalb eines svg das Aussehen steuern:
    https://consulting.webers-testseite.de/groh/

    • This reply was modified 4 years, 5 months ago by Guenni007.
    in reply to: Add second logo in the header responsive ? #1313395

    besides Autohaus Groh ?
    i see them ( Audi, Renault, Daccia, etc. ) in both screenshots under the logo.
    Autohaus Groh is an SVG ( on the current page ) – so why not use a whole SVG as an inline SVG logo.
    each logo has its own group within the svg – then you can comfortably resize, move or hide the individual logos via media-query.

    PS : why are there two burger menu?

    in reply to: Black space on videos (both self hosted and youtube) #1313393

    Same setting
    see again : https://consulting.webers-testseite.de/externe-videos/#hitrev
    under Styling 1280:504

    in reply to: Accordion Title to h2 #1313348

    What alb do you mean : the Accordion Slider – there a filter exists to change it : avf_customize_heading_settings

    function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array()){
      if( $context == 'aviaccordion' ){
        $args['heading'] = 'h2';              
      }
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );

    but the toggles ( on toggles.php ) there is no such filter.
    and I’m afraid that it’s not as easy as changing two places in the code as with some other ALB elements.

    line: 1048ff ( Enfold 4.8.5)

    $output .=		"<p data-fake-id='#{$toggle_atts['custom_id']}' class='toggler {$item_titleClass} {$titleClass} {$item_inherit}' {$markup_title} role='tab' tabindex='0' aria-controls='{$toggle_atts['custom_id']}'>";
    $output .=			$toggle_atts['title'];
    $output .=			'<span class="toggle_icon">';
    $output .=				'<span class="vert_icon"></span>';
    $output .=				'<span class="hor_icon"></span>';
    $output .=			'</span>';
    $output .=		'</p>';

    but you find in that toggles.php also some code correlated to the p-tag:
    829ff:

    'toggle'			=> ".togglecontainer.{$element_id} p.toggler",
    'toggle-current'	=> ".togglecontainer.{$element_id} p.toggler.activeTitle",
    'toggle-hover'		=> ".togglecontainer.{$element_id} p.toggler:not(.activeTitle):hover",
    'toggle-icon'		=> ".togglecontainer.{$element_id} p.toggler .toggle_icon",

    so you can try to change that to f.e.: h2
    see here for enfold 4.8.5 : Pastebin
    and have your own child-theme toggles.php via well known snippet: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#customization

    this is my method on updating when there are some major updates. :
    https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    The big advantage of that is – that you always have a rollback version in the backhand.
    But it is less fast than the WordPress method.

    On former times when upgrading some “bug fix versions” i used the plugin “update Themes and Plugins from zip file”
    – but on newer WordPress Version this method is adopted by WordPress.
    Go To Themes and klick add New.
    On uploading the new Enfold.zip file – WordPress will check if an older Version of Enfold is installed. If yes – it will ask you what to do!

    But one of the safest ways is the first one via ftp

    in reply to: Black space on videos (both self hosted and youtube) #1313335

    you do not need to enter small natural integers there.
    The closer you get to the aspect ratio, the better the black bars will be.

    see here: https://consulting.webers-testseite.de/externe-videos/#hitrev

    just put in the exact ratio

    PS: When you first open the page my cookie blocker is still active, and shows a local preview image ( based on the youtube thumbnails – that are most in 16:9 format ) if you don’t agree to the cookie policy. so there the black bar is still shown.
    Accept the Cookies and see your video

    in reply to: Add second logo in the header responsive ? #1313273

    sorry no screenshot for me – i’m participant as you are.

    in reply to: Add second logo in the header responsive ? #1313230

    And besides that logo you like to have a second one ?
    What should happen with the second logo – when the screen width is narrowed?
    Do you use a shrinking header ?

    in reply to: Add second logo in the header responsive ? #1313226

    what kind of header setting do you have?
    Logo left – nav below ?

    in reply to: What's up with the WYSIWYG editor? It changes! #1312872

    Well, then I won’t be able to spare the time to solve your problems.

    in reply to: What's up with the WYSIWYG editor? It changes! #1312862

    I see that there is a new button: “Add contact form”.
    And what is behind those 4 Square symbol besides that?
    I guess this has been inserted there by a plugin?
    Could you deactivate that, and refresh all cache – including the merged files.

Viewing 30 posts - 4,291 through 4,320 (of 11,918 total)