stelaras1
Forum Replies Created
-
yes,
i mean in the blog posts page (applies to all articles and posts) and not for just a singly post.
I assume that index.php is located under /templates/design-manager/design-1/ folder (or whatever design i will choose to be enable) correct?
what is the difference between archive.php / index.php
Forum: Plugins
In reply to: [Re-slug] Fix for WordPress 4.0 and up.Have you tested with 4.8?
Thanks
SOLVED for youtube,
but the situation (when autoposted with the changed code) remains the same for all embedded code that may has iframe (like videos from youtube, facebook or even instagram photos)I tried with a clean wordpress install and just autopost with altered code and a draft post with <iframe youtube video> and has the same behaviour. (strips all iframe code!)
Can you please try it and let me know?
ThanksForum: Plugins
In reply to: [Auto Post Scheduler] youtube short code somewhere within plugin?in a fresh clean wordpress installation just installed auto-post-scheduler with modified code from https://www.ads-software.com/support/topic/using-auto-post-scheduler-with-snap-social-network-auto-poster/
The behaviour was exactly the same.
When pasted from drafts all embedded code (from videos, instagram photos etc) was stripped and replaced with [embedded code]Forum: Plugins
In reply to: [Auto Post Scheduler] youtube short code somewhere within plugin?Hi quys,
first of all let me thank you for this plugin!..
i’m struggling to solve an issue for a couple of days without any luck :/
So i would kindly request for your input..
i’m using Nextscripts plugin to publish to facebook.
Auto post scheduler is working perfectly. To be able to use Nextscripts with recycled posts i used the following code changes described at:
https://www.ads-software.com/support/topic/using-auto-post-scheduler-with-snap-social-network-auto-poster/The code is actually working but the problem is that the new code causes the following behaviour with videos:
Post that do have videos like youtube code with iframe (example <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/xxxxx” frameborder=”0″ allowfullscreen>) after autopost the video iframe is lost, there is no video any more.
It seems that the video code has been stripped.Tried to simulate the whole process that is implied by autopost new code (https://www.ads-software.com/support/topic/using-auto-post-scheduler-with-snap-social-network-auto-poster/)
what i did was to manually publish a draft article or change the status of an already publised post to draft and then published it again. The video code with iframe remained intact.Only when auto-post schedules and publishes the post there is a problem.
How these 3 new lines caused all this trouble? Is it possible for auto-post to somehow calls something that strips video’s code when video iframe exists?
*just realized that the same happens with any type of iframes (for instance iframe from an instagram photo)These are the 3 new lines added to auto-post-scheduler
$update[‘post_status’] = ‘draft
wp_update_post($update);
do_action(‘draft_to_publish’, $idThanks,
Stelios- This reply was modified 7 years, 10 months ago by stelaras1.
SOLVED
the youtube shortcode was hidden somewhere inside Jetpack plugin..
it could be or stated more clearly..thanks for your support
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] stop youtube short codejust awesome ??
if any time need to disable the [youtube url_of_the_video] short code i assume that i just disable the jetpack shortcodes(Shortcode Embeds), correct?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] stop youtube short codedoes jetpack automatically turns an iframe in to youtube short ie [youtube url_of_the_video?]
or put it in another way, if jetpack is installed then the short code that could play youtube videos is [youtube url_of_the_video]
is this right?these are the results from my tests
—-original code—–
there is no insertion of [youtube …] shortcode, but not recycled posts are posted to fb via SNAP—–code modified for SNAP—–
there is insertioni when iframe source code for youtube is found, the posted articles are ok in facebook via SNAP but videos cannot play (they have the [youtube url…]—–Attempt to reproduce the problem manually—-
What i did is to take an already published article, changed it to pendind,then draft and the published it again, there is alteration of iframe source of youtube, thus the code remains intact and no problems found.It seems that this extra code affects something! :/
Do you have an idea how i can find it? it drives me crazy ??yes it’s very strange..
i don’t have any youtube plugins, maybe wordpress does it by default?good idea to revert the code to the original. When i try this i have to:
1) grab an already published post and set status to draft
2) then wait for the auto-post-scheduler to take it from the drafts pools and see what happens?am i right?
Thanks
Forum: Fixing WordPress
In reply to: youtube short code does not workJames thank you once more ??
i’ll try to find out what is causing the conversion and disable it.
i think it’s somewhere within wp-includes/class-wp-embed.phphave a nice day!
hmm i’ve noticed some strage behaviour after change the code above
more specifically when posts are re-posted any videos with iframe code for example
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/xxxx” frameborder=”0″ allowfullscreen></iframe>now are being converted to youtube short code i.e
[youtube https://www.youtube.com/watch?v=xxxxxx%5Dwith result not being able to play the videos :/
do you have any ideas how to deal with this?
ThanksForum: Fixing WordPress
In reply to: youtube short code does not workHi James and thanks for your prompt response.
It’s working when pasting the url itself ??
i wonder how the iframe code is converted to [youtube url…] short codes
is it something that is being done automatically? i think not cause i’ve checked my previous posts.
I have to find what causes this automatic conversion, if you have an idea please share with me.Additionally i have to find and change all the iframe source or [youtube url xxx] short codes to just only the video url.
If someone knows how to achieve this automatically please tell me, it would be very much appreciated.Thanks
Tisha Oehmen thanks you for the workaround solution..
Forum: Plugins
In reply to: [Full Background] Clickable Background?no1solofan,
thanks for your feedback, i’ll give it a try!