Include post_date in search

I was able to receive the solution from the developer. Add the below code into functions.php and then rebuild the Relvanssi index. This worked for me. function rlv_index_post_date( $content, $post ) { $date = get_the_time( “F Y”, $post->ID ); $content .= ” $date”; return $content; } add_filter( ‘relevanssi_content_to_index’, ‘rlv_index_post_date’, 10, 2 );

Speed issues because of CSS & JavaScript

There are so many errors, image are not optimized and some links are returning 404. eg: http://julietloves.co.in/wp-content/uploads/2016/08/55-1.png http://julietloves.co.in/wp-content/uploads/2016/08/TAG-168×42.png I will recommend you to optimize all images using optimizilla.com and re-upload it. After that install “W3 Total Cache” it will help fix server response time issue. howlthemes.com/wordpress-caching-w3-total-cache-setup-guide/ Still there are lots of issue best solution is … Read more

Add dynamic color to each category item

You are getting the color for one category (term is more appropriate though) $the_category_id = $category[0]->cat_ID; instead of checking the ID and Color for each term, that’s why it’s applying the same to all. Try this (untested): <?php $categories = get_the_category(); $sep = ”; foreach ($categories as $cat) { $the_category_id = $cat->term_id; if(function_exists(‘rl_color’)){ $rl_category_color = … Read more

Use WP_Query for custom post type but result get empty

You can write like $args = array( ‘posts_per_page’ => 10, // -1 to fetch all posts ‘orderby’ => ‘date’, ‘order’ => ‘DESC’, ‘post_type’ => ‘at-subscription’, // the post type ‘post_status’ => ‘publish’, ‘suppress_filters’ => true ); $posts_array = get_posts( $args ); // For displaying all posts related to at-subscription print_r( $posts_array ); Hope this will … Read more