Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi santebarleyreviewhq. If you’re ok with editing php, give this a try:

    1. You should be using a child theme. If you’re not currently using one, you can download a preconfigured child theme from the author’s web site. Scroll down the page a bit to find the link. Install and activate it.

    2. Copy file page.php from the parent theme folder to your child theme folder.

    3. Open your child theme page.php file in the Editor and find the section of code in the middle of the file that looks like this:

    <div class="entry themeform">
      <?php the_content(); ?>
      <div class="clear"></div>
    </div><!--/.entry-->

    4. Replace the opening div tag with these two lines:

    <div class="entry themeform <?php if ( ot_get_option('sharrre') != 'off' ) { echo 'share'; }; ?>">
      <?php if ( ot_get_option('sharrre') != 'off' ) { get_template_part('inc/sharrre'); } ?>

    5. The result should look like this:

    <div class="entry themeform <?php if ( ot_get_option('sharrre') != 'off' ) { echo 'share'; }; ?>">
      <?php if ( ot_get_option('sharrre') != 'off' ) { get_template_part('inc/sharrre'); } ?>
      <?php the_content(); ?>
      <div class="clear"></div>
    </div><!--/.entry-->

    6. Save the file and see if that gives the results you’re after.

    Thread Starter santebarleyreviewhq

    (@santebarleyreviewhq)

    Thank you!

    It is now working in my site page On this link.

    Many thanks…

    Thread Starter santebarleyreviewhq

    (@santebarleyreviewhq)

    This is now closed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Social sharing must also available in a page, not just a post’ is closed to new replies.