I'm trying to follow this tutorial but I can't get it to work. My best hypothesis is that because the code is 4 years old, some function in it might have been deprecated... And the code provided there needs some minor update.

Anybody has any ideas?

Here's the link I'm referring to: How to Make a Custom Dashboard Widget to Display Custom Notification from Admin?

Thanks in advance!

  • 1
    Welcome to WPSE - can you clarify which of the techniques you have tried, ideally update your question with some code samples, and elaborate on "can't get it to work" (were you getting errors? did it partially work? at what point did you get stuck) Also please make sure you have debugging enabled and again, update your question with any errors you get. – TheDeadMedic May 26 '16 at 15:22

I solved the issue. Here's a link where I explain how I solved it and how the final code looked like:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.