I did a JQuery loop thing so I have my most recent post showing on my home page.. I want it to have the read more functionality..I put the "more" tag think where I want it in the post but the whole blog post still shows on my home page..
Under the "If you want to use the Read More functionality" section it gives some code but I dont know what to do becuase I dont have a global $more; section of code to change to "0"
I tried adding it but I dont know enough about PHP code and its not working
<!-- mini loop for the excerpts --> <?php while (have_posts()): the_post(); ?> <h2><?php the_title(); ?></h2> <?php the_excerpt(); ?> <p><a href=\"<?php the_permalink(); ?>\" class=\"red\">Read more...</a></p> <?php endwhile; ?> <!-- end the mini loop -->
change the class to what you want, that is my class for my css
remember I have that in my main home page, but my main home page is not in wordpress, it hould work for you however, but it is a snippet
I found this site that seems to talk about it.
http://codex.wordpress.org/Template_Tags/query_posts
Under the "If you want to use the Read More functionality" section it gives some code but I dont know what to do becuase I dont have a global $more; section of code to change to "0"
I tried adding it but I dont know enough about PHP code and its not working
Can anyone help?
this has the "read more" functionality you want
here it is again:
change the class to what you want, that is my class for my css
remember I have that in my main home page, but my main home page is not in wordpress, it hould work for you however, but it is a snippet
that should work for you, your only taking the excerpt.
good luck