• I wanted to put some content, like “Ads” or “related posts” under the image of any post. And/or put some ads between the posts. Is this possible ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Between posts you could modify your theme to place your advert block inside the <?php while (have_posts()) : the_post(); ?> loop (which ends with <?php endwhile; ?>.

    Under images could be more tricky. You may need to use a plugin to do that, as you would probably be filtering the_content

    Thread Starter Sr-ultimate

    (@sr-ultimate)

    Yes, so is there any such plugin that does the job ? or any plugin similar to it so that I can check how it works and maybe I’ll get it this working ?

    You might need to write your own plugin. Or something like this maybe?

    Your best bet is probably a google search.

    i would like to include 5 similar posts, using Similar Posts plugin, inside the text of each single post in my blog. i use the theme mimbo3. it renders posts with <div class=”entry clearfloat”>
    <?php the_content(‘<p>’.__(‘Read the rest of this entry’,’Mimbo’).’»</p>’); ?>

    <?php wp_link_pages(array(
    ‘before’ => ‘<p> ‘.__(‘Pages:’,’Mimbo’).’ ‘,
    ‘after’ => ‘</p>’,
    ‘next_or_number’ => ‘number’));
    ?>
    </div>

    where should and how should i include the related plugin tag <?php similar_posts(); ?> to keep the similar posts titles in a box inside the text?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ads / Content between/inside the post’ is closed to new replies.