FR08
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] portfolio image and portfolio sliderYes same here. Slider still not showing with free version.
Forum: Fixing WordPress
In reply to: Comment box on top of page instead of bottomAnyone? This is killing me, tried to modify today but no luck ??
Forum: Themes and Templates
In reply to: archive and category posts are not listen below eachotherproblem solved! thank for your help man!
here is the final result:
<?php /** * @package WordPress * @subpackage Default_Theme */ get_header(); ?> <div id="content" class="narrowcolumn" role="main"> <?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h3 class="pagetitle"> ‘<?php single_cat_title(); ?>’ </h3> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h3 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h3> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h3 class="pagetitle"><?php the_time('F jS, Y'); ?></h3> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h3 class="pagetitle"> <?php the_time('F, Y'); ?></h3> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h3 class="pagetitle"> <?php the_time('Y'); ?></h3> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h3 class="pagetitle">Auteur Archief</h3> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h3 class="pagetitle">Website Archief</h3> <?php } ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?>> <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('l, F jS, Y') ?></small> <div class="entry"> <?php the_content() ?> </div> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else : if ( is_category() ) { // If this is a category archive printf("<h2 class='center'>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false)); } else if ( is_date() ) { // If this is a date archive echo("<h2>Sorry, but there aren't any posts with this date.</h2>"); } else if ( is_author() ) { // If this is a category archive $userdata = get_userdatabylogin(get_query_var('author_name')); printf("<h2 class='center'>Sorry, but there aren't any posts by %s yet.</h2>", $userdata->display_name); } else { echo("<h2 class='center'>No posts found.</h2>"); } get_search_form(); endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: archive and category posts are not listen below eachotherHey, thanks for the reply.
I did what you said. Its still not right.
Instead of listing all posts under eachother over the entire pagewidth now the postsize of the 1st post is ok. the second post is not under it but beside it.
I dont have it online i am working on it offline. Maybe i could post some stuff here or mail you the themepages?
Forum: Themes and Templates
In reply to: archive and category posts are not listen below eachotheryes. thanks for your help Alchymyth! Now all the posts are the same but not correct. So they all expand over the entire width of the page and push the sidebar to the bottom. Thats not ok. The ‘frontpage’doesnt do this as well. Now the 1st problem is solved i think the width of the post has to be put somewhere. maybe its helpfull to show the code of the ‘correct’index.php page (if this is the one reponsible for the ‘frontpage’ look):
<?php get_header(); ?> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <p class="meta"><span class="date"><?php the_time('F jS, Y') ?></span><span class="posted">Gepost door <?php the_author() ?></span></p> <div class="entry"> <?php the_content(); ?> </div> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: archive and category posts are not listen below eachotherOkay, i am moving forward, when I add DIV to the code the 2nd post is seen correctly, when i add another DIV the 3th as well..
but if I add a 4th post, this one is seen wrongly.
If I add a 4th DIV its seen correctly.How can I change the code so it will look ok with 100s of posts?
Here is my code incl the 3 DIVs in it (line 8, 9 and 10):
<?php get_header(); ?> <div id="content"> <?php if (have_posts()): ?> <div> <div> <div> <?php $post = $posts[0]; ?> <class="pagetitle"> <?php if (is_category()): ?> ‘<?php single_cat_title(); ?>’ <?php elseif (is_day()): ?> <?php the_time('F jS, Y'); ?> <?php elseif (is_month()): ?> <?php the_time('F, Y'); ?> <?php elseif (is_year()): ?> <?php the_time('Y'); ?> <?php elseif (is_author()): ?> Auteur Archief <?php elseif (isset($_GET['paged']) && !empty($_GET['paged'])): ?> Blog Archief <?php endif; ?> </h2> <div class="entry"> </div> </div> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <p class="meta"><span class="date"><?php the_time('F jS, Y') ?></span><span class="posted">Gepost door <?php the_author() ?></span></p> <div class="entry"> <?php the_content(); ?> </div> </div> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php previous_posts_link('« Previous Entries') ?></div> <div class="alignright"><?php next_posts_link('Next Entries »') ?></div> </div> <?php else: ?> <div class="post"> <h2 class="title">Not Found</h2> </div> <?php endif; ?> </div> <!-- end content --> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: comments don’t work in ‘page’ only in ‘posts’ok, an update. when i try a different there (classic) it works fine!! seems its something in the yosemite theme that has these settings.
can anyone tell me which file i need to check? maybe comments-popup.php?
Forum: Fixing WordPress
In reply to: comments don’t work in ‘page’ only in ‘posts’tried a couple of things. anyone here with the Yosemite theme? Its this theme i use. comments in pages still not working
Forum: Fixing WordPress
In reply to: comments don’t work in ‘page’ only in ‘posts’maybe some extra info. When I hover over the comment link in index.php(working) its says https://127.0.0.1/?p=18#respond
when i do this in the page.php (not working) it says https://127.0.0.1/?page_id=14#respond
dont know if this should be the same or diffeent.
Forum: Fixing WordPress
In reply to: comments don’t work in ‘page’ only in ‘posts’yes, only in one page…
but its not working in this page either, the link is there (other pages dont have link for comments because i stitched it off there), but the link doesnt work. nothing happens when i click it
Forum: Fixing WordPress
In reply to: comments don’t work in ‘page’ only in ‘posts’would be really great if someone can help me out here
Forum: Fixing WordPress
In reply to: commentsbox not visible offlineyes thanks for the .. time ;P
Forum: Fixing WordPress
In reply to: Change the words ‘posted by’yes thats it, this goes very well! ??
Forum: Fixing WordPress
In reply to: commentsbox not visible offlineHmm it seems the commentbox is visible in the POSTS but not in the PAGES.
I want one page which has the comment option, anyone knows how to fix this?
Forum: Fixing WordPress
In reply to: Change the words ‘categories’ and ‘archives’Got it RVoodoo, thanks again man