webappguides
Create Wordpress Theme From Scratch! Build Your Own

Add menu item programmatically in WordPress

webapps log

webapps Lab
May 22, 2021
ThemeCreation

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 […]

Continue Reading

Add bootstrap carousel in WordPress Without Plugin

webapps log

webapps Lab
May 15, 2021
ThemeCreation

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 […]

Continue Reading

get_template_directory_uri for image and video loading

webapps log

webapps Lab
April 11, 2021
ThemeFunctions

Avoid the error 404 when loading the image, pdf, or image in WordPress. The proper method to load the image and video to a page in WordPress is by using get_template_directory_uri. get_template_directory_uri is a WordPress function that points to a directory of a current active WordPress theme. Therefore, to access the file that resides in the active theme directory the […]

Continue Reading