• Hello,

    We have found the Twitter default Text and Mailto subject is set by default to include the Page Title, which in our website http://www.upliftconnect.com on an article page is deemed to be the last feature article in our menu item Features set using <h4> tags by the theme.

    Have found in the ssba_buttons.php the PageTitle is set in the $twitterShareText in the following function:

    function ssba_twitter($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShareCount) {

    // format the URL into friendly code
    $twitterShareText = urlencode(html_entity_decode($strPageTitle . ‘ ‘ . $arrSettings[‘ssba_twitter_text’], ENT_COMPAT, ‘UTF-8’));

    Removing the $strPageTitle from the concatenation fixes the problem ie: the <h4> “title” in our menu bar is no longer inserted as Twitter text and mailto: subject.

    Is there a setting to prevent the page title from being inserted by default? Or to set the correct page title using a tag? What is the definition for the Page Title? When changing the actual page title to use <h4> it is still not picked up as the twitter text or email subject.

    Thanks for your time,

    Heide

  • The topic ‘Twitter Text is using Page Title by default’ is closed to new replies.