Adaptive Blog Theme: Singles, Authors, and Comments
videos

Adaptive Blog Theme: Singles, Authors, and Comments

Tutorial Details
  • Screencast duration: 1 hr 6 mins
  • Difficulty: Beginner
  • Topic: WordPress
This entry is part 5 of 12 in the Adaptive Blog Theme: From Photoshop to WordPress Session
« PreviousNext »

When creating a theme for a blog, especially if you may have multiple authors, it’s important to include an area with your posts for author details. You also, of course, want to encourage discussion, so today we’ll be covering display of comments, and customising the comment form.


single.php Author Area, comments.php


Alternatively, Download the video, or subscribe to Wptuts+ screencasts via YouTube

Callback Function to Display Comments


Alternatively, Download the video, or subscribe to Wptuts+ screencasts via YouTube

Custom Comment Form


Alternatively, Download the video, or subscribe to Wptuts+ screencasts via YouTube
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • krim belkacem

    that’s the best and most complet wordpress series that i’ve ever seen
    thank you adi purdila
    one video about some usefull plugin!
    another about security
    thank you very much

    • Adi Purdila
      Author

      Glad you’re enjoying the series :)

    • Hemaes19

      yah I agree
      one video for security

  • http://www.facebook.com/people/Niculae-Bucur-Ion/100000399490380 Niculae Bucur Ion

    very explicit this series of video tutorials, congratulations Ady, I like

  • http://twitter.com/borowskirafal Rafał Borowski

    Adi just increased YouTube WPTuts+ Subscribers count by 99% ;P

  • Richard

    The videos are not showing up for me

    • http://wp.tutsplus.com/ Japh

      Thanks for reporting that, @disqus_5jh2Fn9O5N:disqus. It seems there was a glitch, which I’ve rectified now. Hope you enjoy the videos!

      • Richard

        no problem :) thanks for the videos

  • http://www.facebook.com/neelam.purohit.7 Neelam Purohit

    Could be better

    • http://wp.tutsplus.com/ Japh

      Thanks for the feedback, @facebook-100000764310166:disqus, would you care to elaborate? It’s not very useful to leave it at that ;)

  • Abdelmomen Bauomy

    thumbs up for the good job guys , so is there any other future parts of this Sessions and if so when they will be uploaded ?

  • Abdelmomen Bauomy

    thumps up for the good job guys

  • Sharjeel Hassan

    Really i have never seen a tutorial series like this in my life. We are on the next level Premium WordPress theme development Wow, Adi I have no words to thank you. God Bless You

    • Adi Purdila
      Author

      I’m really glad you like this series, thank you for the kind words :)

      If I’m not mistaken, there should be 11 videos left.

  • Sharjeel Hassan

    by the way how many videos left, Adi

  • http://www.facebook.com/al.mcrorie Al McRorie

    finding this to be a great series of videos, thanks Adi. now if I could just type things correctly, I would run into a lot fewer problems, but I am up to date and ready for the next instalment.

    Al

  • Bharat

    I appreciate. It becomes zero to ninja in WordPress. Very nice explained. I enjoyed the series.

  • http://twitter.com/joey89924 joey

    so is there any other future parts of this Sessions..
    TEA2025B

  • Pingback: From Photoshop to Wordpress Theme | MBAx.me

  • dbraja23

    This tutorial has helped me a lot.I am doing intern at “Xcido Graphics”. This lesson has enabled me to perform better at my work.

  • http://webdesigntranslate.com/ Manuela Langella

    Hi Adi, thank you very much, your videos are really helpful.

    Just a question about thumbnails, maybe I’ve done something wrong:

    I wrote all the code you specified in functions.php. Now, when I try to upload an image in the “featured” space, my admin becomes white. If I go back to admin (writing “http://localhost:8888/wordpress/wp-admin”) , I can see it again. But it happens every time I upload a thumbnail…admin becomes a white page.

    Another thing: the thumbnail will be correctly resized in the single.php, but in the index it comes out no resized (so extremely big, and goes out of the post)…why?

    Thanks for your work.

    • Adi Purdila
      Author

      Hi Manuela,

      If the admin area goes blank it means you have a PHP error somewhere in your functions.php file or you have a faulty plugin. Try debugging your files using WP_DEBUG (http://codex.wordpress.org/WP_DEBUG). If it still doesn’t work, please post the functions.php code in a code bin somewhere so we can have a look.

      About the thumbnail, you gotta make sure you use the actual thumbnail in index.php, not the whole image. You must use the_post_thumbnail(); for that. Again, if it’s not working for you, please post the code.

      I hope this helps :)

      • http://webdesigntranslate.com/ Manuela Langella

        Thank you Adi for your response.

        1) I set WP_DEBUG on true, it gave me an error and I found out 2 empty lines at the end of functions.php …that was the reason of my blank page in admin! :)

        2) I looked at the index.php as you said, but in your explanation you didn’t put “the_post_thumbnail” in index.php too, but just in single.php.

        I checked on downloaded files too, and the_post_thumbnail is not in index…where I’m doing wrong?

        • Adi Purdila
          Author

          Well, if you check content.php (which returns the regular content) you’ll see that I’m using the_post_thumbnail();. This is not present in index.php because the index file only loads various php templates based on the post format.

          I hope that makes sense :)

          Adi

          • http://webdesigntranslate.com/ Manuela Langella

            Finally I got the error. All was set correctly, I just missed to write the function set_post_thumbnail_size(210, 210, true); in functions.php
            I’m at the beginning with php, but with your help I’m learning a lot. A big, huge thank you :)

  • http://www.facebook.com/people/Ahmad-Zainudin-M/100002819067243 Ahmad Zainudin M

    Thank you very much Adi for great tutorial about developing WP responsive theme step by step,..it’s the best series :)