Jump to content

PHP Wordpress Help


laalex98

Recommended Posts

Hi I'm new here,

 

I need a lot of help with something I have been working on a whole day but can't fix!

 

http://thetenderbox.com/release-party/

 

this is the code:

if($result===false) {

    // In case we want our own image and not the default one lets tell it

    if ($placeholder != "") {

        $imagee = $placeholder;

    } else {

        // in the case we want the default image let's load it

        $imagee = get_option('siteurl')."/wp-content/plugins/twittar/default".$suffix.".png";

    }

    // If we want to use gravatar we will handle a couple of things

    if ($usegravatar == 1) {

            if ($size == "") {

                // Size: Like gravatar default size is different from Twittar's one we will setup a new size when we

                // request the gravatar of the user

        $size = "48";

        }

 

  // Lets build the gravatar url :)

      $image = get_option('siteurl') . '/wp-content/uploads/userphoto/' ;

 

Whats wrong here?

 

 

Link to comment
https://forums.phpfreaks.com/topic/146063-php-wordpress-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.