Hi,
an ajax issue appears when my wordpress files are in a subfolder.
This is the issue…
All Tabs are not hidden as usual due to this change. In my wp-config.php i have the following
define('WP_HOME','http://domain.com');
define('WP_SITEURL','http://domain.com/wordpress');
as explained here… http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Thanks for fixing
Hi @DavidS
Looks like the CSS is not being included correctly.
Do you have any CSS issues with other plugins?
Can you look in the source code for stylesheet that loads in ‘field-group.css’? What is the url for this file. Is it wrong? If so, what is wrong about it?
Thanks
E
You are right!
<link rel='stylesheet' id='acf-global-css' href='http://domain.com/wordpress/www/htdocs/w010bdef/domain.com/wp-content/plugins/advanced-custom-fields/css/global.css?ver=4.3.2' type='text/css' media='all' />
<link rel='stylesheet' id='acf-css' href='http://domain.com/wordpress/www/htdocs/w010bdef/domain.com/wp-content/plugins/advanced-custom-fields/css/acf.css?ver=4.3.2' type='text/css' media='all' />
This part is to much:
wordpress/www/htdocs/w010bdef/domain.com/
Just to know, my Domain is linkt to the following Rootpath directory:
/www/htdocs/w010bdef/domain.com/
i have no only two other plugins… so there are no issues
Hi @DavidS
Can you please also make sure that you have modified the constants for:
WP_PLUGIN_DIR
WP_CONTENT_DIR
ABSPATH
All these paths / urls must be correct for ACF to run correctly.
Thanks
E
Thank you for your hint!
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . 'content' );
had a /
before the content
I am having some issues here can you please give an example of how I should set each:
WP_PLUGIN_DIR
WP_CONTENT_DIR
ABSPATH
As I thought I had set them in wp-config correctly, but the URL is still incorrect in the source for the ACF stylesheet. It seems to give me the correct url at the end of the site url.
This is the URL:
http://site.com/folder/wordpress/nfs/c05/h01/mnt/78155/domains/site.com/html/folder/wp-content/plugins/advanced-custom-fields/css/acf.css?ver=4.3.8′
I have wordpress in a folder and my wp-content folder in the root as per http://davidwinter.me/articles/2012/04/09/install-and-manage-wordpress-with-git/
Thanks.