More Info on Spread the Word

resolved (8 posts) (3 voices)

  1. reneezayas

    This may be a dumb question, but is there any material that explains a bit more about the purpose & function for the spread the word icons? Are they meant to link to our own facebooks & twitters for example or for users to login to their accounts?

    I couldn't find any docs on this & trying to figure out if I want it for our site.



    Posted 6 years ago #
  2. Uniq

    Hello Renee,

    That's more like a social plugin, so once someone reads your post and enjoys it, they can share it via one of the following social networks (twitter, facebook). Does this make any sense?

    Best Regards,

    Posted 6 years ago #
  3. reneezayas

    Got it. I thought that's the purpose it served just wanted to make sure.


    Posted 6 years ago #
  4. Is there a way to compose a share blurb? e.g. Clicking the Twitter icon brings the sharer to the "What's happening?" area of their Twitter account, but the tweet is blank. Can we maintain default messages for Twitter and Facebook? For example:

    "Found this great mortgage company based in my home town:"

    Posted 6 years ago #
  5. Uniq

    Hello skane,

    It can be done but I'm afraid that this falls under the extra customization services. Sorry for any inconvenience!

    Best Regards,

    Posted 6 years ago #
  6. Dorian - thanks for clarifying that this is not a canned feature. You guys are setting the bar high for great support. Thanks!

    Posted 6 years ago #
  7. To add default post for Twitter and Facebook share functions, could you tell me (us) what file and approximate lines need to be customized? For example, clicking Twitter icon creates a default post like Found this great mortgage company based in my home town:

    Posted 6 years ago #
  8. Uniq

    Hello skane,

    Sorry for the late reply. The file you are looking for is named bookmarks.php and is located under the \lib\functions folder. This are the 2 functions you are looking for (they can be found around lines 4 - 30):

    function webtreats_save_tweet_link($id) {
    	$url = sprintf('%s?p=%s', get_bloginfo('url').'/', $id);
    	add_post_meta($id, 'tweet_trim_url_2', $url);
    	return $url;
    function webtreats_the_tweet_link() {
    	if (!$url = get_post_meta(get_the_ID(), 'tweet_trim_url_2', true)) {
    	  $url = webtreats_save_tweet_link(get_the_ID());
    	if ($old_url = get_post_meta(get_the_ID(), 'tweet_trim_url', true)) {
    	  delete_post_meta(get_the_ID(), 'tweet_trim_url');
    	$output_url = sprintf(
    	  urlencode(' - '),
    	$output_url = str_replace('+','%20',$output_url);
    	return $output_url;

    Best Regards,

    Posted 5 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme