Skip to content

Tag: php

Custom WP_Query ‘posts_per_page’ is not working

I’m having trouble with multiple posts showing when I’ve declared ‘posts_per_page’. During my research my code has developed but with still no results. I’ve tried ‘ignore_sticky_posts’ => 1, ‘nopaging’ => true (pagination) switching theme and deactiv…

Default hash type of passwords in Laravel

What type of hashing algorithm is used by default for passwords in Laravel. If we want to change the password in the database then how can we identify the hash type of the password? Answer According to Laravel Documentation : The Laravel Hash facade provides secure Bcrypt hashing for storing user passwords. I…

Laravel custom db driver

i know there is a nice way of defining connections via app/config/database.php . But i don’t think there is a driver for me available. Imagine my db is read from file, like a txt. (Yeah! that’s my client db, sort of). So in that file, before I i need a real driver! Currently it uses a txt base db …