Part 45 - WordPress Theme Development - Comment Section - PART 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 25

  • @brada3827
    @brada3827 8 ปีที่แล้ว +2

    Hey Alecadd... thank you for this video... I just want to correct you a little :D, because you make a mistake, and for the users who maybe don't understand the method with printf:
    printf("text format with some arguments", first argument , second argument, ...);
    the parameters of the _nx function are : singular format/plural format/ variable/ context information for transalors/domain of translators , if variable is ==1 it prints singular, else it prints plural.

    • @alecaddd
      @alecaddd  8 ปีที่แล้ว +3

      Thanks for watching, and thank you for the correction. Sometime I get confused and mess up the explanation :D

  • @willkanoff
    @willkanoff 8 ปีที่แล้ว

    Absolutely AWESOME! Thanks a million, Alessandro! Please keep it up! You saving lives... :D !

  • @mouslima22
    @mouslima22 4 ปีที่แล้ว

    Only the comment field is showing up for me, i need the other fields too how can i fix that 😔 WordPress 5.4

  • @nigo400
    @nigo400 6 ปีที่แล้ว +1

    thank you so so much for this series, i always develop my websites from scratch but you actually opened my eyes to work smarter. i am very grateful. Please alecaddd i am having a very big issue which has been a problem for over two weeks now without progress. the comment section shows my replied message as a normal message, it isn't nested and i do not know what is wrong. please i need your assistance. Thank you

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      Hi, thanks for watching.
      Check my source code on Github to see if you have any typo or difference in your code.
      Cheers

    • @nigo400
      @nigo400 6 ปีที่แล้ว +1

      Alessandro Castellani, thank you so so much for the feedback. Am gonna check and get back to you. God bless

    • @nigo400
      @nigo400 6 ปีที่แล้ว +1

      i just found out i made the mistakes.. thank you so much man, i am very grateful. You doing a great job

  • @darrenking8941
    @darrenking8941 8 ปีที่แล้ว +1

    Great stuff. And for the sake of DRYer code, I'd suggest moving the code for the comments navigation into a separate file, rather than repeating that same section of code twice. :)

    • @alecaddd
      @alecaddd  8 ปีที่แล้ว +1

      Oh yes, I already did this in the upcoming tutorial.
      Thanks for the suggestion anyway :D

  • @hazara-encyclopedia
    @hazara-encyclopedia 3 ปีที่แล้ว

    Would someone please help me?!!! The reply to comment is not indented. When I post a comment, it opens a new page and displays that exact comment I created. Then when I go back to the previous page I see my newly created comment but the comment field is still holding the comment. When I click Reply to comment button it also redirect me to that comment instead of replying to that comment. Please someone help. It would be highly appreciated. Thank you. - Just to let you know. I am trying to display the comments for a custom post type.

  • @abhishekbaliyan5891
    @abhishekbaliyan5891 6 ปีที่แล้ว +1

    Hi Alex,
    Thanks for the awesome tutorials again.
    I need suggestion.
    Is auto approve comments good or bad.

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว +1

      I wouldn't recommend it, always validate your comments and use Akismet to avoid spam.
      Cheers

  • @joudhaddad4632
    @joudhaddad4632 8 ปีที่แล้ว

    Hi Alessandro , inspiring work i might say.
    i have an issue but just so you know i haven't watched the last five episodes of the series just yet.
    when i uploaded my files to a live server (godaddy) to test it, i found out that all the posts are not showing in the home page (blank home page) so i uploaded your files but i still have the same problem.
    eventually i discovered that the class" reveal" is not being added to the posts on home page.
    is there and error in the .js file or it's a server related issue?
    thanks again man for all the wonderful work :D
    UPDATE: the Ajax's loading more button is also not working

    • @alecaddd
      @alecaddd  8 ปีที่แล้ว +1

      Do you have any errors inside the console inspector of your browser? The javascript to apply the reveal class is really simple and shouldn't have any problem with any server.
      I currently use the method I coded on a couple of live site and I don't have issues.

    • @joudhaddad4632
      @joudhaddad4632 8 ปีที่แล้ว

      ohhh, i just figured it out , it seems on of the plugin I've installed on my website witch is called light-box is messing with the JavaScript file, more prissily ( Uncaught TypeError ).
      in your opinion how can we avoid such a thing in the future and thanks again alex :D

  • @globalentertainment3169
    @globalentertainment3169 7 ปีที่แล้ว

    Thanks for the great tutorial. I have a doubt, when we reply for comments, how can I nest beneath that comment?? Please reply

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      WordPress does it automatically when you reply to a comment those new comments get nested to a child list. Just style it accordingly.

  • @gtmix
    @gtmix 5 ปีที่แล้ว

    great videos ... but you speaking too much !
    please get the point right away

  • @arupmaity5378
    @arupmaity5378 4 ปีที่แล้ว

    you copy the wordprss . bad video

    • @alecaddd
      @alecaddd  4 ปีที่แล้ว

      LOL, I copy the what?

    • @arupmaity5378
      @arupmaity5378 4 ปีที่แล้ว

      @@alecaddd WordPress own theme theme comment.php code is same

    • @alecaddd
      @alecaddd  4 ปีที่แล้ว

      @@arupmaity5378ahahah, you don't know anything about WordPress, do you?

    • @arupmaity5378
      @arupmaity5378 4 ปีที่แล้ว

      @@alecaddd you know plz make video how design comment section. In php and css. I want see how design do you