display custom post type
$args = array(
'post_status' => 'publish',
'posts_per_page' => 5,
);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
the_title();
the_excerpt();
endwhile;
Also in PHP:
- composer global laravel
- count string length in php
- find first occurance of sentence in a string php
- date inphp
- adding days in date, php
- PHP Numbers
- fetch value from json link in php
- +1 day in while php
- create new projec in laravel
- check string exist in php
- "Fatal error: Allowed memory size of 1610612736 bytes exhausted " +laravel
- console.log. php print
- convert a image to base64 data in php and show image
- find a word in srting php
- case upper php
- ->format('j')
- check key exists in associative array in php
- check if is in a string php
- execute composer with php version
- create new larael project 7
- date format change in laravel blade
- alter seeder in laravel
- artisan create new project
- echo date in php