Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load alecaddd_cpt error #25

Open
ori1989 opened this issue Sep 12, 2021 · 0 comments
Open

Cannot load alecaddd_cpt error #25

ori1989 opened this issue Sep 12, 2021 · 0 comments

Comments

@ori1989
Copy link

ori1989 commented Sep 12, 2021

I've got an issue On lesson 31 - How to Edit a Custom Post Type.
I created the form with the edit button as shown:

echo test:

<?php settings_errors(); if(isset($_POST['edit'])) { echo $_POST['post_type']; } ?>

The edit form:

                            <form action="" method="post" class="inline-block">
                                
                                <input type="hidden" name="post_type" value="<?= $option['post_type'] ?>">

                                <?php
                                    submit_button( 'Edit', 'primary small edit', 'edit', false); 
                                ?>
                            </form>

When I click on the edit button, I get this error:
alecaddd-plugin-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant