Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1225798

    Hello enfold support,

    we are currently experiencing an error with enfold on our website.
    On the website we are using the “Telephone number or small information text” section in the backend to use a shortcode in addition to normal HTML. The Shortcode is a slider that changes between different phone numbers for different locations.
    The problem is that the shortcode content just doesn’t appear on posts.

    We already checked if the error comes from a plugin or our current WP version, but we couldn’t find anything.
    Do we maybe need to change our enfold settings somewhere or is this just an error within the Theme?
    If you need Backend or FTP access please say so, and we will provide you with an account.
    Thanks in advance.
    Best Regards
    Gerry Zeller

    #1225803

    did you check if a different shortcode works on that f.e.:
    [av_button label='Click me' icon_select='yes' icon='ue800' font='entypo-fontello' link='manually,#' size='small' position='left' color='theme-color' custom_bg='#444444' custom_font='#ffffff']
    a little button

    #1225806

    I’m sorry but that shortcode also doesn’t work.
    We already tested multiple shortcodes, and they all didn’t work in the post header.

    #1225816

    is in content f.e. in text editor etc. ?

    try to activate the do_shortcode for widget, content or nav etc ( this to child-theme functions.php )

    add_filter('widget_text', 'do_shortcode');
    add_filter('the_content', 'do_shortcode');
    add_filter('wp_nav_menu_items', 'do_shortcode');
    #1225829

    Hey,
    That also didn’t work.
    I’ve left the code in the functions.php of the child theme for now.

    #1225898

    what do you mean by post header – what exactly do you do. Where do you insert that shortcode?

    #1225924

    Like I said, we add the shortcode in the “Telephone number or small information text” section in the enfold settings.

    The Shortcode is displayed in the <header> section on every page except for posts.
    Which is as far as I know not right.

    #1225939

    das würde ich nicht als shortcode bezeichnen.
    das ist halt html. Kannst du mal bitte den gesamten code hier einblenden, – bitte nutze den code tag hier , damit ich durch copy&paste den schneller prüfen kann. Am besten wäre sogar ein link zu einer seite wo das funktioniert.
    wo setzt du den code von oben ein. In einem Post ( mit oder ohne Advanced Layout builder? – im Visual mode oder Text mode ?)

    #1225956

    Hier ist der komplette Code mit dem Shortcode drinnen

    <div class="more-infos"><div class="ec-contact-dropdown"><span class="hotline">Hotline:</span> [av_content_slider heading='' columns='1' animation='slide' navigation='no' autoplay='true' interval='4' font_color='custom' color='#ffffff' av-medium-hide='aviaTBav-medium-hide' av-small-hide='aviaTBav-small-hide' av-mini-hide='aviaTBav-mini-hide' av_uid='' custom_class=''][av_content_slide title='0711 / 46 05 89 – 50' link='page,8027' linktarget=''][/av_content_slide][av_content_slide title='0 71 31 / 12 01 45 – 0' link='page,8032' linktarget=''][/av_content_slide][av_content_slide title='0 71 48 / 92 88 99 – 0' link='page,8036' linktarget=''][/av_content_slide][av_content_slide title='0 62 21 / 32 18 86 – 0' link='page,8039' linktarget=''][/av_content_slide][/av_content_slider] <div class="location-dropdown"> <div id="location-info" class="location-info"> <div class="location-intro"><div class="title">Sie haben Fragen an uns?</div><div class="subtitle">Rufen Sie uns jetzt an!</div> </div> <div class="numbers"><div class="s"> <span class="location-icon"> <a href="/kontakt/standorte/standort-stuttgart/"> <img class="avia_image " src="/wp-content/uploads/2017/10/pferd-stuttgart.svg" alt="econsor Standort Stuttgart Pferd" title="econsor Standort Stuttgart" itemprop="thumbnailUrl"> </a> <span class="location-name"> <a href="/kontakt/standorte/standort-stuttgart">Stuttgart </a> </span> </span> <a href="tel:071146058950" title="econsor in Stuttgart anrufen">0711 / 46 05 89 – 50</a> </div> <div class="lb"> <span class="location-icon"> <a href="/kontakt/standorte/standort-ludwigsburg/"> <img class="avia_image " src="/wp-content/uploads/2017/05/krone-ludwigsburg.svg" alt="econsor Standort Ludwigsburg Krone" title="econsor Standort Ludwigsburg" itemprop="thumbnailUrl"> </a> <span class="location-name"> <a href="/kontakt/standorte/standort-ludwigsburg">Ludwigsburg</a> </span> </span> <a href="tel:071489288990" title="econsor in Ludwigsburg anrufen">0 71 48 / 92 88 99 – 0</a> </div> <div class="hn"> <span class="location-icon"> <a href="/kontakt/standorte/standort-heilbronn/"> <img class="avia_image " src="/wp-content/uploads/2018/01/adler-heilbronn.svg" alt="econsor Standort Heilbronn Adler" title="econsor Standort Heilbronn" itemprop="thumbnailUrl"> </a> <span class="location-name"> <a href="/kontakt/standorte/standort-heilbronn">Heilbronn</a> </span> </span> <a href="tel:071311201450" title="econsor in Heilbronn anrufen">0 71 31 / 12 01 45 – 0</a> </div> <div class="hd"> <span class="location-icon"> <a href="/kontakt/standorte/standort-heidelberg/"> <img class="avia_image " src="/wp-content/uploads/2017/10/loewe-heidelberg.svg" alt="econsor Standort Heidelberg Löwe" title="econsor Standort Heidelberg" itemprop="thumbnailUrl"> </a> <span class="location-name"> <a href="/kontakt/standorte/standort-heidelberg">Heidelberg</a> </span> </span> <a href="tel:071311201450" title="econsor in Heidelberg anrufen">0 62 21 / 32 18 86 – 0</a> </div> </div> <div class="map"> <div class="map-icon"> <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1000px" height="1000px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"> <path fill="#3E3D40" d="M652.35,920.931c-5.113-3.879-10.285-7.978-14.926-11.553c-14.95-11.94-29.875-15.905-45.385-14.968 c-15.508,0.979-19.59-15.026-27.525-22.023c-8.046-6.989-10.877-19.295-19.835-19.76c-8.95-0.541-15.398-5.578-21.112-9.914 c-9.676-7.437-15.152-9.922-17.857-4.148c-4.26,8.925,21.595,21.035,32.463,28.422c10.994,7.445,9.601,18.162,5.982,20.942 c-7.133,5.366-23.621-9.593-34.972-16.472c-12.964-7.97-26.056-14.427-28.278-6.711c-1.665,5.891,7.817,8.266,7.276,15.736 c-0.363,5.063-7.708,4.623-14.215,7.133l-9.551-18.567l-11.291-0.278l-5.122,15.349l-12.161,0.346l-11.857-20.063l-1.166-23.613 l-42.173,1.581l-6.693,16.167l-29.538,6.288l11.427,26.857l22.826-3.846l1.979,11.342l-20.85,11.367l5.907,10.277l-13.429,9.938 c0,0-10.201-3.634-24.788-4.072c-14.553-0.339-25.168-7.811-45.671-15.712c-20.452-7.867-38.184,13.853-57.147,17.757 c-18.89,3.88-27.543,0.371-37.364-5.941c-9.888-6.313-31.828,13.497-31.828,13.497l-7.699-5.527l20.993-30.839l-15.736-10.276 l-30.349,24.417c-4.741-8.705-18.509-27.958-14.959-48.437c1.876-10.886,0.541-19.92-3.136-34.287 c-3.566-13.844,11.029-34.235,19.286-51.588c8.249-17.291,5.13-27.222,0-38.58c-5.13-11.469,1.8-23.326,4.336-28.414 c4.731-9.396,28.337-52.491,33.036-60.96c5.94-10.683,6.566-13.894,3.55-22.895c-3.813-11.621,13.378-46.905,14.604-51.597 c1.184-4.801,13.473-18.255,13.378-37.854c-0.066-16.539,9.889-22.235,15.458-28.76c6.618-7.741,8.554-12.939,12.509-23.217 c3.888-10.26,16.928-12.212,25.971-18.119c9.094-5.907,15.745-14.977,16.142-23.622c0.39-8.688,8.257-18.552,12.981-24.434 c4.767-5.941,21.247-22.869,21.247-22.869c7.471-8.654,28.515-42.012,36.239-52.788c7.058-9.804,8.291-14.553,9.466-26.757 c1.176-12.204,7.091-20.892,18.906-33.881c11.815-12.981,7.479-20.884,7.074-27.585c-0.38-6.677,1.64-17.495,4.741-27.577 c3.558-11.426-3.093-13.767-8.249-19.667c-5.122-5.907-5.527-10.26-6.677-20.495c-0.896-7.395-3.229-38.606-5.197-59.481 l39.441,10.277l7.074,21.281l16.134-1.986l0.804-15.331l-7.479-17.714l15.349-7.125l11.408,25.633l33.493,11.418l-3.136,18.475 l-10.632-0.389l-10.624,29.926l9.449,9.068l12.609-17.714l11.807,0.38l8.291-18.931l-2.772-15.703l13.843-3.963l5.46,13.378 l15.349-2.73l-0.517-24.915l20.57,7.987l26.842-7.1l11.029-20.495l22.075-1.978l-2.78-29.943l-8.688-1.2l3.119-14.173l29.978,3.178 l7.91,10.192l12.931-0.777l10.683-18.534l8.563,0.389l-0.777,33.882l11.443,1.2v-9.001l16.167-3.178l4.353,11.427l11.808,1.563 l1.563-14.165l16.159-1.2l5.113,29.918l-8.681,22.886l5.478,5.527l14.24-9.466l5.52,3.947l1.226,23.622l10.623,5.544l13.811-7.099 l0.354-10.624l18.483-11.021l13.412,12.212l-1.132,31.87l9.812,25.625l-10.269,10.632l9.475,21.636l-5.113,14.215l2.341,29.926 l28.381,20.892l-3.938,14.156l14.224,37.009l36.578,21.678l3.229,43.735l-2.798,25.193l18.146,13.768l0.845,20.114l-15.033,12.212 l-6.246-14.182l-10.285,3.533l-1.979,9.846l-11.037-0.786l-3.084-8.68l-20.064-4.327l-7.116,9.06l16.938,47.244l-11.004,3.118 l3.912,10.276l-27.924,13.361l-6.313-7.453l-19.708,14.224l-3.524,14.968l-29.918,17.724l10.276,23.611l9.475,1.149l14.164,29.572 l-2.003,41.378l13.396,12.179l10.26,49.229l-12.592,20.486l0.803,19.643l10.269,5.94l0.432,11.814l-12.651,11.772l-1.148,11.469 l12.145,5.916l3.558,15.364l-19.285,25.979l-11.857-20.03l-16.488,0.786l-10.269,13.742l-25.193-10.633l-6.677,13.422 l-28.718,14.155l-12.669-4.275l-20.31,21.448L652.35,920.931L652.35,920.931z"/> <path id="hd" fill="#FFFFFF" d="M621.502,363.206c14.78,0,26.791-11.95,26.791-26.689c0-14.739-12.011-26.698-26.791-26.698 c-14.682,0-26.647,11.959-26.647,26.698C594.855,351.256,606.855,363.206,621.502,363.206z"/> <path id="hn" fill="#FFFFFF" d="M595.319,478.821c-14.765,0-26.724,11.95-26.724,26.681c0,14.714,11.959,26.689,26.724,26.689 c14.654,0,26.655-11.977,26.655-26.689C621.975,490.771,609.974,478.821,595.319,478.821z"/> <path id="lb" fill="#FFFFFF" d="M415.643,221.898c-14.756,0-26.724,11.95-26.724,26.681c0,14.722,11.959,26.689,26.724,26.689 c14.671,0,26.656-11.967,26.656-26.689C442.298,233.849,430.314,221.898,415.643,221.898z"/> <path id="s" fill="#FFFFFF" d="M548.7,396.606c-14.765,0-26.723,11.95-26.723,26.681c0,14.714,11.958,26.688,26.723,26.688 c14.672,0,26.656-11.976,26.656-26.688C575.357,408.556,563.372,396.606,548.7,396.606z"/> </svg> </div> <div class="map-info"> <div class="map-info-desc">Alle Informationen zu unseren Standorten finden Sie hier: </div> <a title="econsor Standorte in Stuttgart, Ludwigsburg, Heilbronn & Heidelberg" href="/kontakt/standorte/">Zu den Standorten</a> </div> </div> </div> </div> </div> </div>

    hier ist der Shortcode einzelnd nocheinmal:
    [av_content_slider heading='' columns='1' animation='slide' navigation='no' autoplay='true' interval='4' font_color='custom' color='#ffffff' av-medium-hide='aviaTBav-medium-hide' av-small-hide='aviaTBav-small-hide' av-mini-hide='aviaTBav-mini-hide' av_uid='' custom_class=''][av_content_slide title='0711 / 46 05 89 – 50' link='page,8027' linktarget=''][/av_content_slide][av_content_slide title='0 71 31 / 12 01 45 – 0' link='page,8032' linktarget=''][/av_content_slide][av_content_slide title='0 71 48 / 92 88 99 – 0' link='page,8036' linktarget=''][/av_content_slide][av_content_slide title='0 62 21 / 32 18 86 – 0' link='page,8039' linktarget=''][/av_content_slide][/av_content_slider]

    Zum Vergleichen:
    Page: https://www.econsor.de/internetagentur/ –> funktioniert.
    Post: https://www.econsor.de/webdesign/webseiten-richtlinienbasis-fuer-ihr-design-oder-redesign-konzept/ –> funktioniert nicht.
    Es ist der Slider neben “Hotline:” im header.

    Ich setze den Code nur in dieses Feld im Backend unter enfold->header->Zusätzliche Elemente->Telefonnummer oder kleiner Infotext.
    Damit wird es automatisch in jeden <header> von jedem Beitrag und Seite gesetzt.
    Auf einzelnen Seiten oder Beiträgen muss ich das nicht hinzufügen.

    #1226007

    Edit: no – could not be the solution – it is the same page.
    Is it reproducable the error? Means on all posts or portfolio pages the slider is not there?

    i think a mod had to login to your backend and see if there is on your constellation a reason why only on posts/portfolios the shortcode is hampered on that field.
    It is not a standard setting – your code works even on posts in my test environment. With or without transparent headers.

    • This reply was modified 1 month, 1 week ago by  Guenni007.
    • This reply was modified 1 month, 1 week ago by  Guenni007.
    • This reply was modified 1 month, 1 week ago by  Guenni007.
    #1227200

    Hi,

    Did you set the Performance > Disable Template Builder Elements to the second option (Load only used elements)? The content slider is probably not working in the single post because there are no elements that requires the slideshow.js file. In the home page, there is a post slider or grid, so the required script is loaded.

    You might have to set the performance option to “Always load elements” or manually enqueue the slideshow.js file in the posts.

    Thank you for your patience.

    Best regards,
    Ismael

    #1227228

    i thought to that first – but my guess was that if it is used elsewhere in the whole site – the scripts are loaded. And because of the same site/domain this would mean that the slider scripts are loaded.
    That is one trick i use often when inserting a shortcode to other alb elements f.e.: an icon-list in an accordion slider.
    for those elements i have an extra page which i do not link in my page and excluded from SEO and Search Results. Only for that kind of usage.

    #1227253

    Hi Ismael,

    the performance option is already set to “Always load elements”.
    I already checked all the backend settings that could be the reason for the problem, that are known to me and nothing helped.
    By now we are pretty sure that the error comes from the theme and not a plugin or WordPress itself.
    If you want to look at the website a bit closer, we can give you backend access and/or FTP access.
    Thanks in advance.
    Gerry Zeller

    #1228094

    Hi,

    Thank you for the update.

    Yes, please post the login details in the private field so that we can check the site properly. If there is a staging site, then we would prefer to access that one instead. And FYI, we added the shortcode in a post inside our own installation and the slider worked without issue.

    Best regards,
    Ismael

    #1228210

    Hey,
    we have a staging site, that also has the error.
    Here is the login access.

    Best regards,
    Gerry

    #1228701

    Hi,

    Thank you for the update.

    Where can we see the issue again? The content slider is working properly in post page, but the top bar layout is a bit different in the post compare to the home page — the menu items are missing. (see private field)

    Best regards,
    Ismael

    #1228788

    Hello,

    sorry that post doesn’t exit on our staging site.
    You can see that on a post page the slider beside “hotline:” in the header doesn’t load.

    Best regards,
    Gerry

    #1229417

    Hi,

    Thank you for the info.

    Looks like you did a lot of modifications in the econsor child theme, but some of it are not valid like copying the functions-enfold.php, config-templatebuilder and the framework folders. You can’t really override those in the child theme. Did you modify all items in the includes folder? You should refrain from moving everything from the parent to the child directory because it makes site maintenance a lot more difficult.

    Unfortunately, we still don’t know why the content slider is not rendering properly in the top header. This might be due to modifications that we are not aware of.

    Best regards,
    Ismael

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

You must be logged in to reply to this topic.