How to redirect my homepage

Two options that I’ve used to solve this issue: Homepage template file Create a front-page.php file, which is the template file used by WordPress for your homepage, it takes priority over page.php, see this for more reading on page template priority. In your front-page.php file, add the following code: <?php header(‘Location: https://yoursite.com/subpage’); die(); 301 Redirect … Read more

Is it possible to create a custom post type with blank page for Post List and Add Post Page only?

Hiding the admin UI that WP generates is trivial and well documented in the official WP Developer docs for register_post_type: https://developer.wordpress.org/reference/functions/register_post_type/ show_ui bool Whether to generate and allow a UI for managing this post type in the admin. Default is value of $public. and show_in_menu bool|string Where to show the post type in the admin … Read more

Creating a dynamic bootstrap tab menu for WordPress

The first thing that I notice is that you’re using categories for tabs and posts for panels. If you want to have categories both as tabs and panels, then you should loop the categories twice so that you can use category term properties in the HTML elements’ attributes. Example To run the categories loop twice, … Read more

Customized Divi Theme Needs more Menus

Login and try to go to https://www.bioforward.org/wp-admin/nav-menus.php or select appearance>menus in the back end dashboard from the left side. Click “create a new menu” and give you menu a name like “Temp Menu” or “New Menu”. Select posts or pages from the left hand side and click “add to menu” and organize as you like. … Read more