WordPress allows displaying the author’s nickname instead of the real name. The actual and non-deprecated WordPress function for display is get_the_author_meta. To output the nickname, the field value of nickname passes to get_the_author_meta This function is able to retrieve various data relating to the author. Check other usages here: How to get Author email Here are some ways to get […]
Adding an item to a submenu programmatically can be done by taking the advantage of wp_nav_menu_objects hook. The submenu in WordPress can be created by retrieving the current menu. The menu has to provide the ID of each item it has. Then, the new submenu item uses the ID of a specific item to become a child of a particular […]
In WordPress, the menu can add a new menu item programmatically without using the Menus widget in the WordPress dashboard. This involves the addition of a function to functions.php To add the menu item, create a menu function in the functions.php which sets a variable that holds the menu list item. A list item contains the anchor tag. An anchor […]
There are various slider plugins a theme can use to add sliders to a specific post type. Plugins can fail to meet your demand. The quick solution to design a carousel the way you want is to create a custom post type slider without a plugin. The customized slider can be created by having an array that defines the name […]
The integration of bootstrap carousel in WordPress can be achieved without a plugin. For someone who knows the bootstrap slider scheme will add the carousel to WordPress in less than 5 minutes. The home page of this blog displays the slider of bootstrap. Although, the StackOverflow answers regarding this matter have shown various ways to include a bootstrap slider in […]