dogel
Forum Replies Created
-
Thanks for your replies, Jory!
I know about template structures and hierarchies, and I made both the CPT and my taxonomy public. As I wrote, I have no problem creating a php template which contains a custom query for that situation.
I am just wondering why I don’t get any results when using the default query in the situation described above and if it could have to do with any PODs settings. (BTW, thanks for the tip, but
get_queried_object();
returns nothing in that situation)this doesn’t resolve my question, but just close it… :-/
There *are* some settings for CPT in Pods like “Publicly Queryable”, “Public” etc.
Adding a detail to my question: I am wondering if I could have set some of these parameters wrong, since the default WP loop won’t return any posts in situations where it should IMHO (i.e. the described one). If I didn’t change the default WP query, it should, shouldn’t it?
I just noticed I had to activate “REST API” in the Pods settings for the custom post type. It is shown now in the “Choose what to display” dropdown, so it works.
(However, it would be very useful to have similar options as in the “latest posts widget” block – listing the full posts, not only an excerpt)
Forum: Plugins
In reply to: [Yoast SEO] comment_reply_link function doesn’t work when Yoast is activeI just got a working answer on wordpress.stackexchange.com:
Version 7 of Yoast removes the replytocom variables by default. But it’s possible to add the following filter in the theme’s functions.php to get back the reply-to-comments functionality when using Yoast:
add_filter( 'wpseo_remove_reply_to_com', '__return_false' );
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyWow, that’s really great! It works now.
Thank you once more for all your efforts, this is the best support (for a FREE plugin!) one can possibly imagine!
I’ll add a 5-star rating right now…
- This reply was modified 5 years, 5 months ago by dogel.
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyRe Youtube-URLS: Maybe an option to treat youtube links that are in a p-Tag? Would be nice… ??
This is what it looks like in the editor in “text mode” (including the paragraph above it – there’s no content below it):
<p>Für Video gilt ?hnliches wie für Audio. Allerdings sind Videodateien oft zu gro? für den Upload. Daher, und auch im Sinne m?glichst weitreichender Kompatibilit?t mit allen Ger?ten, ist es ratsam, Videos zuerst auf Youtube oder Vimeo hochzuladen und dann hier nur den Link zur entsprechenden Youtube- oder Video-Seite einzufügen (durch Kopieren und Einfügen der <em>Youtube-Adresse</em> aus der Titelzeile des Browsers – nicht den "Einbettungscode" von Youtube verwenden!). Das sieht dann z.B. so aus wie folgt:</p> <p>https://www.youtube.com/watch?v=GA_L49YdfOQ</p>
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyThanks for your continued support and feedback, I appreciate that very much! But I added the filter function you posted (to functions.php) and it doesn’t work as intended (i.e. a regular Youtube embed happens).
Concerning the possibility of an unrendered Youtube URL in the content: I suppose those users would still wrap that in a link (
<a>
-tag), so IMO that would/could make the difference between “just a link” and a rendered video preview.Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyhmm – I am not so sure how to accomplish that…
But anyway: Why are Youtube links only treated at the beginning of a line – is there a technical reason? What difference would it make always converting them, regardless if they are at the beginning of a line or not?
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyAh, now the reason is clear!
So if I want to keep my settings I have to “train” my clients to use a line break (shift + return) instead of a new paragraph (return) when they insert a Youtube link. Hmm – for some of them this is going to be tough… ??
Anyway – thank you very much for all your quick responses!
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyAnother step forward:
It’s due to the “Keep paragraph tags in the Classic block and the Classic Editor” option in TinyMCE Advanced. If I deactivate it, “Youtube Lyte” works as expected.
Unfortunately this is one of the main reasons why I use this plugin – I want to be able to edit HTML, including <p> tags and classes I add to them…
Does “Youtube Lyte” work differently if a Youtube link is wrapped in a <p> tag or not?
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyIt seems I found the weak spot (although unfortunately no solution yet):
As I wrote, I am using the “TinyMCE Advanced” plugin. Now, when I deactivate it, edit the post and save it, Youtube Lyte works as expected.
When I activate “TinyMCE Advanced” again and do *not* edit the post, Youtube Lyte still works as expected.
However, as soon as I change anything in that post (with “TinyMCE Advanced” active), Youtube Lyte again fails to work.
Any idea what to do?
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyOkay, I found that this has nothing to do with multisite or not – I tested it on another website of mine (in a private post – can’t post the link here), and it also doesn’t work.
So i am going to check all the other plugins…
- This reply was modified 5 years, 5 months ago by dogel.
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyNo, https-Links also don’t work as expected on the main site (i.e. a normal Youtube embed is shown, and when I disable oEmbed, the link is shown as pure text).
Actually, I don’t really know whether it has to do with the multisite setup…
FWIW: I am using “Disable Gutenberg”, “TinyMCE Advanced” and “TinyMCE Custom Styles”, but I suppose all this shouldn’t affect the display on the page itself, but only the editor. (?)
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyHmm – I tried that, but now the link is displayed as pure text (in the editor the video is displayed, but not on the page itself)
(FWIW: Another post on the parent website for which I changed the code to “httpv” still is displayed as expected: https://www.youtube.com/watch?v=bCqe93FtiZU)
Forum: Plugins
In reply to: [WP YouTube Lyte] Not working on Multisites automaticallyAs I described, I tried to deactive the only plugin that possibly could be a conflict (Easy FancyBox), which didn’t make a difference.
And it also can’t be a conflict with the theme – I wrote the theme myself, and it has no Youtube-related functionality in it whatsoever.