• Resolved aditya.kamble

    (@adityakamble)


    I’m trying to hide Media Buttons in Posts Page and I’m adding custom ID as per given in documentation in “Write Option – Posts”. There are two media buttons which are to be hidden but I’m only able to save only one custom option in “Write Option – Posts” Settings. I cant save more than 1 Custom Option in plugin settings. I want to add more of the Custom Options to hide different options from other users. Please help me out to save more custom options. Whenever I try to save new custom option the old custom is deleted and new custom option appears in that place. How can we save Custom Options as many we want? Thank You.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    I came across the same thing this morning. I realized that you have to keep all of your custom options inside the Your Options fields at the same time. I had originally thought of these fields as a form to add items one at a time. But instead, it’s more of a holding area for all of the custom options for that specific section. It’s a little rudimentary but it does work. Here’s an example…

    I have three sections on the page I need to hide. I enter the names for all three sections (with each name separated by a carriage return / enter) in the left column. Then I enter the IDs for all three sections (again separated by a carriage return / enter) in the right column. The plugin will match the name and ID based on the line they are on. After clicking Update Options, I now see three new rows above (with checkboxes) representing the each of the items I have saved in the Your Options fields.

    Make sure not to clear the Your Options fields. This will remove all of your custom options.

    Hi @adityakamble,
    You can add more option like this:

    as @wpdev917 said, Your Options fields work by holding multiple options for each line.

    Thread Starter aditya.kamble

    (@adityakamble)

    Thank You @wpdev917 and @duongcuong96, I’m successfully able to save options as I want.

    No problem @adityakamble :).
    If you want, please make a rating for this plugin ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not able to save “Custom Options”’ is closed to new replies.