Post url with blog

Add Blog Post with url pree fix blog

Example :
Default : http://www.wordpresshtml.com/post-url-blog/
Update : http://www.wordpresshtml.com/blog/post-url-blog/

You can just copy give code in your function.php and update permalink.

 

Send Grid to email send

Just copy give code and set api key in “testmail.php” file and cal “testmail.php” file in your browse url

You can sennd you email using sandgrid-php and add below code into your php file to use below code.

 

 

Remove post type slug from url and replace with terms

Copy below code in your function.php file.

Create post type with url taxonomy term

“our_homes” taxonomy terms and  “property” Post type.
you must be assign category else it will error

 

 

Update the_excerpt word length

Using given code you can increase or decrease wordpress default function length.

the_excerpt()

you can just coppy and past below code in function.php file and update text length using update return value.