Custom page for creating/editing custom post type

when a shortcode is defined, he has to return HTML output. then to allow the theme to customise data presentation, you can do something like that : add_shortcode(“form_step_2”, function ($attr, $content, $tag) { // preparing data //… // result to display $template_name = “form/step_2”; // search the file wp-content/themes/twentytwenty/my_plugin/form/step_2.php $template = locate_template(“my_plugin/$template_name.php”); // if the … Read more

link to edit a post has empty target

I just found some kind of workaround. I set the right “edit options” for this user. To be honest I do not know what this right means, but the user is now able to edit all the posts – so the links now have a valid target (href) Strange behaviour. Somebdoy can explain this?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)