Vinay Shukla
Forum Replies Created
-
Forum: Plugins
In reply to: [Google AdSense] Limit Google Ads to specific blog postsYou can use advance ads pro. Its superb.
Forum: Themes and Templates
In reply to: [Dyad2] Dyad 2 Theme: Google AdsenseHi,
You can use Advance ads pro plugin, it has free version also, its very simple and lite weight plugin to use on your website, it doesn’t eat you server resources like other big ad management plugins. I am recomending it because i have used it on my website. its https://ghardwar.comForum: Plugins
In reply to: [Custom Post Type UI] Category archieve not displaying postsHi, I have seperated the code in a plugin file for my site, upon activating that plugin the faq post type and categories plus tag taxonomy comes in backend but its not displaying at front end, what can i do, can you sugest me how do i disply it in front end archive, its not working, its showing another template of property post type,
https://ghardwar.com/faq_tags/home-loan-india/page/2/
here is the archive.php content in my theme, I am using wp residence theme.
<?php // Archive Page // Wp Estate Pack get_header(); $options = wpestate_page_details(''); $blog_unit = esc_html ( get_option('wp_estate_blog_unit','') ); global $no_listins_per_row; $no_listins_per_row = intval( get_option('wp_estate_blog_listings_per_row', '') ); ?> <div class="row"> <?php get_template_part('templates/breadcrumbs'); ?> <div class=" <?php print esc_html($options['content_class']);?> "> <?php get_template_part('templates/ajax_container'); ?> <h1 class="entry-title"> <?php if (is_category() ) { printf(__('Category Archives: %s', 'wpestate'), '<span>' . single_cat_title('', false) . '</span>'); }else if (is_day()) { printf(__('Daily Archives: %s', 'wpestate'), '<span>' . get_the_date() . '</span>'); } elseif (is_month()) { printf(__('Monthly Archives: %s', 'wpestate'), '<span>' . get_the_date(_x('F Y', 'monthly archives date format', 'wpestate')) . '</span>'); } elseif (is_year()) { printf(__('Yearly Archives: %s', 'wpestate'), '<span>' . get_the_date(_x('Y', 'yearly archives date format', 'wpestate')) . '</span>'); } else { _e('Blog Archives', 'wpestate'); } ?> </h1> <div class="blog_list_wrapper"> <?php while (have_posts()) : the_post(); if($blog_unit=='list'){ get_template_part('templates/blog_unit'); }else{ get_template_part('templates/blog_unit2'); } endwhile; wp_reset_query(); ?> </div> <?php kriesi_pagination('', $range = 2); ?> </div> <?php include(locate_template('sidebar.php')); ?> </div> <?php get_footer(); ?>