WordPress.org

Ready to get started?Download WordPress

Forums

Coraline
Add ads in content (7 posts)

  1. kacaubird
    Member
    Posted 2 years ago #

    where to add the ads code in caroline templete?

    Adding Large Rectangle Unit - Click on 'Main Index Template (index.php)' under the Theme Files.
    - Inside index.php codes, place the Nuffnang Large Rectangle code between <?php while( have_post() ) : the_post(); ?> and <?php endwhile; ?> tag,

    but in caroline index.php, only

    [Code moderated as per the Forum Rules. Please use the pastebin]

    http://wordpress.org/extend/themes/coraline/

  2. keesiemeijer
    moderator
    Posted 2 years ago #

    Try it in loop.php

  3. kacaubird
    Member
    Posted 2 years ago #

    [Code moderated as per the Forum Rules. Please use the pastebin]

    have try to add it just before
    <?php endwhile; // End the loop. Whew. ?>

    fail to appear

  4. keesiemeijer
    moderator
    Posted 2 years ago #

    You're code has been moderated. Can you paste and submit the full code of loop.php of your theme into a pastebin.com and post the link to it here? see the Forum Rules for posting code and using the pastebin.

  5. kacaubird
    Member
    Posted 2 years ago #

    http://pastebin.com/jJaFPLJp

    the default loop.php of caroline theme

  6. keesiemeijer
    moderator
    Posted 2 years ago #

    I don't now what the Nuffnang Large Rectangle code is but try and place it just after this:

    <?php if ( is_search() ) : // Display excerpts for search. ?>
                            <div class="entry-summary">
                                    <?php the_excerpt(); ?>
                            </div><!-- .entry-summary -->
            <?php else : ?>
                            <div class="entry-content">
                                    <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'coraline' ) ); ?>
  7. kacaubird
    Member
    Posted 2 years ago #

    added. same, fail to appear.

    in page.php can. but only will appear in pages, not normal post
    http://pastebin.com/961z9tz6

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags