I've been working with wordpress for several years, and I'm pretty sure that I could help you out. All I ask for in return is that you explain your problem a bit better. One sentence is not enough.
ok this is how my current catrgory looks like http://www.e2tv.tv/category/lost/ http://www.e2tv.tv/tv-shows/watch-lost-online/ that displays links all the posts in the lost category how would i do something like that? i know i can use seperate category pages eg category-lost.php then i could somehow grab all post in the lost category any help please Cheers Tom
<?php global $post; $myposts = get_posts('category=1'); foreach($myposts as $post){ echo '<a href="'.the_permalink().'">'.the_title().'</a><br>' } ?> Code (markup):
using that code i get tis error Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/.puffball/freeshituk/e2tv.tv/wp-content/themes/MovieSitePress/category-16.php on line 12
Fixed it their was a missing ; the problem is 1. It does not link to the post but just shows the url 2. Only has like 5 links needs them all. Cheers tom
sorry some missing codes <?php $myposts = get_posts('category=1&offset=1&numberposts=100'); foreach($myposts as $post){ setup_postdata($post); echo '<a href="'.the_permalink().'">'.the_title().'</a><br>'; } ?> Code (markup):
Ok http://www.e2tv.tv/category/90210/ you can see the code in action the the problem is that is shows the url rather than acutually linking to post. how would i do that? Cheers Tom
<?php global $post; $myposts = get_posts('category=4&offset=1&numberposts=100'); foreach($myposts as $post){ setup_postdata($post); echo '<a href="'; the_permalink(); echo '">'; the_title(); echo '</a><br>'; } ?> Code (markup):
http://www.e2tv.tv/category/90210/ now it shows post but from 12-1 how woulls i show it from 1-12 so oldest first? Also Would it be possiable to seperate for each season eg (http://www.e2tv.tv/tv-shows/watch-family-guy-online/) family guy has 8 seasons and how would i link to it like on that page, also would it be possiable to change links so they look similar?
you can line them up by date if they are post in order &order=ASC&orderby=date or by title &order=ASC&orderby=title use tag to split the seasons
What you mean use tag to split the seasons. &order=ASC&orderby=date where would i put that in the code? Cheers Tom
What you mean use tag to split the seasons? how? would i have to add tags to each episode? Cheers Tom