Incorporating hyperlink to personalized write-up template that directs to the edit web page for that certain post

I’m utilizing a custom made article template and inside it (when you open a post’s web page that utilizes this custom put up template), I currently have a button that one-way links to the Posts segment in the WordPress sidebar (where by you make, edit, and delete posts).

I might like that button to rather hyperlink specifically to the enhancing website page for the specific submit they were in when they clicked the button.

So, as an alternative of an “Edit/delete a article” button, it’s an “Edit/delete THIS post” button.

Does anyone know how I could reach this? I figure the features would be programmed with JavaScript, but I do not know how to dynamically hyperlink to the unique publish in which the button they clicked was located.

Leave a Reply

Your email address will not be published. Required fields are marked *