Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Twitter Widget

Twitter widget
    • 9 years, 11 months ago Rasha
      Participant

      Expired

      I’ve been having trouble with my Twitter Wigdet. Although my settings for the Specular Twitter Widget is set to not show post time it still does. In addition, I’m asking it to show my Twitter avatar but it will not display either. Here is what it looks like currently:

      https://www.dropbox.com/s/8p7kjt6s7t3qwrc/Twitter%20Widget.png?dl=0

      Is there a fix for this or is this what it will always look like on my site?

      Thanks//Rasha

    • 9 years, 11 months ago Rasha
      Participant

      Expired

      Hi guys, is there any fix or help for this topic?? Thanks//Rasha

    • 9 years, 11 months ago Mirela
      Participant

      Hello,

      Sorry for the late reply.
      Please go to file specular\includes\widgets\codeless_twitter.php and find these lines:

      foreach ($tweets as $message){	
          $output .='<li><dl class="dl-horizontal"><dt><i class="moon-twitter"></i></dt><dd>';
          $output .= '<span class="message">'.$message['text'].'</span>';
          $output .= '<span class="date">'.date_i18n( $time_format, $message['created'] + $message['user']['utc_offset']).'</span>';
          $output .= '</dd></dl></li>';
      }

      And replace them with this:

      foreach ($tweets as $message){	
            $output .='<li><dl class="dl-horizontal"><dt><img src="'.$message['user']['image'].'"></img><i class="moon-twitter"></i></dt><dd>';
            $output .= '<span class="message">'.$message['text'].'</span>';
            $output .= '</dd></dl></li>';
      }

      Save and refresh page.
      We will edit this in the next update.

      Best regards!

    • 9 years, 11 months ago Rasha
      Participant

      Expired

      Mihaila,

      thank you so much for your assist. One follow-up question: so if I set the widget to show avatar, my website will display my twitter avatar. And if I set the widget to NOT show avatar: will it then display the twitter logo?

      Is this something that we can control? I would love to have the ability to show avatar on one page and twitter logo on the other page.. Is this possible? Thanks//Rasha

    • 9 years, 11 months ago Mirela
      Participant

      Hello,

      “And if I set the widget to NOT show avatar: will it then display the twitter logo?”
      Sorry but that is not possible for now. If you do the edits above only the avatar will be shown. We will fix this in the next update.
      “I would love to have the ability to show avatar on one page and twitter logo on the other page.. Is this possible?”
      This is not possible if you will be displaying the same widget is different pages. So if you set up footer twitter with avatar, it is not possible to have the same widget display avatar in one page and twitter icon in another.

      Best regards!

    • 9 years, 11 months ago Rasha
      Participant

      Expired

      Mihaila,

      Again, thanks for your efforts. So, if I wanted to show the titter icon and no post time for my latest tweets…what would I need to do? Change the code on the <span style=”color: #393d40; font-family: ‘Open Sans’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22px;”>specular\includes\widgets\codeless_twitter.php page again? If so, what do I need to change it to??</span>

      Thanks//Rasha

    • 9 years, 11 months ago Mirela
      Participant

      Hello,

      Yes, you have to change it back.
      **I am assuming you did not do the above changes. In the same file, in these lines:

      foreach ($tweets as $message){	
          $output .='<li><dl class="dl-horizontal"><dt><i class="moon-twitter"></i></dt><dd>';
          $output .= '<span class="message">'.$message['text'].'</span>';
          $output .= '<span class="date">'.date_i18n( $time_format, $message['created'] + $message['user']['utc_offset']).'</span>';
          $output .= '</dd></dl></li>';
      }

      Remove this line: $output .= '<span class="date">'.date_i18n( $time_format, $message['created'] + $message['user']['utc_offset']).'</span>';
      Save file. That will remove only the date and not change the icon to avatar.

      Best regards!

    • 9 years, 11 months ago Rasha
      Participant

      Expired

      Perfect, thank you so much for your quick reply and awesome service!!!!

      Best Regards//Rasha

    • 9 years, 10 months ago Rasha
      Participant

      Expired

      Hi Mihaila,

      updated my theme and now my twitter widget looks weird again. Can you help??

      I want it to look like it did before, I want the Twitter bird as my avatar and not show post time!

      https://www.dropbox.com/s/8p7kjt6s7t3qwrc/Twitter%20Widget.png?dl=0

      I tried to use the same process as you showed before and then it started to look like this. Is there a fix?

      Thanks//Rasha

    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      It could be that some of your previous custom edits are interfering with the new style.
      Please add this code into your custom css box:

      ul.tweet_list {
          list-style: none;
          font-size: 13px;
          line-height: 20px;
      }

      Let us know.

      Best regards!

    • 9 years, 10 months ago Rasha
      Participant

      Expired

      Yes, that did work to a certain point. Is there a way to have some space between the tweets? Right now they are right on top of each other. I know I’m a pain but I just want it to look right. Thanks//Rasha

    • 9 years, 10 months ago Rasha
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      I see, please add this code too:

      .widget_twitter dl dd {
          padding-bottom: 12px;
      }

      It will look like this, screenshot.

      Best regards!

Viewing 12 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password