Wordpress

How to put a site offline in WordPress

H

Install the Site Offline or Coming Soon plugin found by visiting this link  Use this plugin to enable/disable site offline mode. When Site offline Mode is enabled regular visitors of your site will see a page(you can edit that page by going to settings->Site Offline Mode) and you as a admin can make and test safe changes to your site. Very helpful for those developers who need coming soon...

Getting Error Page not Found when clicking on a link after changing Permalinks in WordPress

G

We recently installed the WordPress Ecommerce plugin and created a page that links to a specific product, what we did we changed the Permalink of this specific product and then when viewing the product we got an error that the Page can’t be found or more specific we got the message “This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps...

How to display different menus for logged-in and logged-out users in WordPress

H

Add the following snippet of code in your theme to the location where you would like the menu’s to be displayed. <?php if ( is_user_logged_in() ): wp_nav_menu( array( 'menu' => 'Loggedin' ) ); else: wp_nav_menu( array( 'theme_location' => 'primary' ) ); endif; ?> Basically, what the code above does, it checks if the user is logged-in and then displays the LoggedIn menu, you may...

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me