How to get post thumbnail url by sql query in wordpress
PHP 0 CommentsUse following query in sql
My Coding Solution
Use following query in sql
First define breadcrumb function in function.php. using following code After that called breadcrumb function.php in header.php
When we implemented the bootstrap menu in WordPress. you may be frustrated with the built-in menu options. There isn’t an easy way to tell WordPress to swap out the current menu item class with bootstrap’s active class. there is given below hook. this following script write a script in the fucntion.php file
We are going to make WordPress menu int bootstrap menu by walker class. first define class and called walker following code in function.php file After the extending walker class, we will add classes and attribute in anchor tag by “nav_menu_link_attributes” Filter. for a you have to use it as per following code. Calling walker In
When we update database content link without using plugin then many problem generated if we update query without taking backup. In MySQL database we have to use following SQL query for different table. if WordPress page has been made by WP page-bakery or editor then following query must be run
It’s thinkable for a user to enter in a direct HTTP URL on your WordPress site, even when an SSL certificate is active. To force any HTTP request to redirect to HTTPS, you can add following code to your WordPress .htaccess file. At last, There are given below final script for htaccess