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

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

Status: resolved
Viewing 6 reply threads
  • Author
    Posts
    • #13142

      beingngang
      Member

      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

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

      Login | Register | Forgot Password?

    • #13154

      beingngang
      Member

      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

      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:’, ‘wpthms’ ),
      ‘after’ => ‘</div>’,
      ‘link_before’ => ‘<span class=”page-numbers”>’,
      ‘link_after’ => ‘</span>’,
      ) );
      ?>

      ……………..

    • #13156

      Max
      Staff

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

      Login | Register | Forgot Password?

    • #13168

      beingngang
      Member

      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

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

      Thanks 🙂

Viewing 6 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.