• Really happy with the theme and its options. Trying to finetune a few more things though:

    How do I?
    – Make the featured image a bit more narrow. Now, the large size is set to 620×300. Ideally I would like to have a 567×300 featured image.
    – Social icons: open url’s in new tab instead of the same window.
    – Change the word “Comments” (number+Comments, top right corner of each post) into the Dutch translation “Reacties”? I wasn’t able to figure this out in comments.php

    Website link: https://www.mobiwebsite.nl/blog/

    Cheers ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I think it best you make a child theme, then:

    1. In: /themes/icy/functions.php, look for
    add_image_size( 'wwl-large', 620, 250, true );
    change to
    add_image_size( 'wwl-large', 567, 300, true );
    The actual size of the image will depend on the image’s aspect ratio.

    2. In: /themes/icy/lib/core.php look for the wwwl_social_icons() function.
    For each icon you are using, add <space>target=”_blank” for example:
    echo '<a href="' . $facebook . '"><i class="icon-facebook"></i></a>';
    becomes:
    echo '<a href="' . $facebook . '" target="_blank"><i class="icon-facebook"></i></a>';

    3. In:/themes/icy/comment.php, look for
    printf( _n( 'One Comment', '%1$s Comments', get_comments_number(), 'icy' ),
    change to:
    printf( _n( 'One Reacties**', '%1$s Reacties', get_comments_number(), 'icy' ),
    where ** is the singular for comments in Dutch.

    Thread Starter James_DG

    (@james_dg)

    Hi Lorro,

    Thanks so much! ??

    1. I had already tried the same thing, but without any result. Tried to upload image sizes as well after having adjusted the code to “567, 300”.
    2. Nailed it, cheers!
    3. Unfortunately it didn’t work. I used:
    printf( _n( ‘One Reactie’, ‘%1$s Reacties’, get_comments_number(), ‘icy’ ),

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Url's Social Icons, featured image’ is closed to new replies.