Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8273

    Hello!

    Happy new year first:-)

    I’d like to put an email catcheur in each article,

    In the header after the title of the article. Or at the end, after the part “vous aimerez aussi”,

    The code is like “<script type=”text/javascript” src=”http://forms.aweb…”

    I try to put it in the single.php but i did’nt find where exactly…

    Thanks!

    Fabrice

    #60890

    Nobody to answer:-)

    #60891

    Hey,

    again, sorry for the delay.

    In shoutboxincludesloop-single.php you’ll find

    <h1 class='post-title'>
    <a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','avia_framework')?> <?php the_title(); ?>"><?php the_title(); ?></a>
    </h1>

    You can put your code right after that to put it after the title.

    If you want to put it below your related posts I think you can put it right after the following line in your single.php

    //show related posts if there are any
    get_template_part( 'includes/related-posts');

    Make sure to adjust your code so it fits in php tags.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Where put this code/ catcheur in article?’ is closed to new replies.