Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support field of custom post type Reply To: field of custom post type

#733
David
Participant

Hi Tom, I keep trying new things to make it work …

I installed Pluginception and I created a plugin with the code:

<?php
/ *
Plugin Name: codigophpfechacurso
Plugin URI:
description:
Version:
Author:
Author URI:
License:
License URI:
* /
add_action ('wpsp_before_title', 'wpsp_add_custom_meta');
wpsp_add_custom_meta function ()
{
     $ Meta = get_post_meta (get_the_ID (), 'ptb_module ptb_text ptb_text_1', true);
     if (isset ($ meta) && ''! == $ meta)
         echo $ goal;
}
?>

But it does not work. Maybe I have an error in the code?

Thanks!