• Resolved josephvorin

    (@schellerscreen)


    Hi,

    it seems that the links (also handles and hashtags) are disabled in the feed output and I can not seem to enable them (not disabled in the settings). I embedded the widget directly inside the template using this hook:

    <?php the_widget( 'CtfWidget', $instance, $args ); ?>

    Am I missing something?

    Otherwise straight forward plugin!

    • This topic was modified 7 years, 10 months ago by josephvorin.
    • This topic was modified 7 years, 10 months ago by josephvorin.
    • This topic was modified 7 years, 10 months ago by josephvorin. Reason: Additional info
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey josephvorin,

    I think you’d be better off using the function do_shortcode():

    <?php echo do_shortcode('[custom-twitter-feeds]'); ?>

    All our widget does is create a “text” widget that has the shortcode prepopulated in it. That might be why it isn’t working quite right with “the_widget()”;

    Otherwise it’s possible there might be a javascript error on the page.

    Let me know if you have any other questions!

    Thread Starter josephvorin

    (@schellerscreen)

    Hi Craig. Thank you for your answer.

    Did that but no luck. Also there are no errors logged.
    Anything else I could try?

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey again,

    In that case, I may need to take a look at the page with the feed on it. If you don’t want to post the link here, feel free to use our support form on our website: https://smashballoon.com/custom-twitter-feeds/support/

    Thread Starter josephvorin

    (@schellerscreen)

    Hi Craig.

    Sure. Here it is: https://spiekermann.com/ (Also on https://spiekermann.com/en)

    Thanks for having a look.

    • This reply was modified 7 years, 10 months ago by josephvorin.
    • This reply was modified 7 years, 10 months ago by josephvorin.
    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey josephvorin,

    I’m noticing one javascript error when I use Chrome developer tools (https://snag.gy/2mpnrL.jpg). The links are added after the page loads with javascript so any error can prevent that script from executing. Any chance you could try disabling other plugins for a bit to see if that fixes the problem?

    Thread Starter josephvorin

    (@schellerscreen)

    Hi Craig.

    Yes, I know. I’m on that (Haven’t touched the site for a while). In this case it’s a jquery plugin not being loaded. However, that only occurs on the post view, not the index where links are also not being rendered. Maybe unrelated?

    Also: retweets appear although unchecked in the plugin-settings. Are they injected via js after page load too?

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey again,

    I guess another possibility would be that the checkbox next to “Display Links in Tweet Text” might have been unchecked. Could you check this on the “Style” tab? If it is, we may need to take a look at the feed to do some tests from the admin area. If that would be possible, you could use the contact form to send us an admin login and password.

    Also, unchecking the box in the Show/Hide section that is labled “Retweeted Text” will hide the text “Retweeted by ___” in the feed and not actually remove retweets. We have this as a feature in the “Pro” version currently. Alternatively, you can hide retweets by adding this CSS on the “Customize” tab:

    .ctf-retweet { display: none; }

    Let me know if you have any more questions!

    Thread Starter josephvorin

    (@schellerscreen)

    Hi Craig.

    Ok. Apparently I misinterpreted the retweet option. I enabled it and we can live with that. Hiding them via CSS could create a situation where no tweets are visible.

    As for the links: that label reads “Disable Links in Tweet Text” instead of “Display Links in Tweet Text”. It is unchecked because we want links to be clickable. Is there another option? If so then I can not find it.

    • This reply was modified 7 years, 10 months ago by josephvorin.
    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey again josephvorin,

    Sorry about the confusion! You are right that the option is “Disable Links in Tweet Text” I had misspoke when I asked you to check that.

    Taking another look at your site, it appears that the javascript file for the plugin is not being included on the page. Do you have the function wp_footer(); being used in the footer.php template file for your theme? This is how the plugin includes the javascript file.

    If wp_footer() is included, do you have any php code in your theme that might be dequeueing scripts?

    Thread Starter josephvorin

    (@schellerscreen)

    Hey Craig.

    Ok, that could be it!
    Going to look into this and will report back.

    Thanks so far!

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Sounds good! Sorry I didn’t catch that sooner. I must have been off yesterday :). Let me know if you are still having trouble. We can try some other options as well.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Links are not being rendered’ is closed to new replies.