Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: How to get a different blog format ? #1466621

    Hi, could you help me please.
    I don’t understand why articles, in my Blog page, sometimes show an extract of the text below the photo, and sometimes don’t …
    I’d like to have an extract of the text always, but I don’t know how to do… and where… In the Blog page ? In the Article page ?

    Thank you in advance.

    in reply to: How to get a different blog format ? #1447698

    I have still trouble because I don’t know how to install the plugin … Could you help me please ? Thanks a lot !

    in reply to: How to get a different blog format ? #1443699

    Hi, sorry but I am not a developer, and I am not sure where I should add these 2 pieces of code …
    I have added them in the functions.php file (see below), but it seems that there is an error … Could you help me please ?

    The error message says : syntax error, unexpected ‘add_filter’ (T_STRING) … ?
    Thank you !

    _________________________________________________
    add_filter(‘avf_magazine_excerpt_length’,’avf_magazine_excerpt_length_mod’, 10, 1);
    function avf_magazine_excerpt_length_mod($excerpt) {
    $excerpt = 100;
    return $excerpt;
    }

    __________________________________________________
    function custom_larger_thumbnails_script() { ?>
    <script>
    (function($){
    $(‘.av-magazine.larger-thumbnails .av-magazine-entry img’).attr(‘width’, ‘180px’);
    $(‘.av-magazine.larger-thumbnails .av-magazine-entry img’).attr(‘height’, ‘180px’);
    $(‘.av-magazine.larger-thumbnails .av-magazine-entry img’).attr(‘sizes’, ‘(max-width: 180px) 100vw, 180px’);
    $(‘.av-magazine.larger-thumbnails .av-magazine-entry .av-magazine-thumbnail’).css({‘height’: ‘180px’,’width’: ‘180px’});
    })(jQuery);
    </script>
    <?php
    }
    add_action( ‘wp_footer’, ‘custom_larger_thumbnails_script’, 99 );
    _____________________________________________________

    in reply to: How to get a different blog format ? #1442875

    My internet site in progress : http://www.afortech2024.hdigital.fr/actualites/

    in reply to: How to get a different blog format ? #1442874

    Thank you !
    And last question, sorry : how can I modify the size of the thumbnail size of the magazine element, when I use the above configuration ?
    THanks in advance, best regards

    in reply to: How to get a different blog format ? #1442680

    Hello,

    ok and thank you. The only problem with the “magazone element” is that I don’t know how to show not only the title and the image, but also the 4/5 first lines of the article, before the “read more” … Any idea ? Thank you

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