Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Clique › Twitter Blog Posts
New Landing › How can we help? › Themeforest Theme Support › Clique › Twitter Blog Posts
- This topic has 12 replies, 4 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Clique
-
February 4, 2014 at 6:41 pm #46731
I cannot successfully make twitter status message posts in my blog with any consistency. Some appear just fine, while others simply display the url as a clickable link. I have noticed that the URL for some of the twitter links are different – some have “status” vs “statuses”. And there doesn’t seem to be any consistency to whether I use the http or https either.
Pages in question:
- http://darkwingproductions.net/?p=2065
- http://darkwingproductions.net/?p=1994
- http://darkwingproductions.net/?p=1983
- http://darkwingproductions.net/?p=2005
- http://darkwingproductions.net/?p=2074
- http://darkwingproductions.net/?p=1761
- http://darkwingproductions.net/?p=1624
- http://darkwingproductions.net/?p=1251
- http://darkwingproductions.net/?p=1218
- http://darkwingproductions.net/?p=1209
WordPress 3.8.1
CliqueVersion: 1.5.3February 10, 2014 at 11:54 am #47565Hi!
I’d like to check the backend of your website, so to speed things up, could you let me know your login details via a private reply please?Thanks and cheers!
February 10, 2014 at 3:05 pm #47640This reply has been marked as private.February 14, 2014 at 8:42 am #48936Okay I investigated a bit and it seems this happens random?
I copy pasted a status that’s working to a post that’s not working and it didn’t work. Then I tried pasting a status that’s not working to a post that’s working and saved, now that post isn’t working either anymore.
Have you tried deactivating your plugins to see if that solves it?
Cheers
February 18, 2014 at 7:51 pm #50048yes, I did
February 21, 2014 at 11:24 am #50801I’ll ask the developer about that…
February 21, 2014 at 1:57 pm #50889Hi there,
Tested this on Twenty Fourteen and got the same issue, it was apparently fixed in WP 3.8.1 but evidently not.
Can you try this plugin. You’ll need to upload it via FTP. https://gist.github.com/yurivictor/8444326
– Ed
April 15, 2014 at 8:22 pm #67447Can you be more specific? You say to upload it, but I don’t see any download option. And what do I do after I upload it?
April 16, 2014 at 4:27 pm #67712Hi,
Please put this code in your functions.php at end of file under child theme directory .class FixTwitterOembed { private static $twitter_oembed_regex = '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i'; public static function init() { self::add_actions(); } public static function add_actions() { add_filter( 'oembed_providers', array( __CLASS__, 'fix_twitter_oembed' ) ); } public static function fix_twitter_oembed( $providers ) { if ( isset( $providers[self::$twitter_oembed_regex] ) ) { $providers[self::$twitter_oembed_regex][0] = 'https://api.twitter.com/1/statuses/oembed.{format}'; } return $providers; } } FixTwitterOembed::init();
Hope you will understand .
Thanks 🙂
With Best Regards
Swift IdeasApril 16, 2014 at 7:05 pm #67761But I don’t have a child theme
April 16, 2014 at 7:41 pm #67779Can you please activate the child theme, create a functions.php and place the code there?
April 16, 2014 at 8:03 pm #67795Are you saying the only way to fix this is to add a child theme and run my stuff through there? If that’s the case, then that’s not right, I don’t want to use a child theme because I had issues using one before. I shouldn’t have to use a child theme to get a feature to work, or else I would not have purchased this theme in the 1st place. Are you sure there’s no other fix?
April 17, 2014 at 7:04 am #67859Hi,
You can put this code at current theme’s functions.php .Thanks 🙂
With Best Regards
Swift Ideas -
Posted in: Clique
You must be logged in and have valid license to reply to this topic.