• Howdy ho,
    I have this script:
    <?php c2c_get_recent_posts(3); ?>
    currently on my blog index page, it works fine and dandy.
    But now I want it on my whole website index page. When I try and do so,
    Recent Posts
    Fatal error: Call to undefined function: c2c_get_recent_posts() in /public_html/beta/index.php on line 64
    Line 64 : <?php c2c_get_recent_posts(3); ?>
    So what do I change to make this thing work?
    Ta.

Viewing 6 replies - 1 through 6 (of 6 total)
  • did you activate the plugin?

    Thread Starter Anonymous

    Yes I did.
    It works fine on the blog index, but not my website index.
    I want it to be displayed here:
    index.php
    its currently displayed in my blog:
    /blog/index.php

    Nobody has any ideas?

    I don’t know about this specific plugin, so I’m making just a(n educated?) guess by analogy…
    Whenever I want to call a template tag in a file that is outside the blog directory, I have to put at the top the wp-blog-header call! = you know, the lines that say “do not remove this” ??

    Thankyou, Thankyou, Thankyou!
    That’s fixed it!!
    Thankyou very much.

    Pleased that my “guess” worked ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘get_recent_posts’ is closed to new replies.