Redirect after logging in based on the user role
You can redirect after logging in and use a custom URL based on the user role, like the Dashboard for admins and My Account page for customers.
You can redirect after logging in and use a custom URL based on the user role, like the Dashboard for admins and My Account page for customers.
How to easily import and SRDB witth wp-cli?
What is that one screen you see regularly on WordPress, but might not have customized so far? Yes, the dashboard. I have been using WordPress since long now myself, and very rarely have I seen someone spending time changing things on the dashboard. I think that is because people care more about what readers see, rather than what they see on the dashboard.
However, the dashboard, in generally should be one of the most productive and useful screen on your site.
If you accidentally introduce a syntax or fatal error in one of your template files, youāll probably see the dreaded white screen of death when you visit your home page. In some cases, even the admin screens will go blank. Lets see how you can fix this…
When youāre working with custom post types, sometimes the post title isnāt a title. It might be a personās name, a building number, or a course code (just to take a few examples from universities). So itās great that WordPress has a simple filter that makes it easy to customize the āEnter title hereā placeholder text to make it fit your content
One of my favorite things about the admin theme with WordPress is the newĀ Dashicons icon font. It brings a sense of standard and uniformity to dashboard icons with its distinctive look and vast array of icons for theme and plugin authors to choose from and use with ease.
Today I came across a weird situation: I needed to place a navigation menu in the content of a page. A shortcode was the obvious solution, but there doesnāt appear to be one built in for menus. I created this one very quickly
Have a great website or product around WordPress that you’d like to show off?
In 10 minutes, showcase your awesome website, blog, product to other WordPressers in Pune.
5 more minutes to answer any questions that the audience may have.
Collect valuable feedback and useful inputs.
WP-CLI is Command Line interface based WordPress site management tool used to manage WordPress websites via SSH.
Now install it on shared hosting environment too! Read further to know how…
So you made an interestingĀ WordPress plugin, and you want that to be available for others to use. Though GitHub is really nice to share code, when it comes to WordPress, nothing beats the WordPress.org plugin and theme repository.
Here is how you can add your plugins to WordPress.org repository.