| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 3 months |
| seen | May 13 at 18:19 | |
| stats | profile views | 1 |
|
Mar 17 |
accepted | How to set up a echo? |
|
Mar 17 |
comment |
How to set up a echo? I can only check mark one of the answers. |
|
Mar 17 |
awarded | Scholar |
|
Mar 17 |
comment |
How to set up a echo? I see. I didn't wrap the php code on both ends. I'm super new to php. So this question must of seemed super noobie. Thanks so much |
|
Mar 17 |
comment |
How to set up a echo? single.php i get a Parse error: syntax error, unexpected '<' I dont't know how to apply the code in php opening and ending tags. I think thats my problem. If i just write the code you gave me it just shows up as text on my site so i need to put <?php ?> to get it to work, but that doesnt work |
|
Mar 17 |
comment |
How to set up a echo? The code above has been updated , but still doesnt work. |
|
Mar 17 |
revised |
How to set up a echo? added 104 characters in body |
|
Mar 17 |
asked | How to set up a echo? |
|
Feb 27 |
comment |
How do I find the first item in the post array? It doesn't make total sense to me But it works Perfectly!!! Thanks your a life saver. |
|
Feb 27 |
comment |
How do I find the first item in the post array? if i do if ($n[0]) add class; it just adds the class to all posts im just trying to do is add a class to the first post i just dont know what to write in the ???? part of my code I posted. Any help would be greatful |
|
Feb 27 |
comment |
How do I find the first item in the post array? <li<?php if ($n[0]) echo ' class="current"'; ?>> <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </li> this doesnt work |
|
Feb 27 |
asked | How do I find the first item in the post array? |
|
Feb 27 |
awarded | Editor |