ads in middle of a post

Trouble updating AdRotate Professional to the latest version?

If your license is not expired and you are having trouble with updates for AdRotate Professional I want to hear from you!
Known issues; The update will not install or no update is visible in your dashboard.
Affected versions; Most versions of AdRotate Professional since December 2019.

Click here for the solution - AdRotate Pro update not working or not offered.

Home Forums AdRotate for WordPress General Support ads in middle of a post

  • #20615

    MARIA DOLORES
    Badges:

    Hello

    I’m a newbie indicate knowledge of PHP.

    I want to show ads in middle of post. Just show him at first (80 ads) or end (81 ads), but in the middle can not. As I indicated I am a novice in PHP

    My code in single.php is this:

    <?php
    // Single page template
    global $post;
    $current_post = get_the_ID();

    get_header();

    if (have_posts()) {
    while (have_posts()) {
    global $post;
    $author_id = $post->post_author;

    the_post();
    ?>

    <?php the_content(); ?>

    Can you help me?

    Thanks!!

    #20651

    Arnan de Gans
    Badges:
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ads in middle of a post’ is closed to new replies.

You may be interested in