Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: Edit a file
    Thread Starter pedmic

    (@pedmic)

    Im using Identification band – the twins boyish style theme

    but I am using wpmu and when new blogs are built i think these are in some file that sets these as defults

    Forum: Plugins
    In reply to: Moosecandy / Adsense

    I can find

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    but I dont understand where to edit it

    would it be like this

    <?php $max_post_num = $wp_query->post_count; $cur_post_num = 0; ?><?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php $cur_post_num++; ?>

    and

    if ($cur_post_num==2) // show something after second post on a page{ … }<?php endwhile; else: ?>

    where do i put my google ad? do I replace “show something after second post on a page” with the google ad code?

    mike

    Forum: Plugins
    In reply to: Moosecandy / Adsense

    could someone edit this index.php file for a google ad after the first post?

    this will make it alot easier for people to just change the google id

    or say cut what you are looking for above and paste the new code in its place whith a google ad in it this whill make it alot easier at this has come up alot!

    what directory is the index.php file that needs to be edited?

Viewing 4 replies - 1 through 4 (of 4 total)