Visibility Option in Front End

This topic contains 2 reply and 2 voices, and was last updated by Jason Cowart 8 years, 8 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
July 31, 2015 at 2:18 am 64537
Jason Cowart I would like to give the user the option of posting privately or publicly. I have researched for a good while and have only come across this code: $post_stat_value = trim( $_POST['cf_visibility'] ); if ($post_stat_value == "Public"){ $post_stat = "publish"; } else { $post_stat = "private"; } however, I cannot seem to get it to work. Do you have any suggestions on how I could easily add this option? Thanks. The plugin is great.
August 1, 2015 at 10:49 am 64640
towhid towhid

Hello Jason,

To avail this kind of addition you have to customize the plugin. But I am really sorry to say that we do not provide any customization services. If you need this option very urgently you can hire a developer you can do the customization on your own if you know how to programming.

You can follow how the WPUF settings page works. How if……. else works for a certain condition. Then you can accomplish if ($post_stat_value == “Public”) and if ($post_stat_value == “Private”)

Thanks

August 1, 2015 at 12:11 pm 64662
Jason Cowart Jason Cowart

Sorry, I do not follow your instruction.

How can I research this: “You can follow how the WPUF settings page works. How if……. else works for a certain condition. Then you can accomplish if ($post_stat_value == “Public”) and if ($post_stat_value == “Private”)”

thanks

Viewing 2 Posts - 1 through 2 (of 2 total)