Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gijski

    (@gijski)

    ok, I now can confirm that it DOES work on Chrome on my MacBook! Both on your website and mine.

    Some sort of issue with Safari (v7.0.1 and v7.0.2) as it seems

    Thread Starter gijski

    (@gijski)

    Ehm, I also don’t see it on your website. I do get a pop-up with a message though:
    https://www.dropbox.com/s/ici1sfx3q7bgpek/Screenshot%202014-02-24%2020.44.59.png

    I’m on a Macbook Pro with Mavericks 10.9.1 using Safari. Earlier when I was testing your plugin on my website I was on an iMac (Mavericks 10.9.1 + Safari)

    Thread Starter gijski

    (@gijski)

    The website is not public (familie website). Here is what I have done:

    Installed WordPress 3.8.1 running Twenty Fourteen theme and couple of plugins (which might be interfering, I assume). The theme itself isn’t touched that much, just a few adjustments.

    I downloaded and activated the Facebook Chat plugin. It shows in the Settings page, with the only option being to change the Toolbar color (is that normal?)

    I don’t know what the normal behaviour is on the website. Nothing appears on the site (do I need to create a page or place code in the header?) What would I see that tells me it is running?

    Thread Starter gijski

    (@gijski)

    Got it!

    This did what I was looking for:

    <?php
    $my_query = new WP_Query('page_id=49');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID;
    ?>
    <?php the_content(); ?>
    <?php endwhile; ?>
    Thread Starter gijski

    (@gijski)

    Ok, I found the cause, but not the solution yet:

    On the same category-page I was showing the content of a page by using this code:

    <?php query_posts( 'page_id=49' ); ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <div class="entry">
    <?php the_content(); ?>
    </div>
    </div>
    <?php endwhile; ?>

    If I remove this, the <!– more –> tags work fine. Now my problem is how to show the content of that page without disturbing the category display?

    Thread Starter gijski

    (@gijski)

    Weird, since I did use it in a Category-template:
    Named a file ‘category-2.php’ and used the above code in it.

    I think it must be conflicting with something else in the file, since when I put it in en empty page (like you did) it works fine…

    I’ll let you know what I find, thanks so far

    Thread Starter gijski

    (@gijski)

    Yep, here is the code I use:

    <?php $posts = get_posts( "category=2&numberposts=5" ); ?>
    <?php if( $posts ) : ?>
    <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
    <div class="meta"><h1 class="title">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
    <?php the_title(); ?></a></h1></div>
    <div class="content">
    <?php the_content(); ?></div>
    <?php endforeach; ?>
    <?php endif; ?>
Viewing 7 replies - 1 through 7 (of 7 total)