• Resolved arifbd111

    (@arifbd111)


    Hi Experts..

    I am in a little problem. I am trying to add a code for Tweet button. I used this code for the button
    <a href="https://twitter.com/share" class="twitter-share-button" data-text=<?php the_title(); ?> data-count="horizontal" data-via="arifulhbhuiyan">Tweet</a>

    here data-text=<?php the_title(); ?> is responsible to show the text in Twitter shutter window. but in the share window i find only the first word from the title appear.

    What could be problem? and how to solve? 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘the_title(); shows only first word in Title’ is closed to new replies.