mesalosangeles
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Recent Posts FlexSlider] Post title missing from sliderHi I have the same problem as well. After the recent update the post title does not show in the recent post slider. Can someone assist with this issue?
Forum: Themes and Templates
In reply to: [MH Newsdesk lite] Adsense code for in-feed AdsHi Thanks for getting back to me,
I’m trying to display the ads at random positions 3,4,5,6 on the content list.
I have tried converting the code to php and placed it under the get_template (content) and still no luck.My site is blank from the header down. Here is my code, can someone help fix this issue?
<?php /* Template for displaying posts page and category archives */ if (have_posts()) : $counter = 1; $max_posts = $wp_query->post_count; while (have_posts()) : the_post(); if ($counter == 1) : get_template_part('content', 'lead'); ?> <hr class="mh-separator"><?php else : get_template_part('content'); <? php echo '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>'; echo '<ins class="adsbygoogle"'; echo 'style="display:block"'; echo 'data-ad-format="fluid"'; echo 'data-ad-layout="image-side"'; echo 'data-ad-layout-key="-fk+5y+4w-f5+97"'; echo 'data-ad-client="ca-pub-5823980480550167"'; echo 'data-ad-slot="3785554547"></ins>'; echo '<script>'; echo '(adsbygoogle = window.adsbygoogle || []).push({});'; echo '</script>'; ?> endif; $counter++; endwhile; else : get_template_part('content', 'none'); endif; mh_newsdesk_lite_pagination(); ?>
Forum: Themes and Templates
In reply to: [MH Newsdesk lite] Edit Image Broken ImageHI,
thanks for the feedback, I gave the theme a reinstall and everything seems to be back in working order.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)