1

I am using Twenty twenty theme for my wordpress blog. It's a new blog.

  1. When somebody visits my blog from blog url, posts look very odd without a featured image & further nothing like "Read more" appears in end! It ends with […].
  2. If i add a featured image, then a very big image appears at beginning of blog post(which i don't want, blog post is already complete) along with other pics. What should be size of Featured pic(there is no option inside to change the size).
  3. Somebody suggested me to change theme to generatepress or others, saying you can't do much with this theme! Is placing of featured image not possible with twenty twenty theme?
2
  • hello dear Mayank - many thanks for sharing your topic with us. I guess it would be great if you can provide us a page - where we can see the issues.
    – zero
    Oct 25 at 0:04
  • Thanks @zero for your interest. Pl. click the word url in Point 1. As i am also continuously finding methods to resolve it, i have kept Featured image in 1 post out of 3 posts now, it's a new blog ( & in that post i have removed first image from inside the post otherwise it was appearing double in the post( as it was same image as featured post )
    – Mayank
    Oct 25 at 2:56
0

Sorry about that.

For the Twenty-Twenty-Theme, I think a so-called "Child Theme" would be very suitable to realize your suggestions. You can find more about this on the Wordpress Developer page.

That can then look something like this for the "Read more" text:

function twenty_twenty_add_read_more( $more ) {
    return '... <a href="' . get_permalink( get_the_ID() ) . '"> Read more <span class="screen-reader-text">“' . get_the_title( get_the_ID() ) . '”</span></a>';
}
add_filter('excerpt_more', 'twenty_twenty_add_read_more' );

And for hiding the featured image in a post you can possibly use:

if ( is_single() && 'post' == get_post_type() ) {
    //There is most likely a post being displayed right now.
}

I put the whole Child Theme, implemented with your suggestions, into one GitHub project. The link to it is here. You can just go to Code > Download and download it. It should work - I guess.

Have a nice day, Chris

1
  • Thanks Dear @Chris for your helping hand but seeing that there is no inbuilt solution in the theme itself - even for such little things i will have to go for typical (being a non technical person) outside solutions, i plan to change the theme itself.
    – Mayank
    Nov 3 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.