Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ijon

    (@ijon)

    Yeah I know,

    but it didn’t work as I wanted… I found a tutorial somewhere explaining the PHP echo thing.

    Anyway the form display fine, so I don’t think it could be the problem as it is well displayed.

    It just doesn’t work…

    Thread Starter ijon

    (@ijon)

    T H A N K Y O U !!!!
    Works perfectly.

    One little problem though: on second and third pages (when I click next, or previous), it doesn’t load the images I have in the footer… Do you know why ?

    And one other thing: would you have any idea on how to create some kind of sliding gallery in a single post? (if it is possible)

    Thanks again for your help…
    Jon.

    Thread Starter ijon

    (@ijon)

    Actually, I need to display the text of the post AND a slider of images.

    It is for an architecture website. Each project has several photos, and need some text to explain the project. Just like it would appear with a single featured image, but with three or four images each time…

    Thread Starter ijon

    (@ijon)

    Ok, Got it…

    Just had to try “category_name”…
    Seems to be working…

    Thank you for your help…

    Thread Starter ijon

    (@ijon)

    Just tried… Not working either… I don’t get it

    Thread Starter ijon

    (@ijon)

    Thank you,

    I’ve already read that page, but it seems I’m doing something wrong, because, when I publish a new post in one category or the other, both columns are refreshed with the same article… this is driving me crazy… ??

    Here, are the two options I tried so far (one in the main-content and the other in the aside)… None of these worked. Can you take a look and tell me what I’m doing wrong?
    THANK YOU again, I appreciate…

    <div id=”wrapper”>

    <?php get_header(); ?>

    <div class=”divider”></div>
    <div id=”main-content”>

    <?php
    query_posts(‘cat=News’)
    ?>

    <?php while (have_posts()) : the_post(); ?>

    <h2>“><?php the_title(); ?></h2>

    <div class=”index-entry”>

    <div class=”index-blog-image” style=”width: 200px; height: 200px; float: right;”>
    <?php
    if ( has_post_thumbnail() )
    the_post_thumbnail(‘thumbnail’) ;?>
    </div><!–END index-blog-image–>

    <div class=”index-blog-post”>
    <?php the_excerpt(); ?>
    </div><!–END index-blog-post–>

    </div><!–END index-entry–>

    <?php endwhile; ?>

    <?php wp_reset_query ();?>
    </div><!–END main-content–>

    <aside>

    <?php
    $recentPosts = new WP_Query ();
    $recentPosts->query(‘showposts=1&cat=-News’)
    ?>

    <?php while ($recentPosts->have_posts()) : $recentPosts-> the_post(); ?>

    <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>

    <h2>“><?php the_title(); ?></h2>

    <div class=”index-entry”>

    <div class=”index-portfolio-image” style=”width: 200px; height: 200px; float: left;”>
    <?php
    if ( has_post_thumbnail() )
    the_post_thumbnail(‘thumbnail’) ;?>
    </div><!–END blog image–>

    <div class=”index-blog-post”>
    <?php the_excerpt(); ?>
    </div><!–END blog-post–>
    </div><!–END index-entry–>
    </div><!–END Post–>

    <?php endwhile; ?>

    <?php wp_reset_query ();?>

    </aside><!–END aside–>

    Thread Starter ijon

    (@ijon)

    Dhikra,
    Thank you for your quick answer

    I was just thinking the exact same thing…, I just did that… And yes, it is exactly what I’m trying to do…

    Now, what do I have to do to get Category 1 in the left column and Category 2 in the right column ?

    Thank you again!

    Thread Starter ijon

    (@ijon)

    Thank you for your reply. (sorry for replying so late)

    I’m not sure what you want me to check. Is there a special part of that page that would interest me, or are you saying I will get my answer by reading the whole thing ?

    Thanks again for taking the time to reply…

    Jon.

Viewing 8 replies - 1 through 8 (of 8 total)