• I am creating a content management dashboard for a client with multiple CPTs.

    The admin pages are built using Elementor Pro’s post widget with two alternating custom skin “Loop” templates. A custom query id allows the Loops to access “Draft” and “Pending” posts.

    Each post row contains:

    • Post title
    • A short code to flag the draft and pending posts
    • A modal edit form.
    • A delete button.
    • Three buttons to update the post status.
      Display conditions are used to show/hide the buttons based on the row’s current post status.

    Screenshot 1. Click Here

    While trying to get this to work, I’ve:

    • Set the buttons to use the correct field group for the post.
    • Hid all of the fields.
    • Set the form to modal with only a confirmation message field.
    • Set the Post > Post Status for each button to the desired status.
    • Set Permissions are set to “Logged on Users”
    • Selected only one role “Administrator”.
    • Created a custom ACF form and use the form’s short code to add the button

    Problem is that the buttons do not update the post.

    Am I missing something or is the plugin not programmed to update draft / pending posts?

    • This topic was modified 2 years, 10 months ago by Dale Mitchell.
Viewing 1 replies (of 1 total)
  • I’m doing something similar to you Dale, and had awful problems with modal edit buttons after updates 3.4.3 and 3.4.4.

    I installed 3.4.5 and updated all other plugins and everything started working magically again.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Button to only Change Post Status’ is closed to new replies.