Viewing 2 replies - 1 through 2 (of 2 total)
  • Pi Zi

    (@freelancephp)

    What does not work? What is the output?
    Which protection method do you use?

    Here is a solution that works thanks to briteweb.com. The icon is using Font awesome 4.0.

    <li wp-if-get-post-meta="|email">
                                                <a href="mailto:<?php $emailaddy = get_post_meta( get_the_ID(), 'email', true ); echo antispambot( $emailaddy, 1 ); ?>"><i class="fa fa-2x fa-envelope"></i>
                                                </a>
                                            </li>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom field problem’ is closed to new replies.