azlan8822
@azlan8822
Hi I'm new here. just started enroll this course. Nice meeting you all.
Md Hafizur Rashid
@mdhafizurrashid_twitter
Hello, everyone!
Wernie25
@Wernie25
:)
Skin Whitening 100% Organic Supplement : Crystal Tomato® Plus
Darshan Pable
@DarshanPable15
Hello guys!
Jineresh
@Jineresh
hi guys! Newbie here
Maroa88
@Maroa88
Hi. I'm new here. Is there anyone doing graphic design with freelancing course? I need help with something
@QiaoHui7_twitter Did you manage to get response because I can't get any response from them?
lingern
@lingern
hi everyone! i will share my homework with u all. Thank you
shaan1991
@shaan1991
hello guys, anyone fluent with wordpress here?
i have a project in mind...i am confused on how to approach it
3rdeyes
@3rdeyes
Yes i can help you shaan
shaan1991
@shaan1991
how do i contact you?
Tamim Rahman
@trtultimate_twitter
Hello guys, I'm new here. Nice to see you all.
Edison Calle
@edisonake
Hello guys, Newbie here. I'm hoping someone can help me solve a WordPress issue?
Raunak Hajela
@raunakhajela
Hi @edisonake what's the issue?
Edison Calle
@edisonake
@raunakhajela Hi, i
Raunak Hajela
@raunakhajela
Hey buddy
Edison Calle
@edisonake
@raunakhajela Hi, thanks i'm trying to solve an issue with WP and wp_kses_post.
Raunak Hajela
@raunakhajela
What?
What's the issue?
Edison Calle
@edisonake
wp_kses_post is used to sanitize content and while doing this it doesn't output <iframe>
Raunak Hajela
@raunakhajela
Yaa but issue?
Ooh

on a wp template you can do this:

$allowed_tags = wp_kses_allowed_html( 'post' );
var_dump( $allowed_tags );

and it will output the list of allowed html tags; iframe is not inlcuded there so i need to add it

following the 1st block of code on that link, and editing it should add iframes.
This is what I'm doing:
function vipx_allow_contenteditable_on_divs() {
    global $allowedposttags;

    $tags = array( 'iframe', 'embed', 'object' );
    $new_attributes = array( 'src' => array(), 'height' => array() );

    foreach ( $tags as $tag ) {
        if ( isset( $allowedposttags[ $tag ] ) && is_array( $allowedposttags[ $tag ] ) ) {
            $allowedposttags[ $tag ] = array_merge( $allowedposttags[ $tag ], $new_attributes );
        }
    }

}
add_action( 'init', 'vipx_allow_contenteditable_on_divs' );
Edison Calle
@edisonake
i saw that previously. This is an example of how to also make it work
https://aaronreimann.com/2015/07/27/adding-code-to-allow-an-iframe-in-wordpress/
But i'm trying to follow the documentation from WordPress VIP
https://vip.wordpress.com/documentation/register-additional-html-attributes-for-tinymce-and-wp-kses/
Raunak Hajela
@raunakhajela
Oh okay...will try and let you know :)
Edison Calle
@edisonake
thank you so much, I really appreciate it.
just FYI, on their documentation, looks like they forgot to add brackets for the 'if' statement.
Raunak Hajela
@raunakhajela
Haaha yaa
Caesar Ian Belza
@moreishi
I hope you can help me. I'm stock at this scenario. I want to populate data from a form html to FormData(), but I can't make it work.
var fd = new FormData();
fd.append('name','test');
Jens Eckervogt
@sourceskyboxer
Hello everyone, I really don't understand how do I add jquery in Wordpress? If i am correct for group of gitter.im
Why does Google Search mess up? No tutorial of jquery in Wordpress and nothing show how do I add in page or template full width page
Edison Calle
@edisonake

@sourceskyboxer These days, WordPress automatically loads jQuery for you, so you don't need to add it, as you can see in the code:
https://github.com/WordPress/WordPress/tree/master/wp-includes/js/jquery

This article can explain a little more if you still have questions.
Hope this helps

Jens Eckervogt
@sourceskyboxer
@edisonake Oh thank you for help !
Raunak Hajela
@raunakhajela
@edisonake WordPress include old jQuery version not new...if you make new theme which support new functions and stuff then you hv to include
Ben Matthews
@LeodanBen_twitter
Also remember if you are writing jQuery for WordPress to make sure that you are wrapping your code as described in https://premium.wpmudev.org/blog/daily-tip-adding-custom-js-to-wordpress-remember-jquery-noconflict-wrappers/
aiemanqz
@aiemanqz
hello
is anyone has this kind of problem ?
Untitled.png
i've been stuck for a week with this typeform login issue
i cannot proceed to the next chapter
ArnobBiswas
@ArnobBiswas
I have the same issue @aiemanqz
can't find a way to reach the mentors to solve this problem
ArnobBiswas
@ArnobBiswas
can any give a solution to this problem please ?
Davide Pugliese
@Deviad
Hello
Anyone?