Tagged: 

Viewing 18 posts - 31 through 48 (of 48 total)
  • Author
    Posts
  • #1193077

    Hi,
    @peterolle thanks, I was hoping to find a reason your alt & title for the alternate logo is not working. I have again installed a clean version on my localhost with only the woocommerce plugin and no functions, and once I add the alt & title to the alternate logo the alt & logo reflects the change.
    2020-03-14_051140.jpg
    So I can’t confirm your issue, I will ask the rest of the team to try to recreate to error and offer suggestions to correct.
    Thank you for your patience.

    Best regards,
    Mike

    #1193120

    Please Mike – do not think i have not tested even a pure virginal install – see login data for you in private Content.
    https://webers-testseite.de/pureinstall/

    Even my standard security entries in htaccess file are missing here. Quick CSS only has one entry. child-theme functions.php is without active input – just comments as on child-theme download of enfold-docu site.

    Maybe you are using a beta-version or 4.7.3.1 ;)

    Tell me when you are ready to proove – because i want to make these htaccess entries as soon as possible
    Edit: sorry couldn’t wait to insert some security positions in htaccess.

    #1193237

    Hi,
    Thanks @guenni007, perhaps I do have a different version, I don’t think so but it would explain this.
    I posted to link to my version in your child theme stylesheet, if you don’t mind trying to install that it would be appreciated.

    Best regards,
    Mike

    #1193250

    Public version: 4.7.3
    Version not working: 4.7.3

    You try with another version and ask others to try with your version. What for?

    Use 4.7.3. That is the one available for download and with the problem as stated 5 times in this thread.

    If there was a fix in July as you said, please share it and add it to the next version.

    Thanks.

    #1193253

    I have compared the files in both folders – with DiffMerge – there are no differences. Now to think about it: I replaced your enfold with mine via ftp. No Alt and Title attributes on the Alternate logo ?

    So this is strange!

    PS @peterolle : my manual input fields work ! Just paste the code to your child-theme functions.php

    function my_transparent_logo_attributes( array $avia_elements = array() )
    {
      $slug = "header";
      $id = 'header_replacement_logo';
      
      $new_element_1 =  array(
          "slug"  => "header",
          "name"  => __( "Alt for the Transparency Logo", 'avia_framework' ),
          "desc"  => __("Put in your Alt Attribute for Transparency Logo", 'avia_framework'),
          "id"    => "header_replacement_logo_alt",
          "type"  => "text",
          "std"   => "" );
    
      $new_element_2 =  array(
          "slug"  => "header",
          "name"  => __( "Title for the Transparency Logo", 'avia_framework' ),
          "desc"  => __("Put in your Title Attribute for Transparency Logo", 'avia_framework'),
          "id"    => "header_replacement_logo_title",
          "type"  => "text",
          "std"   => "" );
      
      $found = false;
      $index = 0;
      
    
      foreach( $avia_elements as $key => $element ){ 
      	$index++; if( isset( $element['id'] ) &&  ( $element['id'] == $id ) && isset( $element['slug'] ) && ( $element['slug'] == $slug ) ) { $found = true; break;}
        } 
         if( ! $found ) { 
            $avia_elements[] =  $new_element_1 ; 
    	$avia_elements[] =  $new_element_2 ;
         }
         else {
            $avia_elements = array_merge( array_slice( $avia_elements, 0, $index ), array( $new_element_1, $new_element_2 ), array_slice( $avia_elements, $index  ) );
         }
      return $avia_elements;
    }
    add_filter( 'avf_option_page_data_init', 'my_transparent_logo_attributes', 10, 1 );
    #1193254

    @mike, you are testing locally and your local environment works. Is that the case?

    Try in a real server as everyone else and you will see the problem. As you did in my site, in the one Guenni007 shared and in your own demo. or in any fresh clean install with nothing but enfold.

    #1193257

    This is not intended as a final solution, but as a bridge until there is a fix. In this case the child theme solution can then be quickly undone.

    #1194074

    Anything about this @mike ?

    #1194099

    Hi,
    Sorry, I have installed Enfold v4.7.3 on a new live server but still couldn’t reproduce the alt & title error for the alternative logo.
    I have asked the rest of the team to try reproducing the error and offer suggestions to correct, but I have not had any feedback yet.
    Thank you for your patience.

    Best regards,
    Mike

    #1194270

    maybe ask Günter to look to it

    #1194863

    Hey,

    We have informed Günter :)

    Cheers!
    Yigit

    #1196086

    Thank you @yigit

    #1197998

    Any news about this?

    #1198529

    4.7.4 stayes the same here

    #1198934

    Correct, this was not included in 4.7.4.

    #1199225

    Hi,

    Sorry for the delay. It’s not working properly because the header_replacement_logo_id is undefined. To fix the issue temporarily, please edit the functions-enfold.php file, remove everything and replace it with the following code.

    // https://pastebin.com/JDaJ3WfX

    We’ll report the issue to our channel.

    Best regards,
    Ismael

    #1199229

    thanks Ismael Is that on basis of 4.7.4 ?
    because there is f.e. the whole part
    if( ! function_exists( 'avia_wp_get_the_title' ) ){…
    missing.
    And some minor/major differences
    With that : there are some difficulties with blog pages to show – but maybe it is an inconsitency with WP 5.4

    __________________
    On this file i only replaced on basis of 4.7.4 the part of alternate logo and added the new:
    if ( ! function_exists( 'avia_get_attachment_id' ) ) {…

    https://pastebin.com/D3XRT7tr
    with that it works great – thanks

    #1199269

    sorry this should go to another toppic what i posted here – …

Viewing 18 posts - 31 through 48 (of 48 total)

You must be logged in to reply to this topic.