![]() |
PHP - Wordpress question
I'm banging my head on the wall trying to figure out what I'm missing.
I'm trying to use some wordpress functions on a non-wordpress page. I've tested this on my own server and it works fine but it's not working on someone elses. I'm using this <?php include 'members/wp-load.php'; ?> and any changes I make to the html or anything after that line is not working or showing. Even if I delete sections of the page it still shows up in browsers like the original page is being stored and served from somewhere. I just don't get it. |
IIRC there are/were some notes at the end of wp-load.php, something about a file needing to be manually created? Not sure if they're germane to your issue or even still in the most current version, but might be worth taking a peek. Sorry, can't easily check any installations where I'm at...
|
Nevermind, it was a cache plugin. Not really sure why that would affect a page outside of wordpress but whatever.
|
Hmm, how could I allow wordpress content which is password protected with htaccess to be pulled to this non wordpress page?
|
Ok figured that out. I can just allow the server ip in htaccess.
|
Quote:
|
Quote:
|
Yeah, you'd be able to run the function but not access those images without the IP exception.
|
All times are GMT -7. The time now is 08:24 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123