News for hackers. Stuff that matters.
Re:Why WordPress theming sucks by calvinf on Wednesday September 22, 2010 @12:44PM (#1716715)
#1) True. It does not use an MVC paradigm. That's not the way it was designed, and they're not able to make it MVC w/o breaking backward compatibility with the huge ecosystem of plugins and themes that currently exist.

#2) True, and I agree. The function naming could be improved. If you don't know what the function does, look it up in the codex or the source code. The documentation could improve, too, but one of the stated goals for their next development period is improved docs.

#3) Look at the docs. Yes, the_title() writes to the page. If you want to use the title in a variable, there is get_the_title(). There are generally other functions or parameters you can do if you want it to return the value rather than writing it.

#4) False. The comments template file is comments.php.

#5) True.

Re:Why WordPress theming sucks by CyrilMazur on Wednesday September 22, 2010 @03:56PM (#1717300)
For my defence, I also lead you to the get_search_form() function that does NOT return the search form as a variable, but that really writes it as HTML

http://codex.wordpress.org/Function_Reference/get_search_for...

So what, don't have I the right to bitch around WP naming for functions?

Re:Why WordPress theming sucks by tariq on Wednesday September 22, 2010 @02:12PM (#1717012)
so 3 of his rants could have been resolved by simply reading the docs. brilliant.
Re:Why WordPress theming sucks by byoung2 on Wednesday September 22, 2010 @02:51PM (#1717129)
the_title() writes to the page. If you want to use the title in a variable, there is get_the_title()

Actually, within The Loop, you would us the_title('','',false)