Shop Categories

X

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Translation of the header social icons names #10226
    AlphaCE
    Participant

    I’ve temporarily patched the function like this – and it seams to work for me:

    `
    static function sociali( $tip_position = false, $style = false ) {
    $_target = esc_attr( get_theme_mod( ‘agama_social_url_target’, ‘_blank’ ) ); // URL target
    $social = array(
    ‘Phone’ => esc_html( get_theme_mod(‘social_phone’, ” ) ),
    ‘Facebook’ => esc_url( get_theme_mod(‘social_facebook’, ”) ),
    ‘Twitter’ => esc_url( get_theme_mod(‘social_twitter’, ”) ),
    ‘Flickr’ => esc_url( get_theme_mod(‘social_flickr’, ”) ),
    ‘Vimeo’ => esc_url( get_theme_mod(‘social_vimeo’, ”) ),
    ‘Youtube’ => esc_url( get_theme_mod(‘social_youtube’, ”) ),
    ‘Instagram’ => esc_url( get_theme_mod(‘social_instagram’, ”) ),
    ‘Pinterest’ => esc_url( get_theme_mod(‘social_pinterest’, ”) ),
    ‘Telegram’ => esc_url( get_theme_mod(‘social_telegram’, ”) ),
    ‘Tumblr’ => esc_url( get_theme_mod(‘social_tumblr’, ”) ),
    ‘Google’ => esc_url( get_theme_mod(‘social_google’, ”) ),
    ‘Dribbble’ => esc_url( get_theme_mod(‘social_dribbble’, ”) ),
    ‘Digg’ => esc_url( get_theme_mod(‘social_digg’, ”) ),
    ‘Linkedin’ => esc_url( get_theme_mod(‘social_linkedin’, ”) ),
    ‘Blogger’ => esc_url( get_theme_mod(‘social_blogger’, ”) ),
    ‘Skype’ => esc_html( get_theme_mod(‘social_skype’, ”) ),
    ‘Myspace’ => esc_url( get_theme_mod(‘social_myspace’, ”) ),
    ‘Deviantart’ => esc_url( get_theme_mod(‘social_deviantart’, ”) ),
    ‘Yahoo’ => esc_url( get_theme_mod(‘social_yahoo’, ”) ),
    ‘Reddit’ => esc_url( get_theme_mod(‘social_reddit’, ”) ),
    ‘PayPal’ => esc_url( get_theme_mod(‘social_paypal’, ”) ),
    ‘Dropbox’ => esc_url( get_theme_mod(‘social_dropbox’, ”) ),
    ‘Soundcloud’ => esc_url( get_theme_mod(‘social_soundcloud’, ”) ),
    ‘VK’ => esc_url( get_theme_mod(‘social_vk’, ”) ),
    ‘Email’ => esc_html( get_theme_mod(‘social_email’, ”) ),
    ‘RSS’ => esc_url( get_theme_mod(‘social_rss’, get_bloginfo(‘rss2_url’)) ),
    );
    if( $style == ‘animated’ ) {
    echo ‘

      ‘;
      foreach( $social as $name => $url ) {
      if( ! empty( $url ) ) {

      if( $name == ‘Phone’ ) {
      $url = ‘tel:’ . $url;
      }
      if( $name == ‘Skype’ ) {
      $url = ‘skype:’. $url .’?call’;
      }
      if( $name == ‘Email’ ) {
      $url = ‘mailto:’ . $url;
      }

      // Generate FontAwesome icon class.
      $fa_class = ‘fa-‘ . strtolower( $name );

      // Change email icon from “fa-email” to “fa-at”.
      if( $name == ‘Email’ ) {
      $fa_class = ‘fa-at’;
      }

      echo sprintf
      (

    • <span class=”tv-icon”><i class=”fa %s”></i></span><span class=”tv-text”>%s</span>
    • ‘,
      esc_attr( strtolower($name) ), $url, $_target, esc_attr( $fa_class ), esc_attr( __($name, ‘agama-pro’) )
      );
      }
      }
      echo ‘

    ‘;
    } else {
    foreach( $social as $name => $url ) {
    if( ! empty( $url ) ) {
    if( $name == ‘Phone’ ) {
    $url = ‘tel:’ . $url;
    }
    if( $name == ‘Skype’ ) {
    $url = ‘skype:’. $url .’?call’;
    }
    if( $name == ‘Email’ ) {
    $url = ‘mailto:’ . $url;
    }

    // Generate FontAwesome icon class.
    $fa_class = ‘fa-‘ . strtolower( $name );

    // Change email icon from “fa-email” to “fa-at”.
    if( $name == ‘Email’ ) {
    $fa_class = ‘fa-at’;
    }

    echo sprintf
    (
    ‘,
    esc_attr( strtolower($name) ), $url, $_target, esc_attr( $tip_position ), esc_attr( __($name, ‘agama-pro’) )
    );
    }
    }
    }
    }

    • This reply was modified 5 years, 7 months ago by AlphaCE.
    in reply to: Shortcodes in search results #10211
    AlphaCE
    Participant

    I have now tried to deactivate and activate all plugins in different configuration. I’ve even tried deactivating “Vision Core” and the “Page Builder” plugin. And I don’t have that many. It’s still a site in development.

    What I’ve found is that when I deactivate “Vision Core” the code starting with “#vision-testimonials_5b7cfb46d2812” is replaced by the shortcode starting with “[vision_testimonials_ctn]”.

    In any other configuration the code starting with “#vision-testimonials_5b7cfb46d2812” is still there.

    So my conclusion is that this is an error in the Vision Core plugin and the Testimonials element?

    in reply to: unable to disable top navigation on mobile #3974
    AlphaCE
    Participant

    Thanks for the quick answer!

    A quick fix was to assign an empty menu to the top menu =)

Viewing 3 posts - 1 through 3 (of 3 total)