CSS background images in WordPress

PHP code cannot run in .css file, however you can use inline style, such as: or The above would be useful when working with custom fields for dynamic image paths. If the image is located in the theme directory, PHP won’t be needed, let’s say the image folder is directly under the theme folder /theme-name/images, and the stylesheet … Read more

How to remove index.php from WordPress site URL

Go to your WP-ADMIN–>Settings–>Permalink and use the permalink structure change there, if it generate any .htaccess file copy the content and update your .htaccess file. Or Check if your hosting mod_rewrite is enable by creating a file phpinfo.php with content, Upload this file and browse via Browser. So you know which modules are enabled. You … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)