Forum Replies Created

Viewing 15 replies - 376 through 390 (of 449 total)
  • Thread Starter Alkorr

    (@alkorr)

    Sure, here is the code on my index.php:

    <?php get_header(); ?>
    
    <?php
    $paged = get_query_var('paged');
    $paged = ($paged) ? $paged : 1;
    echo "<p><h2>Paged:$paged</h2></p>";
    $i=1; ?>
    
    <?php while(have_posts()) : the_post(); ?>
    <?php if (true || ($i == 1) || ($paged > 1)) : ?>
    
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Read: <?php the_title(); ?>"><?php the_title(); ?></a><br />
    <?php the_content(); ?>
    
    <br />
    <br />
    
    <?php else : ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Read: <?php the_title(); ?>"><?php the_title(); ?></a><br />
    <?php the_excerpt(); ?>
    
    <?php endif; ?>
    <?php $i++; ?>
    <?php endwhile; ?>
    
    <br />
    <br />
    
    <center><?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?></center>
    
    <?php get_sidebar(); ?>

    I hope it will help!

    Thread Starter Alkorr

    (@alkorr)

    Hi vtxyzzy! I just tried it and indeed, all posts show now full content on all the pages. So the problem may come from the code, but from where?

    Thanks for you help!

    Thread Starter Alkorr

    (@alkorr)

    It doesn’t change anything… I’m cursed!

    Thank you very much for your help vtxyzzy! 🙂

    Thread Starter Alkorr

    (@alkorr)

    Ok, I tried that it shows the right page: Paged:1 on homepage and Paged:2 when I’m on /page/2/

    So now I wonder why I can’t make your code work?!

    Thread Starter Alkorr

    (@alkorr)

    Hi vtxyzzy, thanks for your help but it doesn’t work, it didn’t change anything… The /page/2/ shows first post on page with the_content like on the homepage 🙁

    But I understand what you intended to do and it sounded great. Any other idea? 😉

    Thread Starter Alkorr

    (@alkorr)

    Hi, I would like to know if since my last reply, someone has heard of a hack (or a plugin) to use timestamp in comments?

    If you do, please let me know!

    Thanks for you help! 🙂

    Thread Starter Alkorr

    (@alkorr)

    Any idea why there is this bug using CSS in Advanced Settings?

    Thread Starter Alkorr

    (@alkorr)

    Anybody concerned by this bug? Disappearing CSS style when inserting an image within the admin? Maybe I should open a ticket then…

    Let me know!

    Thread Starter Alkorr

    (@alkorr)

    My site is not online yet, that’s why I can’t give you access… But this problem comes from the settings somewhere because this /attachment/ thingy is used by default everytime I insert an image. 🙁

    I checked everywhere on my settings and on the internet and I can’t find anything about why WP is placing /attachment/ onto my permalinks…

    Any help is welcome!

    Thread Starter Alkorr

    (@alkorr)

    Well, it’s on all my images, in all my posts and I don’t want that, I want the same permalink as in the_title. Any idea how I can get that? Thanks!

    Thread Starter Alkorr

    (@alkorr)

    Hi esmi, it’s a custom theme but I didn’t modify/hack anything other than the usual templates.

    I think the image from the_content is wrapped into a (core) container by default. But the bug with my CSS disappearing has nothing to do with my theme, it’s from the Admin. Well, I guess…

    Thread Starter Alkorr

    (@alkorr)

    Hi MichaelH! In fact a part of my blog is dedicated to give informations about a specific topic (the one mentioned in the relative post). It’s like tips I give in addition to my topic. So it’s not really comments in the way that nobody can sent comment (excepted other authors of my blog).

    So it would be great if I could schedule my comments so the post is updated on a daily basis with new information by showing the latest comments. And that’s why I would like to be able to schedule my comments so they get published according to their timestamp.

    I know it’s a very special way of managing comments in WP, but I hope there is a way to do so. For the moment, if I modify the date of a comment (like 3 days ahead) and publish it, it’s automatically published, 3 days in advance…

    Thanks for your interest 😉

    Thread Starter Alkorr

    (@alkorr)

    Thank you Michael! So with this code I only make 1 query and not 4 like with my previous code, right?

    And what about the tags? I looked at the Codex and it’s not very clear to me…

    🙂

    Thread Starter Alkorr

    (@alkorr)

    Thank you very much vtxyzzy, it works perfectly!! 🙂

    (only thing not working well is how the comments appear, I corrected the HTML and it’s perfect).

    I wish I could help the others as much as you do but unfortunately I’m not good enough… But I’m learning.

    Thanks a lot, you made my day! 🙂

    Thread Starter Alkorr

    (@alkorr)

    I know why it doesn’t work… Here are my categories:

    Books
    – Reviews
    — Fantasy

    Books category ID is 10, and I want to show all the comments posted in that category, including comments posted in both Reviews and Fantasy. I have many categories (like 250) so I can’t checked for everyone of them:

    AND t1.term_id IN (’10’,’11’, … , ‘250’)

    The solution would be to get the comments from the main category: Books. Is that possible? I hope so… Or I’m really stucked…

    Thanks a lot!

Viewing 15 replies - 376 through 390 (of 449 total)