drewrawitz
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi 3.6.2 PHP ErrorAwesome, that did it. Thanks!
In case anyone comes across this issue, I found a solution that will work for now.
Add this to your .htaccess file
SetEnv WP_DIR /path/to/wordpress
Hope that helps someone.
Forum: Plugins
In reply to: [Contact Form 7] Can't get posted_dataThanks so much Rob, that helps a lot.
Just wanted to follow up and see if there was any kind of solution that would at least get my stylesheets to show.
Thank you very much.
So my folder structure looks like this:
– content
– wordpress
index.php
wp-config.phpThe wordpress folder contains all the core WP files, and inside of content I have my themes folder and plugins folder.
Inside of my wp-config file I have this:
if (!defined('WP_SITEURL')) { define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress'); } if (!defined('WP_HOME')) { define('WP_HOME', 'https://' . $_SERVER['SERVER_NAME']); } if (!defined('WP_CONTENT_DIR')) { define('WP_CONTENT_DIR', dirname(__FILE__) . '/content'); } if (!defined('WP_CONTENT_URL')) { define('WP_CONTENT_URL', 'https://' . $_SERVER['SERVER_NAME'] . '/content'); }
Regarding the code used in the must-use plugin, I pasted in exactly what was in that forum thread:
<?php add_action("ws_plugin__s2member_after_loaded", "s2_hacks"); function s2_hacks() { $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["s2o_url"] = site_url("/"); } ?>
Viewing 5 replies - 1 through 5 (of 5 total)