Add Text, Subscribe Form at the end of Every Single Post Content, j.

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 6 replies, has 3 voices, and was last updated by  beingngang 10 months, 2 weeks ago.

  • Author
    Posts
  • #13142

    beingngang
    Member
    Post count: 4

    Hi, Ii will like to add texts, a subscribes form at the end of every single post. Just before the Jetpack Sharing Buttons ore related links. Can you direct me on where to add the or which file to edit. Please look at this post to see what I mean. From ” What next?…. is what I want added. Thanks

    http://www.3reasonswhy.com/3-reasons-why-e-in-the-world-3/

  • #13144

    Jacob
    Staff
    Post count: 2339

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13154

    beingngang
    Member
    Post count: 4

    I have tried editing that file but it does not place it exactly where I want it. It either places it at the top of the post or at under the related links. I want it right after post text.
    Thanks Jacob.

  • #13155

    beingngang
    Member
    Post count: 4

    Below is the snippet of where I should add the code. I place it at Position A it appears at the top of the post. If I place it at position B it appears underneath Realated Post. I will like it right after the post text. Where should I put it?

    ………………
    <?php do_action( ‘yt_single_post_entry_content_start’ );?>
    Position A
    <?php the_content(); ?>
    Position B
    <?php
    wp_link_pages( array(
    ‘before’ => ‘<div class=”page-links pagination-nav”>’ . __( ‘Pages:’, ‘yeahthemes’ ),
    ‘after’ => ‘</div>’,
    ‘link_before’ => ‘<span class=”page-numbers”>’,
    ‘link_after’ => ‘</span>’,
    ) );
    ?>

    ……………..

  • #13156

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13168

    beingngang
    Member
    Post count: 4

    I guess I still have an issue. I would like to know where to add text so that it comes immediately right after post content. Do you guys have some code written up for <?php the_content(); ?> that I code edit? because Place my codes underneath that does not work for me even when sharing is deactivated in Jetpack. Event the ad that is suppose to show at the bottom of the post comes before what I ad. I want it after. Do you understand what I mean?

  • #13169

    beingngang
    Member
    Post count: 4

    I think I figured it out using filters and adding a function in custom-functions.php

    Thanks 🙂

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!