Need help with simple PHP code

  • Unknown's avatar

    Hi. This really is simple, I know how to write it alogrytmically, so:

    if ( get_post_meta($post->ID, “podobne”, true) exists)
    {
    echo (‘ID, “Zleceniodawca”, true); ?>'”>podobne
    }

    no else, if there is no meta “podobne”, show nothing.

    Please, help me with this, it really is simple but I’m very new in WordPress.

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘Need help with simple PHP code’ is closed to new replies.