Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Okay, it’s possible with <?php echo category_description(); ?>

    But is it also possible to get an automatic category listing like this:

    • Category title
      Category description

    Do I have to use a “for each loop” ? Sorry, I’m not so firm with PHP..

    Is it also possible to access and display the category description somewhere ‘outside’ the wp_list_categories parameter?

    Forum: Plugins
    In reply to: Include post B in post A
    Thread Starter zuperfly

    (@zuperfly)

    I looked up the custom fields stuff in the codex and voilà:

    <?php echo get_post_meta($post_B->post->ID,'field1', $single=TRUE); ?>

    That does the trick.

    Forum: Plugins
    In reply to: Include post B in post A
    Thread Starter zuperfly

    (@zuperfly)

    Thanks, that’s exactly what I was looking for!
    And it works well, except with the custom fields – I don’t manage to display the custom fields values for post B:

    <?php echo $post_B->post->post_title; ?>
    <?php echo $post_B->post->get_post_custom_values('field1'); ?>

    Maybe get_post_custom_values isn’t the right tag?

    Forum: Plugins
    In reply to: Include post B in post A
    Thread Starter zuperfly

    (@zuperfly)

    I tried this before, but it’s not working either. When you look at the plugin code, how is the plugin supposed to know when the second loop is finished and that I want to return to the original loop?

    <?php get_a_post(70); ?>
    <h3><?php the_title(); ?></h3>
    <?php the_content(); ?>

    I think the plugin will only work outside the loop. But thanks anyway!

    Forum: Plugins
    In reply to: Include post B in post A
    Thread Starter zuperfly

    (@zuperfly)

    Problem is: How do I get back to the original loop afterwards? It seems that after I inserted the code above inside the main loop, every tag after this code is referring to post B, not to the main loop (post A) .. any hints on this?

    Forum: Plugins
    In reply to: Include post B in post A
    Thread Starter zuperfly

    (@zuperfly)

    It is possible.
    To include title and content of post B (ID70) in post A, add this to the single.php:

    <?php $order = "70";
    $myposts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ID IN ($order) ORDER BY FIELD(ID, $order)"); ?>
    <?php if($myposts) : foreach($myposts as $post) : setup_postdata($post); ?>
    <h3><?php the_title(); ?></h3>
    <?php the_content(); ?>
    <?php endforeach; endif; ?>

    Forum: Plugins
    In reply to: Problems with Subscribe2

    I’m also having troubles with the confirmation page. If a user clicks on the confirmation link, he’s send to http://www.mywebsite.de/?s2=1ec0adefc7be307608370f7bea6ea94d33 which results i a very, very strange page: Below the confirmation are parts of my imprint and parts of another blog page displayed. Any chance that I can configure this confirmation page or redirect the confirmation link to somewhere else?

    Forum: Plugins
    In reply to: Problems with Subscribe2

    When I try to subscribe via the website, everything seems fine, the confirmation mail ist sent but on the page I get the error:
    Warning: mysql_affected_rows(): A link to the server could not be established in /www/htdocs/w005ebc4/wp-includes/wp-db.php on line 159 Why is that so? I’ve seen this error also with the WP-EMail plugin. Any ideas?

    Forum: Plugins
    In reply to: Problems with Subscribe2

    I’m having the same problem when I send out a message to my subscribers from the admin panel – I’m the only subscriber so far and I’m getting two mails .. it’s a pity that there’s no more support for this fine plugin.

    Update: Seems like subscribe2 also sends out the messeage to the blog admin. That’s why I got it twice …

    Did someone solve this? I’m also receiving two mails when I send a message to me as the only subscriber so far .. any hint would be helpful!

    Forum: Plugins
    In reply to: TinyMCE – Editor gone
    Thread Starter zuperfly

    (@zuperfly)

    It’s back! I started with the tinymce directory, uploaded it again and now the editor is back. Weired. Thanks for your help!

    Forum: Plugins
    In reply to: TinyMCE – Editor gone
    Thread Starter zuperfly

    (@zuperfly)

    There’s nothing, only a blank textarea. Which files would you suggest to upload?

    Forum: Plugins
    In reply to: TinyMCE – Editor gone
    Thread Starter zuperfly

    (@zuperfly)

    No success. I disabled ALL plugins, but the editor still doesn’t show up. Could it help if I upload/overwrite some config files in the wp-include directory? I read about that in another context, but I’m not sure which file it was ..

    Forum: Plugins
    In reply to: TinyMCE – Editor gone
    Thread Starter zuperfly

    (@zuperfly)

    I thought you meant a server cache or some WP cache .. as I wrote before, it’s not the browser. I even tried it with different browsers (Firefox, Camino), but none of them displays the editor. Of course I installed some plugins in the meantime, but I can’t say which one could be responsible for the missing editor.

Viewing 15 replies - 1 through 15 (of 17 total)