I found the answer, the problem was a wordpress theme. I discover that some themes does not allow anyone to utilize wordpress functions like loading wp-load.php
file from wordpress. Thanks to all who commented.
Related Posts:
- does using wordpress outside wordpress installation makes site slower?
- How to access WordPress functions outside WordPress with 2 different WordPress installations?
- Displaying content from one WP site on separate WP site
- How to place comments_template(); outside the loop?
- get_option() from another wordpress site
- Showing content from another wordpress installation database in the page template loop?
- How to call a function in wordpress plugin from another site
- How to load wordpress environment without loading the template?
- Dynamic iCal generator outside/inside wordpress
- Problem with using wp-load.php outside of WordPress
- How to determine if an admin is logged in outside the loop
- Appery.io and WordPress
- How to connect to a remote database in WordPress?
- Redirect to another page using contact form 7? [closed]
- Get User_id outside wordpress,
- How to determine from a different folder (outside wordpress) if a visitor is logged into WordPress
- Remove W3 Total Cache minified files on custom page outside of WordPress [closed]
- Calling wordpress menu outside ignores custom menu item
- PressPi (WordPress) Broken Layout
- WordPress Footer Widget Processing
- logged_in user outside of wordpress loop
- Do_shortcode on PHP file outside theme ALMOST works
- Running the Loop outside of WordPress
- allow previews outside wordpress folder (Outsourcing WP previews)
- Run A Pre-Built Core PHP Application Under A WordPress Page or Post Route
- How do i get a specific user metadata using custom metavalue outside of wordpress?
- Files placed in directory with wordpress 404
- Turning WordPress Into full-featured website?
- How to use add_action(“wpcf7_before_send_mail” outside wp loop?