• Resolved kokojambo

    (@kokojambo)


    Hi and thanks for an amazing plugin!

    I’m using a theme where the developer registered CPT fields in a php file,

    Any call to show “ts-speaker” post type looks like this:

    <?php
    // speaker details
    $exhibs_designation = exhibz_meta_option(get_the_id(), 'exhibs_designation');
    $exhibs_photo       = exhibz_meta_option(get_the_id(), 'exhibs_photo');
    $exhibs_logo        = exhibz_meta_option(get_the_id(), 'exhibs_logo');
    $exhibs_summery     = exhibz_meta_option(get_the_id(), 'exhibs_summery');
    $socials            = exhibz_meta_option(get_the_id(), 'social');
    
    ?>

    Can I still use the plugin? I tried in a few ways like meta fields but it doesn’t really work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter kokojambo

    (@kokojambo)

    found this on global.php, something called metabox, although there is no plugin installed

    // return the specific value from metabox
    
    // ----------------------------------------------------------------------------------------
    function exhibz_meta_option($postid, $key, $default_value = '')
    {
    	if (defined('FW')) {
    		$value = fw_get_db_post_option($postid, $key, $default_value);
    	}
    	return (!isset($value) || $value == '') ? $default_value :  $value;
    }
    • This reply was modified 1 year, 10 months ago by kokojambo.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    I don’t understand your question. Are you looking to design a cf7 form ?

    Thread Starter kokojambo

    (@kokojambo)

    Sorry
    I followed a link from a video description on YouTube
    I reposted the thread in the appropriate forum.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    So your question isn’t related to this plugin?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Marking this thread as resolved as it is unrelated to this plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme matching’ is closed to new replies.