webappguides
Create Wordpress Theme From Scratch! Build Your Own

WordPress comment_form function with bootstrap 4

webapps log

webapps Lab
October 31, 2020
ThemeFunctions

comment_form bootstrap 4

Do you want to add the bootstrap input group classes to the WordPress comment form? It is not possible to customize the comment field directly using comment_form. But this post has a solution to implement WordPress comment_form function with bootstrap 4 or 4.5. In short. To customize the WordPress comments field in bootstrap 4, create a comments.php file. then create […]

Continue Reading

Differences between the_title vs get_the_title

webapps log

webapps Lab
October 25, 2020
ThemeFunctions

get_the_excerpt vs the_excerpt

Find the tips about how the_title is different from get_the_title

The differences will help to undestand when to use either of the function

You will be able to know how to modify the post title using the_title parameters

And also, you will find how get_the_title can retrieve the title of the parent post

LETS GET STARTED NOW

Continue Reading

home_url vs site_url : differences and usages.

webapps log

webapps Lab
October 21, 2020
ThemeFunctions

home_url-vs-site_url

Do you know home_url and site_url are strictly different?

I guess you know, but why do they return the same home page?

This post gives a reason why the two functions return the same site url

In fact, you will find the key difference of home_url vs site_url and the proper time to use one of the functions

Read the full post for more details.

Continue Reading

How to add css to wp_head

webapps log

webapps Lab
October 20, 2020
ThemeCreation

wordpress function add stylesheet

When you edit the child theme or standard theme, you will see stylesheet links tags that came with a theme. Always a standard theme retrieves the stylesheet by wp_head function. And so, the same function is able to include your own custom stylesheet. In fact, you can add CSS to wp_head. Hence wp_head in the child theme will add your […]

Continue Reading