Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1177130

    Hi,

    I’ve noticed 2 issues related to PAGES (not posts) after the last update:

    1. Enfold buttons don’t open in a new window anymore, despite the linktarget='_blank' in the shortcode. But links in the text (on the same page) do open in a new window. So the problem is proper to Enfold shorcode, I assume. (see it here)

    2. All social buttons do open in a new window from PAGES and POSTS, except “Share by email” which does NOT open in a new window from PAGES, but does from POSTS. What is interesting: 3-4 years ago Enfold support gave me the following code to make “Share by email” button open in a new window:

    function addCustomScript(){
    ?>
    <script>
    	function a() {
    		jQuery('.av-share-link.av-social-link-mail a').attr('target', '_blank');
    	}
    
    	jQuery(window).load(function() {
    		a();
    	});
     </script>
    <?php
    }
    add_action('wp_footer', 'addCustomScript');

    But now, despite this code, since the last update “Share by email” does NOT open in a new window FROM PAGES.

    3. In the “tag” archives mentioning PAGES the footer is disappearing (look here https://www.newpointdeview.com/tag/humain/). And in the “tag” pages NOT mentioning PAGES the footer is NOT disappearing (see it here https://www.newpointdeview.com/tag/asie/).

    Please, help.

    #1177328

    Hey Anton,

    Please try updating to Enfold 4.7.2 it should fix the issues.

    Best regards,
    Victoria

    #1177594

    Hi,

    the 4.7.2 update resolved only the “point 1” issue. The points 2 and 3 are still unresolved.
    Please, see it here : https://kriesi.at/support/topic/2-issues-after-the-last-update/#post-1177130

    #1177877

    Hi Anton,

    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,
    Victoria

    #1177886

    Sure

    #1178858

    Hi,

    Thank you for the info.

    2.) Try to adjust the priority value of the filter containing the script. Look for this line:

    add_action('wp_footer', 'addCustomScript');
    

    Set the priority value to 999 or replace the code with:

    add_action('wp_footer', 'addCustomScript', 999);
    

    3.) How did you enable the pages in archive/tag page?

    Best regards,
    Ismael

    #1178976

    Hi,

    2) RESOLVED. Thank you.
    3) How did I enable the pages in archive/tag page? — I didn’t. Seems to me it’s the native Enfold function. Because I’ve always had my pages in archive/tag pages. So the point 3 remains unresolved.

    #1179338

    Hi,

    You’re welcome! Thank you for the update.

    3.) You shouldn’t be able to add tags to pages by default, so those pages should not be displaying in the archive/tag pages. How did you enable the tags for pages? It probably breaks because the excerpt of the pages in the archive/tag pages contains an invalid html code.

    Best regards,
    Ismael

    #1180711

    Hello,

    look, to be honnest I have no memory of having activated the tags for the pages anywhere. Again, to me it’s always been a native Enfold’s function…
    At the same time, you say that “the excerpt of the pages in the archive/tag pages contains an invalid html code”. But I’ve found a tag archive, which is comprising pages but footer doesn’t desappear : https://www.newpointdeview.com/tag/discussions-interculturelles/
    And here’s another tag archive, also with pages, but without footer : https://www.newpointdeview.com/tag/expatriation/

    How come ?

    #1181602

    Hi,

    Again, to me it’s always been a native Enfold’s function…

    It’s not a default theme’s function, not even WordPress’, so there’s a custom modification or plugin in your site that enables tags for pages. Please disable the function or plugin.

    Regarding the excerpt, we just mentioned it because it’s really possible especially when the content is created using the advance layout builder.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.