• Hello,

    I cannot understand this problem. All my thumbs are showing as:
    noimg.png

    I went into the theme single.php and found this code:

    <img src=”<?php $values = get_post_custom_values(“thumbnail_url”); echo $values[0]; ?>” width=”120px” height=”90px” alt=”<?php the_title(); ?>” />
    <?php } else { ?>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/noimg.png” width=”120px” height=”90px” alt=”<?php the_title(); ?>” />

    If I understand it says, if the thumb is not found, use:
    <?php bloginfo(‘stylesheet_directory’); ?>/images/noimg.png

    Where are all the $values = get_post_custom_values(“thumbnail_url”); getting posted? Where and how can I change the values in order to have the script looking in the right place?

    my site is here:

    https://arcadedrawinggames.com

    Any idea please?

    Thank you,

    Bambi

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Did you give your posts a custom field with a key (name) “thumbnail_url” and the value of an image url?

    Since this is a commercial theme with its own functionalities and support system, I recommend you contact the theme developer for assistance:

    Thread Starter bambinou

    (@bambinou)

    Thanks Keesiemeijer,

    I am having problem contacting the maker of the theme at the moment, this is why I came here for a bit of help.

    All I am trying to understand is that the custom code is actually linked to the theme itself and not a wordpress pluging, am I correct?

    Now could you please tell me how to set in wordpress a custom field? If I could do that then I could probably reverse the problem.

    Thanks,

    Bambi

    Moderator keesiemeijer

    (@keesiemeijer)

    You can give a post a custom field when you edit or create a “Post” or “Page”.

    Look at the”Screen Options” on the top right If you don’t see the “Custom Fields” metabox on the Edit Post screen . As of WordPress version 3.1, some screen options on the Post & Page edit Administration Screens are hidden by default. Custom Fields are hidden by default if they have not been used before.

    Thread Starter bambinou

    (@bambinou)

    Thank you so much keesiemeijer

    You cracked it my friend!

    What happened is the theme custom names have changed their name, I am now replacing their name one by one, it should work soon ??

    Thanks again!

    Bambi

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All my thumbs have gone – why?’ is closed to new replies.