Forums

[resolved] Advanced help - conditionnal tag (3 posts)

  1. taghaboy
    Member
    Posted 1 year ago #

    Hi, i need a pro helper.
    How can i show this table if i have the data in the custom value "Content", and do not show no thing if there is no data.

    <table>
        <tr>
          <td>
              <b>Content</b>
          </td>
    
          <td>
                <?php $values = get_post_custom_values("content"); echo $values[0]; ?>
          </td>
        </tr>
    </table>

    Thanks for providing the code.

  2. taghaboy
    Member
    Posted 1 year ago #

    i need help please.

  3. taghaboy
    Member
    Posted 6 months ago #

Topic Closed

This topic has been closed to new replies.

About this Topic