Plugin No Longer Showing Excerpts
-
Hello – I’m a fan of this plugin to repost content across a WordPress multisite. It’s been really handy for a couple of years.
Recently, however, the excerpts I’m using (which are iframes of podcast audio player) are no longer showing up on andysteiger.com when reposting it from another location on this multisite (https://apologeticscanada.com/podcasts/).
After reading this post – https://ww.wp.xz.cn/support/topic/network-posts-lost-from-view/ – I switched back to an earlier version of the plugin, but this still seemed to be an issue.
Is there a way to fix this so that the excerpts are visible?
many thanks,
JacobThe page I need help with: [log in to see the link]
-
That is correct. On auto_excerpt the plugin strips all html tags because of the problems it created. The page it was rendering it on (with some themes) mis-construed a closing </p> or </div> and screwed up the whole page. Tell him to put the iframe in the manual excerpt and remove auto_excerpt=’true’ from the shortcode. Sorry but no way I can fix this because of the problems it may cause.
The plugin does not strip the html tags from the manual excerpt field since it is safer.
-
This reply was modified 5 years, 9 months ago by
johnzenausa. Reason: HTML not removed from manual excerpt field
@vibrantcontent
Okay Jacob what I’m going to do is add an argument to the plugin where you can turn the tag stripping on and off. That way if it doesn’t mess with the theme your iframes will now work no problem. It’ll be up to the user.Fantastic. Thanks for adding that!
It’s going to take me a few days. Struggling with the new Gutenberg editor.
No worries. I really appreciate you making this modification!
cheers,
JacobJust as an experiment can you create another shortcode without auto_excerpt=’true’ argument and put the iframe in the manual excerpt field so I may see if that’s functioning properly. Put it on the same page just below the other one that’s not showing the content please.
OK. I’ve removed the auto_excerpt=’true’ from a new second shortcode on andysteiger.com. Here’s the new shortcode added below the first one:
[netsposts include_blog=” days=’25’ taxonomy=’Podcast’ titles_only=’false’ show_author=’false’ thumbnail=’false’ size=’90,90′ image_class=’aligncenter’ excerpt_length=’150′ show_author=’false’ order_post_by=’date_order desc’ paginate=’true’ list=’5′ include_link_title=’true’ columns=’2′]The <iframes> are all in the manual excerpt fields on the main site, but it doesn’t look like they are pulling through yet.
Thanks for looking into this!
When testing on my site with auto_excerpt=’true’ is used and the iframe is in the content area using gutenberg’s custom html block it shows just fine and when using the manual excerpt field the iframe again shows just fine.
If you’d like me to look further I’d need temporary superadmin access you can give me here: https://support.agaveplugins.com/contact/
Sure thing! I’ve just sent you a message through agaveplugins.com. We can follow up by email…
I replied to your email.
Before you do anything else add this argument to the
auto_excerpt='true'shortcode:strip_excerpt_tags='false'Jacob;
I changed the plugin shortcode to the following (you may change it to the way you desire of course):
[netsposts days='25' taxonomy='Podcast' show_author='false' thumbnail='false' size='90,90' image_class='aligncenter' excerpt_letters_length='1000' auto_excerpt='true' show_author='false' order_post_by='date_order desc' paginate='true' list='5' include_link_title='true' columns='2' strip_excerpt_tags='false']Now you can see the first iframe is showing again. The reason why they stopped showing is because of the new security features web browsers have. The iframe url’s are not encrypted. That is they are http:// not https:// so you can see in the first iframe on the page I changed the url to https and now it’s showing.
If you only want the podcast iframe to show I highly recommend taking advantage of the manual excerpt fields. That way you may show exactly what you want.This is the page I changed the iframe to https: https://apologeticscanada.com/2020/08/13/parenting-in-a-technological-age-part-2/
Here is the iframe code I changed through beaver builder:
<iframe src="https://player.blubrry.com?media_url=https%3A%2F%2Fmedia.blubrry.com%2Fapologeticscanada%2Fcontent.blubrry.com%2Fapologeticscanada%2FAC_Podcast_299_Final.mp3" scrolling="no" width="100%" height="138px" frameborder="0"></iframe>Notice how the source is now https?
If you change auto_excerpt=’true’ to auto_excerpt=’false’ then you will only see the iframe and it looks clean.
I have
excerpt_letters_length='1050'so they iframe will show.I added another shortcode below this one so you may see the difference between auto_excerpt and manual excerpt on the Andy Steiger home page.
Jacob;
On this post: https://apologeticscanada.com/2020/08/13/parenting-in-a-technological-age-part-2/ in the manual excerpt field I just copied the first paragraph and put it in the manual excerpt field plus the iframe. Notice how much cleaner it looks?
The manual excerpt field looks as such:
<p style="font-weight:300;">When we deal with children and adolescents, what are our tendencies? For many of us, we find it tricky to discern just how "adult-like" we should treat them. Now, throw into the mix the parenting challenges that comes with online technology and smart devices. How does screen time relate to the brain and social development of our children - young and old - and what might be some practical tips we may put into practice? Andy continues his dialogue with Alisha Stobbe, Marriage and Family Therapist, in Part 2 of Parenting in a Technological Age.</p><p><iframe src="https://player.blubrry.com?media_url=https%3A%2F%2Fmedia.blubrry.com%2Fapologeticscanada%2Fcontent.blubrry.com%2Fapologeticscanada%2FAC_Podcast_299_Final.mp3" scrolling="no" width="100%" height="90px" frameborder="0"></iframe></p>Now on the auto_excerpt the beaverbuilder headers just come up as text. Nothing the plugin can do because the beaver builder only works on the site it is installed on. This plugin can only see it as text.
If these posts are auto generated I’m sorry but there’s no fix. That’s why I stripped the html tags so stuff like that won’t show. I have turned off stripping the html tags by setting
strip_excerpt_tags='false'. But now you see the problems that it can cause. If you have time I highly recommend your blog admins to take advantage of the manual excerpt field.-
This reply was modified 5 years, 9 months ago by
johnzenausa.
Jacob;
One more thing you may do on the Andy Steiger page is use html to hide the:
[wpbb post:title] is by using some custom css.
Add the following to wherever you add custom css. I’ll give you two examples.
.netsposts-excerpt h1:first-of-type { display: none; }If you only want it to work on the home page add the following:
.home .netsposts-ecerpt h1:first-of-type { display: none; }-
This reply was modified 5 years, 9 months ago by
johnzenausa.
John,
I think you solved it. When I turned the podcast links in the iframes in the manual excerpts to https:// they began to reappear on andysteiger.com.
Then in your shortcode on andysteiger.com when I used auto_excerpt=’false’ just the manual excerpts came through – the podcast player.
You can see how it looks now on your end. Thanks again for your help!
cheers,
Jacob -
This reply was modified 5 years, 9 months ago by
The topic ‘Plugin No Longer Showing Excerpts’ is closed to new replies.