• cocacooler

    (@cocacooler)


    Hi Guys,

    I need some help to check if Myvalue is in the post or not, and this is what the plugin author has provided me, i have to make this code check in each post$ ..

    can someone help me make the check for post .. so i can copy/paste it into my functions.php

    $settings = new my_Settings_Post_Meta($post->ID);
    if($settings->{‘MyValue’})
    {
    echo “The value is there”
    }
    else
    {
    echo “Value not there”
    }

    The reason why i have written this post here is because there are no support topic for this plugin, its a custom change and the coder wants a lot of money to make this simple function

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘how to use post’ is closed to new replies.