WebFaction
Community site: login faq

Hi

I installed a new wordpress using the dashboard, i put my new theme (paid theme), this theme has an admin dashboard wich uses frames , i had a console error "Load denied by X-Frame-Options" how can i enable this if i dont have any apache conf files in the webapp?

asked 23 Jun, 18:05

fdelvalle's gravatar image

fdelvalle
111
accept rate: 0%


Take a look at this:

https://stackoverflow.com/questions/30750576/how-to-set-x-frame-options-header-in-wordpress-site?answertab=votes#tab-top

You may be able to do this from the theme's functions.php file (in which case, you should use a child theme):

function send_frame_options_header() {
@header( 'X-Frame-Options: SAMEORIGIN' );
}

(You may need to change SAMEORIGIN to ALLOW-FROM https://example.com/. See this page for more information.)

or via .htaccess:

Header set X-Frame-Options SAMEORIGIN

A paid theme that uses frames for the admin dashboard? That's…discomforting.

permanent link

answered 24 Jun, 00:39

kjodle's gravatar image

kjodle
485
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×231
×22

question asked: 23 Jun, 18:05

question was seen: 109 times

last updated: 24 Jun, 00:39

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM