Support » Fixing WordPress » Fatal error: Call to undefined function wp_related_posts()

  • Hi I get this problem from my images.

    Fatal error: Call to undefined function wp_related_posts() in /home/admin/public_html/modelsorg.com/wp-content/themes/openair/image.php on line 24

    Line 22-29 is:

    <h4 class=”related-posts”>Related Posts</h4>
    <ul class=”related_posts”>
    <?php wp_related_posts(); ?>

    <h4 class=”tags”>Tags</h4>
    <?php the_tags( ”, ‘, ‘, ”); ?>
    </div>

Viewing 1 replies (of 1 total)
  • This error tells you that you use an undefined functions named wp_related_posts

    This function is not a WordPress native function. It’s a custom function relative to your theme (in functions.php) or a plugin.

    My first guess is that this theme should comes with the plugin WordPress Related Posts wich is not activated in your plugin settings…

    Do you use the “openair” theme from “woothemes”?… Since one should pay to use this theme, it’s difficult to investigate deeper…

    S.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Call to undefined function wp_related_posts()’ is closed to new replies.