ema15
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to integrate Google Web Designer Ad banner to WordPress websiteFirst, thank you @t-p for your quick response. But actually, I already visit this post and I prefer to not use the first two solutions. Regarding the third one, I failed to upload the Ad banner on my Google Ads account.
Forum: Everything else WordPress
In reply to: How to keep audio player playing wordpressCan I just code the website header which contain the player with ajax? If it is possible how to do that?
Thank you
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressHi,
Finaly problem fixed, it’s due to new host, youtube urls coudln’t be well formated while I m connected to vpn.
Thank you for help.
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressI did integrate succefully the youtube video iframe but I want to auto embed video by copy paste the link.
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressI can’t switch to another theme because I don’t have a staging website. I modify directly on the live website.
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressHi,
What did you mean by “various, source-specfic blocks”?.
I do research and I find this code snippet to add in functions.php:
/**
* Add iFrame to allowed wp_kses_post tags
*
* @param array $tags Allowed tags, attributes, and/or entities.
* @param string $context Context to judge allowed tags by. Allowed values are ‘post’.
*
* @return array
*/
function custom_wpkses_post_tags( $tags, $context ) {if ( ‘post’ === $context ) {
$tags[‘iframe’] = array(
‘src’ => true,
‘height’ => true,
‘width’ => true,
‘frameborder’ => true,
‘allowfullscreen’ => true,
);
}return $tags;
}add_filter( ‘wp_kses_allowed_html’, ‘custom_wpkses_post_tags’, 10, 2 );
This well help to resolve the problem?
- This reply was modified 3 years, 11 months ago by ema15.
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressHi,
After manu research, I recognized that embeding is not enable in my wordpress site.
I tried to copy paste the video link on text editor but it was not auto embeded. So, do you know how to allow embed videos in wordpress?
Thank you
- This reply was modified 3 years, 11 months ago by ema15.
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressHi,
Can’t podt issue on publisher community.
Do you have any idea how to resolve this problem without posting on publisher support?Thank you
Forum: Everything else WordPress
In reply to: Can’t embed video on post using publisher theme wordpressThank you for your reply @steven.
Forum: Fixing WordPress
In reply to: Article without category return 400 bad request wordpressHi,
I tried with the code you send to me. I added a default category which is by default assign to a new article. When I tried to add a new article, cheek another category and uncheck the default one , the article was duplicate two times, one with the default category and other with the chosen category.
So how can I publish article with the chosen category?.I hope it was clear.
Thank you in advance.Forum: Fixing WordPress
In reply to: Article without category return 400 bad request wordpressDo you have any idea how to assign the default term for posts already published?.
I have multiple posts without category, so it’s difficult to update manualy each post.
In other words, which hook I have to use?Thank you in advance.
Forum: Fixing WordPress
In reply to: Article without category return 400 bad request wordpressIt’s working perfectly. Thank you @prashantvatsh.
Forum: Fixing WordPress
In reply to: Article without category return 400 bad request wordpressThank you again @prashantvatsh. I will go back to you once it’s done.
Forum: Fixing WordPress
In reply to: Article without category return 400 bad request wordpressThank you @prashantvatsh for your help. I already test a code similar to this code, but I didn’t understand the 3rd and 4th parameter of add_action:
add_action( ‘save_post’, ‘mfields_set_default_object_terms’, 100, 2 );
Forum: Fixing WordPress
In reply to: Article without category return 400 bad request wordpressI do so and nothing changed. A I said I developed a custom post type and I want to assign a default category to article without category when saving the article.
Did you know how to achieve that(with code)?
Thank you in advance.