Theme compatibility!
  • Hi,

    I was successful installing the plugin on our website(WP) but I can't seem to use the plugin as I guess there is an incompatibility issue.

    Could you please confirm this.

    website: goldencapture.com

    Thanks for your time.
  • In addition to the subject, below is a link to the page where the shortcode has been used.
    www.goldencapture.com/photography

    and here is the error.

    Fatal error: Call to undefined function get_the_post_thumbnail() in /nfs/c09/h02/mnt/137248/domains/goldencapture.com/html/wp-content/plugins/wp-ui/wp-ui.php on line 1052
  • Hi Yasush, sorry about the issues. I am assuming you know the way around wordpress theme's files,

    1) Yes on the conflict, the theme loads(practically refreshes) the jQuery scripts, so the earlier defined scripts are not available anymore -


    <script type="text/javascript" src="<?php get_bloginfo('template_url'); ?>/js/jquery.js"></script>
    <script type="text/javascript" src="<?php get_bloginfo('template_url'); ?>/js/jquery-ui.js"></script>


    You will probably find these two lines in footer.php. Comment them out and try again.

    2) I see that you are running WP 3.2.1 - right? Then this standard wordpress function should be available, if enabled by the theme.

    Add this code to the theme's functions.php, within php tags.


    add_theme_support( 'post-thumbnails' );


    Please let me know and feel free to ask further. :)
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion