Open utterances-bot opened 3 years ago
Good article!
You are the best! Great content in today's Internet full of trash. Thank you for your work! It helps me a lot. :)
After the step in which we replace the_content() with the_excerpt() in content.php, the whole articles never get displayed, and somehow this also affects page display, and I cannot get into the whole article past the excerpt.
Nevermind. I simply had to go into page.php and change
get_template_part( 'content-single', get_post_format() );
to
get_template_part( 'content-single', get_post_format() );
[Oh my god, there should be a way of editing or deleting comments... I'm making revision to the comments I leave on your website after finding mistakes!]
get_template_part( 'content', get_post_format() );
to
get_template_part( 'content-single', get_post_format() );
This should have been mentioned as an update after we change content.php and add single.php with the aforementioned reference change from 'content' to 'content-single'.
Pager class from blog.css stops working after pulling css files from function.php
Not sure what this is about, but the whole rounded button customization of the 'next' and 'previous' buttons was lost after that. Should I be linking to some other default Wordpress css files?
Well, no, the class does not stop working, rather the pager list items do not display as rounded-corner buttons any longer.
WordPress Tutorial: Pagination, Comments, Functions, & Custom Posts | Tania Rascia
In part one of the tutorial series Developing a WordPress Theme From Scratch, we learned what WordPress is, what it can do, and how to do…
https://www.taniarascia.com/wordpress-from-scratch-part-two/