Viewing 3 replies - 1 through 3 (of 3 total)
  • Vamsi

    (@mannemvamsi)

    Download the original theme and replace single post php with the orginal one. Go from there. Next try to insert your ad code carefully.

    Thread Starter Inspiration Indulgence

    (@inspiration-indulgence)

    How do I go about doing that? I paid $80 for my theme like a few months ago. Here is the current coding under my “single post” in the editor tab if this helps

    <?php get_header(); ?>

    <?php echo ace_breadcrumb(); ?>

    <?php if ( get_post_meta( $post->ID, ‘ace_wide’, true ) ) { echo ‘<section class=”section-wide” role=”main”>’; } else { echo ‘<section class=”section” role=”main”>’; } ?>
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– Automatic ad in front –>
    <ins class=”adsbygoogle”
    style=”display:block”
    data-ad-client=”ca-pub-7058621044495227″
    data-ad-slot=”3744698396″
    data-ad-format=”auto”></ins>
    <script>
    <(adsbygoogle = window.adsbygoogle || []).push({});>

    </section><!– .section –>

    <?php if ( get_post_meta( $post->ID, ‘ace_wide’, true ) ) {} else { echo get_sidebar(); } ?>

    <?php get_footer(); ?>

    \

    Thread Starter Inspiration Indulgence

    (@inspiration-indulgence)

    Just got it when my theme updated. Thank you so much. I was practically crying and you saved me lol.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Single post HTML mistake’ is closed to new replies.