jQuery Show DIV and Remove Button

Playing with jQuery, I wanted to remove the button after displaying div (#div-wordpress) I thought I understood the trick but no … It didn’t work I think I forgot something. if someone can show me the most modern and easy way to do it clic = Show div and Remove the button My code /* … Read more

Force redirect not logged in user to (wp-login.php or wp-admin) for specific page

I am currently using a WordPress plugin (Pagerestrict plugin which references URLS based on Page ID/Slugs)to restrict certain pages to logged in users only. This plugin works fine with standard wordpress URL structure but the issue I have is some of my pages which are directly linked to some plugin functionality have http://mywebsite.com/wp-content/plugins/purchase.php instead of a standard http://mywebsite.com/wp-content/plugins/purchase/ wordpress url structure. So what i tried in cases like this is to manually add the functionality below which didn’t work

Assign user role by text field in WordPress (Woocommerce)

I have a virtual store with woocommerce where I use the USER REGISTRATION plugin to register new customers. This plugin allows the creation of custom fields. I created a custom text field called “STATE REGISTRATION”. In this field the user can write something or leave it blank. My demand is that when creating a new … Read more