Home › Forums › Backend Issues (wp-admin) › AJAX Issue due to WP_HOME differ from WP_SITEURL
an ajax issue appears when my wordpress files are in a subfolder.
All Tabs are not hidden as usual due to this change. In my wp-config.php i have the following
as explained here… http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Thanks for fixing
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?
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:
Just to know, my Domain is linkt to the following Rootpath directory:
i have no only two other plugins… so there are no issues
Can you please also make sure that you have modified the constants for:
All these paths / urls must be correct for ACF to run correctly.
Thank you for your hint!
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . 'content' );
/ before the
I am having some issues here can you please give an example of how I should set each:
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:
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/
The topic ‘AJAX Issue due to WP_HOME differ from WP_SITEURL’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.