Forum Replies Created

Viewing 30 posts - 4,441 through 4,470 (of 11,877 total)
  • Author
    Posts
  • in reply to: Absolutely bad speed values #1298952

    on Performance this will be important – the Structure value is on this more important.
    But you are talking about speed on top.

    I got performance ratings on one page between 66% and 96% ( C to A) – but the structur value stays nearly the same 87% – 97%.

    in reply to: Blog Element – Move Date Under Excerpt #1298941

    you have choosen to load the jQuery script in the footer ( Enfold Options – Performance – “Load jQuery in your footer” )

    so when i inspect your DOM i can see that my script is loaded before the jquery script is loaded !

    so the jQuery in my script refers to something that is not yet there.
    _________

    You can do now: change the fact that jQuery is loaded in the footer
    or try to load the custom script later

    try first:

    function ava_move_meta_after_title(){ 
    ?>
    <script>
    (function($){
    	$('.slide-entry').each(function() {
    		var metaInfo = $(this).find('.slide-meta');
    		var postTitle =  $(this).find('.entry-content-header');
    		postTitle.insertAfter($(metaInfo));
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_move_meta_after_title', 999 );

    the 999 is called priority – you can see here some info: https://developer.wordpress.org/reference/functions/add_action/

    _____________________

    yes — your code then will be ok if you like to bring the date under the excerpt. – but use a priority

    • This reply was modified 4 years, 7 months ago by Guenni007.
    in reply to: Adding Leaving Notice Message to external link #1298887

    first : one thing to mention – on new jQuery 3.5.1 – some of the functions are deprecated.
    You had to use.on('load', function() and .on('click', function ()
    and use instead return confirm ()

    so code will be:
    i tested it without $(window).on( 'load' , (function(){
    if it does not work – try then with it ( do not forget the closing brackets )

    maybe this will be enough for you to show:

    function add_custom_script(){
    ?>
    <script>
    (function($){
    	$('.external-link a').on('click', function () {
    		return confirm('Are you sure?');
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');
    • This reply was modified 4 years, 7 months ago by Guenni007.

    And your WordPress Version is ?
    ( maybe read here : https://wptavern.com/after-11-years-users-will-be-able-to-update-themes-and-plugins-via-a-zip-file )
    Since WP 5.7 you can Update via Dashboard on : Appearance – Themes : “Add New” – “Upload Theme” – then insert the new Enfold.zip file ( be sure it is the installable zip file only ) – and click “Install Now”
    This Wordprss will recognize that it is an always installed Enfold and will ask what to do with the older one.
    You can click : “Replace”.

    On former times there was that liitle Plugin “Update Theme and Plugins from Zip File” that offers this feature – but now WordPress has implemented that.

    But: – for me the safest method is and remains the way via ftp upload.

    so post your code that you entered to the footer copyright input field on enfold options.
    i guess that there are some html tags or a non closing bracket (f.e. on the nolink shortcode ) in it that causes the issue.

    My snippet from above was only intended to avoid such input errors by automatically changing the copyright year to the new year.

    • This reply was modified 4 years, 7 months ago by Guenni007.

    when i inspect your (suspected) homepage your on Enfold: 4.2.3 and WP: 5.6.3 – but even with version 4.2.3 the update step is so big that I would also recommend updating Enfold via ftp first, and then updating to WP 5.7.1.
    It is also recommended to check the php version with your provider. For me Enfold 4.8.2 and WP 5.7.1 runs stable on php8.

    3.6.1 Version concerning to? WordPress, Enfold ?
    if 3.6.1 is the version of Enfold and you now on WordPress 5.7.1 then I guess the only useful way to perform an update is via ftp.
    try this : https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107
    If you are not familiar with ftp clients – see here some hints: https://kriesi.at/documentation/enfold/install-enfold-theme/#ftp-install

    on your example page – where is there a background video autoplaying ?

    Edit: i found on top of work page a background-video:
    see source-code: ( click to enlarge )

    as a cdn hosted video – it is a kind of self-hosted video. ( not a youtube nor vimeo etc. ) but html5 video.
    These videos can be played even inline on mobile devices – with autoplay option.

    see here on your mobile device: https://webers-webdesign.de/
    on my page this was a small video – so i selfhost it.
    but with bigger videos – a cdn is very helpful. – til 100mb you might use cloudinary free cdn

    test it by yourself – insert the video source of that page to your color-section background:
    https://cdn.sidlee.com/-/media/sidlee/work/hero_video/web_loop_work.mp4

    in reply to: Absolutely bad speed values #1298681

    may i see the site it is concerning?

    by the way – if you are not a registered User on gtmetrix the option will always be:
    Analysis Options: Testing in Vancouver, Canada using Chrome (Desktop) with an Unthrottled Connection.

    For me ( on German Hosters ) it is indispensable to test my site with a server near me. Since my customers tend to be local to me and I only very rarely receive orders from Vancouver. ( btw. the nearest to me is London :lol )
    The performance Ratings are totaly different on that fact only. F.e. the TTFB is influenced on that.

    in reply to: Magnificent popup is not a function #1298663

    no the point is what i said above: the magnific popup js ( jquery.magnific-popup.min.js ) is not loaded
    and there must be a reason for it. Best would be that a mod will look into your installation.

    in reply to: Blog Element – Move Date Under Excerpt #1298661

    definitly this will work too:

    function ava_move_meta_after_title(){ 
    ?>
    <script>
    (function($){
    	$('.slide-entry').each(function() {
    		var metaInfo = $(this).find('.slide-meta');
    		var postTitle =  $(this).find('.entry-content-header');
    		postTitle.insertAfter($(metaInfo));
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_move_meta_after_title');
    in reply to: Blog Element – Move Date Under Excerpt #1298660

    i prefere to write the whole script a $ instead of jQuery – makes some things easier to understand.

    try:

    function ava_move_meta_after_title(){ 
    ?>
    <script>
    (function($){
    	$('.slide-entry').each(function() {
    		var metaInfo = $(this).find('.slide-meta');
    		var postTitle =  $(this).find('.entry-content-header');
    		metaInfo.insertBefore($(postTitle));
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_move_meta_after_title');
    in reply to: Blog Element – Move Date Under Excerpt #1298649

    can you post a link to the page it concerns – or if you don’t want to make it public – is there a demo page that shows the issue?
    f.e.: https://kriesi.at/themes/enfold-2017/blog/blog-default/

    in reply to: Magnificent popup is not a function #1298618

    no – only header.php has some entries for lightbox use.

    in reply to: Magnificent popup is not a function #1298613

    do you have a child-theme header.php ?

    if the still from an older Enfold, this changed header.php version must be replaced by a current one.
    For this you need to know the reason for the child-theme header.php.
    In the header.php some lightbox settings are made at the very beginning.

    in reply to: Magnificent popup is not a function #1298596

    you are not using a child-theme – where did you place those snippets ?

    in reply to: Magnificent popup is not a function #1298532

    or : do you load jQuery in the footer ?
    Try to switch that ( Enfold Options: Performance : “Load jQuery in your footer” ) and load it in the header

    Edit: no i see you load it in the header …

    hm: try to switch off
    first merging of js an css on Enfold
    second all plugins

    then turn on one after the other – and reload that page – and see what might be the reason for it.

    in reply to: Magnificent popup is not a function #1298527

    that script is ok – and you changed it to on(‘load’ … that is totally correct here – because former load is now deprecated on jQuery 3.5.1

    the magnific popup js ( jquery.magnific-popup.min.js ) is not loaded – maybe a plugin that hampers loading it ?

    in reply to: Magnificent popup is not a function #1298499

    well i do not see the magnific popup script loading
    the css is loaded – but the script itself not.
    Did you mark that “Lightbox Modal Window” on theme options?

    again btw:
    you can extend this shortcode by f.e.:

    function show_date_with_shortcode() { 
      date_default_timezone_set('Europe/Berlin');
      setlocale(LC_TIME, 'de_DE.UTF-8');
      $uhrzeit = date_i18n( 'l, \d\e\n ' . get_option( 'date_format' ) . ' ' . get_option( 'time_format' ). ' \U\h\r'  );
      return $uhrzeit ;
    }
    add_shortcode( 'show-date', 'show_date_with_shortcode' );

    shortcode is then : [show-date]

    the get option is concerning to that what you have set on Dashboard – Settings – General : “Date Format” and “Time format”

    you see the timezone setting and if there must be binding words the letters had to be escaped
    f.e. on german “Uhr” for hour and “den” for the may the fourth be with you :lol

    see here in the socket: https://webers-testseite.de/pureinstall/#socket

    btw: if you put this to your child-theme functions.php:

    function year_shortcode() {
      $year = date('Y');
      return $year;
    }
    add_shortcode('year', 'year_shortcode');

    you can use the current year as shortcode in your content: [year]
    on footer you now can insert: © [year] … whatever you like [nolink]
    last shortcode you know is to get rid of backlink : powered by Enfold

    in reply to: Rollback to 4.8 #1298229

    i always do updates by this : https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    the rename method this way gives you the opportunity to go back if something went wrong.
    The downtime is minimal if something should not work.

    in reply to: New feature requests #1298224

    But it is also true – the less a theme inflates, the faster it runs. ;)

    in reply to: Footer columns different sizes #1298223

    yes that would be ok – if there was no margin between the columns.
    but second and third column got a margin-left of 6% – so for your columns in total there are only 88%
    so try 22% 22% and 44%

    or if you can live with less space between the columns:

    @media only screen and (min-width: 768px) {
      #footer .flex_column.av_one_third:nth-child(1) {
        width: 24%;
      }
      #footer .flex_column.av_one_third:nth-child(2) {
        width: 24%;
        margin-left:3%
      }
      #footer .flex_column.av_one_third:nth-child(3) {
        width: 46%;
        margin-left:3%
      }
    }
    in reply to: How to increase the dots in a tab section? #1298212

    by the way – i posted here: https://kriesi.at/support/topic/how-put-two-functional-arrows-in-the-tab-section/#post-1295725
    an updated version vor those arrows left/right.
    It will loop – if the last slide is reached – the next click will go to the first slide

    in reply to: How to increase the dots in a tab section? #1298207

    Da muss was mit deiner Seite nicht gänzlich in Ordnung sein.

    Ich bekomme keine reproduzierbaren Seitendarstellungen hin.
    Soll bedeuten: Wenn ich in den Browsercache komplett lösche z.B. mittels Tastenkombination in Firefox:

    • «ctrl + shift + r» (Windows)
    • «command + shift + r» (Mac)

    dann sieht es mal so auch – mal anders. ( halbe bilder im slider oder in der erwähnten tab-section ; logo mal ganz links dann wieder nicht etc. pp )
    Da musst du mal nachforschen woran das liegen könnte.

    _____________________

    There must be something wrong with your page.

    I can’t get a reproducible page display.
    This should mean: If I delete the browser cache completely, e.g. using the key combination in Firefox:

    • “ctrl + shift + r” (Windows)
    • “command + shift + r” (Mac)

    then it looks sometimes like this – sometimes different. ( half images in the slider or in the mentioned tab-section ; logo sometimes all the way to the left then again not etc. pp )
    You’ll have to investigate what that could be.

    in reply to: Kategorien löschen #1298205

    ok – an sowas fundamentales habe ich nicht gedacht.
    Du hast also so viele Kategorien, dass es eine Paginierung hat?

    for every single cell you can have a background-image – but the whole grid-row element doesn’t have that feature.
    ( on options dialogs ) on quick css you can set this aswell.

    Well first of all – i do not see in your css the code from above!
    However, with a look at your page now, I would have recommended using the grid row element anyway.
    It provides the required properties from the start, but does not offer a background image for the entire element per se, which is not necessary in your case.

    Nevertheless – my code from above will work, if it exists. Of course, it could be that you have activated file merging and have not refreshed these merged files after adding the new css codes.

Viewing 30 posts - 4,441 through 4,470 (of 11,877 total)