New Landing How can we help? Themeforest Theme Support Joyn Widget Swift framework recent post : how delete "Author" + "on" ?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Joyn
  • #306662
    mengeco
    Member
    Post count: 558

    Hello,

    Widget Swift framework recent post : under recent posts, how delete “Author” + “on” ?
    I want only date

    J’ai tested change in widget-post.php line 105 but I do not know how to make the modification correctly
    Is there another solution?

    Regards

    #306721
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Provide me the link to the page where you have that widget so I can inspect the code and check if it’s possible with some css.

    -Rui

    #306781
    mengeco
    Member
    Post count: 558
    This reply has been marked as private.
    #306786
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I’m afraid it’s only possible to hide the entire line including the date.

    .recent-posts-list li .recent-post-details > span{
      display:none;
    }

    -Rui

    #306814
    mengeco
    Member
    Post count: 558

    Isn’t possible.

    Can you change : widget-post.php line 105 ????

    thanks

    #306822
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    With the current code structure isn’t possible to change that and use it in the child theme, it’s difficult to explain but not everything is made to be overridden. So the only way now is changing it directly in the parent theme.

    -Rui

    #306827
    mengeco
    Member
    Post count: 558

    ok but how change it directly in the parent theme?
    Thanks

    #306831
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Just edit the file in your cPanel file editor or using ftp.

    and replace this line 105
    <span><?php printf( __( 'By %1$s on %2$s', 'swiftframework' ), $post_author, $post_date ); ?></span>

    by this one

    <span><?php printf( __( '%1$s', 'swiftframework' ), $post_date ); ?></span>

    -Rui

    #306834
    mengeco
    Member
    Post count: 558

    Perfect, thanks 😉

    In the thumbnails, I see a black outline (but ilt’s the image background)
    How to remove black background or change in white ?

    Thanks

    #306842
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try this code

    .recent-posts-list li .recent-post-image {
        background: none!important;
    }

    -Rui

    #306847
    mengeco
    Member
    Post count: 558

    Great ! Thank you very much Rui !!

    #306924
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Glad it’s sorted.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register