command laravel for php artisan make :auth
composer require laravel/ui
php artisan ui vue --auth
command laravel for php artisan make :auth
composer require laravel/ui
php artisan ui vue --auth
laravel auth user_id
$userId = Auth::id();
laravel auth
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev
laravel force login by id
Auth::login($user);
wordpress loop first two post
<div class="col-lg-12">
<div class="row">
<?php if ( have_posts() ) : ?>
<?php if ( in_category( 'Featured' ) ) : /* Start the Featured Loop */ ?>
<?php while( have_posts() ) : the_post(); ?>
<?php if( $wp_query->current_post == 0 ) {
//open wide column wrapper div// ?>
<?php } ?>
<?php if( $wp_query->current_post <= 1 ) {
get_template_part( 'content', 'featured' );
//insert large post// ?>
<?php } ?>
<?php if( $wp_query->current_post == 1 || $wp_query->current_post <= 1 && $wp_query->current_post == $wp_query->post_count-1 ) {
//close wide column div// ?>
<?php } ?>
<?php if( $wp_query->current_post == 2 || $wp_query->current_post <= 1 && $wp_query->current_post == $wp_query->post_count-1 ) {
//open narrow column wrapper div// ?>
<?php } ?>
<?php if( $wp_query->current_post >= 2 ) {
get_template_part( 'content', 'featuredside' );
//insert small post//?>
<?php } ?>
<?php if( $wp_query->current_post == 4 || $wp_query->current_post == $wp_query->post_count-1 ) {
//close narrow column div// ?>
<?php } ?>
<?php endwhile; ?>
<?php endif; ?>
<?php endif; ?>
</div> <!--/.row-->
</div> <!--/.col-lg-12-->
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us