Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Hi all
    I put this mentioned code on my functions.php and I got the following error:

    Refused to frame ‘https://mydomain.com/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors FULL-URL”.

    How can I solve this?

    Thanks

    Hi @delanthear

    I am facing the same issue as you did, tried but still not working.
    How u did? Can u tell me step by step?

    Did you put the code into functions.pho on iframed WP (wp inside) or the WP which hold the page (wp outside)?

    function add_header_xua() {
    	header( 'Content-Security-Policy: frame-ancestors FULL-URL' );
    }
    add_action( 'send_headers', 'add_header_xua' );

    Also, what else?

    Forum: Plugins
    In reply to: [Delete Me] HTML tag
    Thread Starter kelsjc

    (@kelsjc)

    Hi Clint

    Finally I got it working! 🙂 Here are the problems found:

    1) I had deactivated and forgot to activated the plugin again (this is why I got only text). Shame! Sorry for that!

    2) The link was still missing, blank value. I realise that I was logged as admin and administrators cannot delete themselves. This is not critical but I had no idea what was going on. So would be easier if you put a message like “The link is not available for administrators”

    Now I am getting another problem and hope you can give me a light.

    I am using the WP Theme Superlist (https://themeforest.net/item/superlist-directory-wordpress-theme/13507181). When the user delete its account, it all goes away except the marker on google maps. So how can I change your code in order to also delete the marker on the map? Can you help me with this issue? Many thanks!

    Regards,

    Kelson

    Forum: Plugins
    In reply to: [Delete Me] HTML tag
    Thread Starter kelsjc

    (@kelsjc)

    Also I have put add_filter but still do not work. Should i change the name of “widget_text”?

    add_filter( ‘widget_text’, ‘do_shortcode’ );

    Tks

    Forum: Plugins
    In reply to: [Delete Me] HTML tag
    Thread Starter kelsjc

    (@kelsjc)

    Hi Clint

    I used a text widget and wrote [plugin_delete_me /] but still shows me as a text not as a link. Can you please help me?

    Thanks

    Kelson

    Forum: Plugins
    In reply to: [Delete Me] HTML tag
    Thread Starter kelsjc

    (@kelsjc)

    N/A

    • This reply was modified 8 years, 4 months ago by kelsjc.
    Forum: Plugins
    In reply to: [Delete Me] HTML tag
    Thread Starter kelsjc

    (@kelsjc)

    Hi Clint

    I am trying to use Delete Me in a WP theme. The page i want to use it, the html is constructed by an php array, so i cannot insert the php code on it.

    When I use [plugin_delete_me /] directly on the page, i see only the text
    [plugin_delete_me /], no link, no label.

    What is going on, why do i see text? Or…Is there any html code to call this function?

    Thanks

    Kelson

    • This reply was modified 8 years, 4 months ago by kelsjc.
Viewing 7 replies - 16 through 22 (of 22 total)