Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@vsalda– This is the first time we’ve heard of this issue. Please deactivate all other plugins and switch to the WordPress default theme and see if that fixes the issue>
SteveKeymaster
SteveKeymaster@actiontwo– I checked your code and it’s fine. Works on my test server.
Make sure the server and dev environment are the same. Same theme. Same plugins activated.
SteveKeymaster@rock– So you want a specific meta box to show if you choose a specific term. Ok, this is doable. However, the user will have to select the term and save the post… then the box will show up.
If that’s fine we can write some code for you. Let me know.
SteveKeymaster@actiontwo– Please clarify:
1) You wrote, “I have the same problem”. Does this mean you field data is not saving? You posted this issue, is it the same?
2) You wrote, “also i create a plugin to add more user profile, but i can only modify my account even i am supper admin so i can not edit other account.” Is this an DIFFERENT issue? If so, please create a NEW ticket and explain in detail.
3) You wrote “And this is my meta-boxs code , it work on local but in server it not working”. Is this a third issue, or the same as the first one?
SteveKeymaster@actiontwo– I received your zip file but it’s not the full code base. Please send the entire plugin or theme.
SteveKeymasterPlease post your code. Or zip it and email me [email protected]
SteveKeymaster@naurojr– Welcome to the Piklist Community!
This is the first time we’ve heard of this issue. If you activate the Piklist Demos, do the select fields work there?
Also, feel free to post your field code here.
SteveKeymaster@rock– Welcome to the Piklist Community!
These fields will show up when you edit a term. Is that what you want?
If not, please post a screenshot of where you want the fields to show.
SteveKeymasterClosing ticket.
SteveKeymaster@justin– Are both field names the same? You can’t have duplicate field names on the same page.
SteveKeymaster@justin– The reason that only the first add-more sets the default is to make a better user experience. Change the fields from
texttohtmland it will work:piklist('field', array( 'type' => 'group' ,'field' => 'reg_notes' ,'add_more' => true ,'label' => 'Notes' ,'description' => 'You can add private notes below for internal reference that only team members will see.' ,'fields' => array( array( 'type' => 'html' ,'field' => 'note_author' ,'value' => $current_user->display_name ,'columns' => 3 ) ,array( 'type' => 'html' ,'field' => 'note_date' ,'value' => date("m/d/y") ,'columns' => 2 ) ,array( 'type' => 'textarea' ,'field' => 'note_text' ,'columns' => 7 ,'attributes' => array( 'placeholder' => 'Your Notes' ) ) ) ));
SteveKeymaster@ehoanshelt– Was this resolved for you?
SteveKeymaster@justin– No reason to get all fancy and use
get_post_status… the standard HTML attributereadonlywill work, and Piklist makes it super easy to add attributes.Try this:
piklist('field', array( 'type' => 'group' ,'field' => 'reg_notes' ,'add_more' => true ,'label' => 'Notes' ,'description' => 'You can add private notes below for internal reference that only team members will see.' ,'fields' => array( array( 'type' => 'text' ,'field' => 'note_author' ,'value' => $current_user->display_name ,'columns' => 3 ,'attributes' => array( 'readonly' => 'readonly' ) ) ,array( 'type' => 'text' ,'field' => 'note_date' ,'value' => date("m/d/y") ,'columns' => 2 ,'attributes' => array( 'readonly' => 'readonly' ) ) ,array( 'type' => 'textarea' ,'field' => 'note_text' ,'columns' => 7 ,'attributes' => array( 'placeholder' => 'Your Notes' ) ) ) ));
SteveKeymaster@actiontwo– I received your plugin. The issue is that the main plugin file name does not match the plugin folder, as recommended by WordPress.org.
FOLDER:
bwf-users-system(users is plural)
FILE:bwf-user-system.php(user is singular)Change your main plugin file to
bwf-users-system.phpand it will work fine.As for your other issue, you’ve already posted it here. Please do not mix support issues.
Closing this ticket
-
AuthorPosts