Is there a way to hide the Twenty Eleven theme from the “Themes” page in wordpress? I have 10 themes for clients to choose from and i don’t want them to be able to see the Twenty Eleven theme or be able to accidentally activate it. All of the other themes are children themes of twenty eleven, so deleting it isn’t an option. Any ideas? Thanks!
Leave a Reply
You must be logged in to post a comment.
I’m no expert but I don’t know of any php way to do it … This is a long shot which you’d need to try out, but could you use css or jquery to target the first child or nth child of #availablethemes in the admin css and set it to display:none. I don’t know how wordpress sets the order of the themes so that’s why I’m saying you’d need to experiment, but it might be your only option, unless someone knows of a more elegant way.