[Resolved] Modifying Twenty Ten
I’m using WP 3.0 and the twenty Ten child theme and I want to know how to code a Google Ad into the middle of a page without using a plugin.
I’ve played about a bit on a test site on my PC and know how to get an ad to display at the top or the bottom of the page, but really I’d like one somewhere in the middle instead. I’ve seen plugins that do this, but is it possible without?
Below is the main part of the page.php
Can anyone help me please?
<h1 class="entry-title"><?php the_title(); ?></h1> <?php } ?> <div class="entry-content"> // I know I can place google ad code here to display at the top <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> // I know I can place google ad code here to display at the bottom </div><!-- .entry-content --> </div><!-- #post-## -->
- The topic ‘[Resolved] Modifying Twenty Ten’ is closed to new replies.