Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter charlyanderson

    (@charlyanderson)

    Ok so I found out how to do it so thought I would update incase others wanted to know. I added:-

    <?php the_meta(); ?>

    However I have found that even though you delete some of the custom fields e.g “bwps_enable_ssl” they keep coming back.

    Is there a way round this?

    Plugin Author Stephen Harris

    (@stephenharris)

    Hi Charly,

    That custom field will be being added by another plug-in. If you want to get custom field data, use:

    $value = get_post_meta( get_the_ID(), 'my_field_key', true );

    See codex for more details.

    “bwps_enable_ssl” is set by the Best WP Security plugin.
    to turn it off, go to Security->SSL and set “Enforce Front end SSL” to “Off”

    @maxgx Thank u, it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding custom fields’ is closed to new replies.