joebrooksie
Member
Posted 3 years ago #
I need a couple template loops created... Please do not link me to the CODEX file regarding Loops and tell me to do it myself.
I've tried and failed. I'm a hands on type of person normally - but The Loop is something I just haven't been able to grasp entirely. I understand what it is, and how it functions. I just don't understand how I can manipulate it. The Loop Codex page is written for people who grasp PHP and not for newbies like myself.
If someone really wants to help the community they would create a Loop Template Generator that spits out clean code according to the paremeters set up by the user. It would be more useful than just linking to the CODEX file and answer a lot of questions.
Here are the loops I need:
http://img.photobucket.com/albums/v78/spunkz/loopsneed.gif
reflexionstudios
Member
Posted 3 years ago #
Calm down man...
My knee-jerk reaction is that you only need 1 loop, since all 4 of those loops are doing the exact same thing. The Loop holds all of the post information you need, it's just a matter of how you manipulate it. You may have to write a custom function or two that shortens the output. Check out the php function strlen() and the WP the_excerpt() tag. I'd give you a link to the Codex but...
joebrooksie
Member
Posted 3 years ago #
I am calmed down...
Maybe you need to reread my request for help? :)
reflexionstudios
Member
Posted 3 years ago #
Your posts would lead me to believe that you haven't actually read through the Codex, because it's pretty straight forward, regardless of your knowledge of PHP. I am helping, but maybe you need to listen to what I'm saying and be more proactive?
Trial and error.
@ joebrooksie
this tutorial may be exactly what you are looking for, with explanations step by step and a downloadable, already made, file of index.php (the theme index file).
http://www.daobydesign.com/blog/2007/07/modifying-wordpress-front-page/
joebrooksie
Member
Posted 3 years ago #
buddha trance
Now you are a great member of this community who actually read my post and took the time to find a solution unlike reflexionstudios who obviously glanced over what I wrote and suggested a solution that pointed to the Codex - which is where I didn't want to end up.
Thank you VERY MUCH
joebrooksie
I am glad the suggested link worked out! :-)