WordPress.org

Forums

Fatal error: Call to undefined function wp_related_posts() (2 posts)

  1. seanzyville
    Member
    Posted 6 years ago #

    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>

  2. SimonJ
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags