Post Does not show category wish just show latest post

function category_post_shortcode($atts){ extract(shortcode_atts(array( ‘title’ => ”, ‘link’ => ”, ‘category’ => ”, ), $atts, ‘category_post’ ) ); $q = new WP_Query( array( ‘category’ => $category, ‘posts_per_page’ => ‘3’, ‘post_type’ => ‘post’) ); $list = ‘<div class=”latest_form_category”><h2 class=”latest_form_category_title”>’.$title.'</h2><a href=”‘.$link.'” class=”latest_more_link”>More</a><div class=”total_cat_post”>’; while($q->have_posts()) : $q->the_post(); $id = get_the_ID(); $post_excerpt = get_post_meta($id, ‘post_excerpt’, true); $post_thumbnail = get_the_post_thumbnail( $id,…

Details

How to refresh Composer install to restore missing (deleted) files

I attempted to install the 8.8.1 Drupal Core security update using the command composer update drupal/core webflo/drupal-core-require-dev –with-dependencies I’ve used this many times. However, this time the update failed with the fatal error message Uncaught Error: Class ‘Symfony\Component\Finder\Finder’ not found in <referring file> The Finder class is defined in the file vendor/symfony/finder/Finder.php. I checked and…

Details