Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #1193491

    Dear Team,
    I tried to ad a spotify social icon like it is described here:
    I also tried other treats – but it doesn´t work – when I add the functions in the child themes function php I always receive an error message from wordpress – the site has technical problems.
    Can you help me?


    Hey webartists,

    Did you upload the custom font first? What is the error you’re getting? The code here should not be giving the error:

    Here are the docs for you:

    If you need further assistance please let us know.
    Best regards,


    I want to use the existing spotify Icon at the social links as the icon allready exitsts in icon list of fontello.
    When I add this code:

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘icon_name’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue906’);
    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[‘Icon Label’] = ‘icon_name’;
    return $icons;
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    to the functions.php of the childtheme I receive an error message:
    Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang …
    Can you help me?
    Thx and BR


    Hi webartists,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,


    Dear Victoria – I´m not sure I thought I allready sent this – so I send again.
    I have also another problem – where allready many treats exist but nothing helped me – I want to have shown the img title or alt attribut at the lightbox here – http://mephisto.webartists.at/reservierung/ but nothing helps (.mfp-title not shown).
    Can you help me with this too.
    Thx and BR



    1- I have added Spotify icon for you. Please review your website

    2- Could you please firstly update Enfold to the latest version 4.7.4 – https://kriesi.at/documentation/enfold/theme-update/



    thx a lot – spotify is working now.
    I also updated enfold.
    The only thing I cant fix yet is to show the image title (or alt text) at the lightbox here:

    thx and br


    Dear Team,
    we are allready online with this site – but we still have the problem with title/alt text at the images in lightbox here: http://mephisto.webartists.at/reservierung/
    Can you helpt me?
    I post backend access in private content.
    Thx and BR


    Sorry for the late reply, to add the title below the lightbox popup Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
          type: 'image',
          image: {
              titleSrc: false,
              markup: '<div class="mfp-figure">'+
                        '<div class="mfp-close"></div>'+
                        '<div class="mfp-top-bar"></div>'+
                        '<div class="mfp-img"></div>'+
                        '<div class="mfp-bottom-bar">'+
                          '<div class="mfp-title"></div>'+
                          '<div class="mfp-counter"></div>'+
          mainClass:          'avia-popup mfp-zoom-in mfp-image-loaded',
          closeOnContentClick:  false,
          midClick:         true,
          gallery: {
            enabled:      true
          callbacks: {
          markupParse: function (template, values, item) {
            values.title = item.el.find('img').attr('alt') + '<br>' + item.el.closest('.aviaccordion-slide-link').find('.aviaccordion-image').text();
          // this - is Magnific Popup object.
              change: function() {
                          '<h2>' +
                              $(this.currItem.el).attr('title') +
              buildControls: function() {
                // re-appends controls inside the main container
        // close the iframe window
        $(document).on('click', '.popup-modal-dismiss', function (e) { 
    add_action('wp_footer', 'custom_script');

    Then please add your title to the “Alternativer Text” field in your media library for each image:
    the alt field used as the lightbox “title”

    Best regards,

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

You must be logged in to reply to this topic.