Questions tagged [outside-wordpress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Load WordPress functions outside WordPress files in Add on Domain [closed]

I'm unable to load wp-load.php file from wordpress in my ADD ON DOMAIN. I am using require_once('./wp-load.php'); to load wp-load.php and get_header(); to load header in my php file. Primary Domain is ...
0
votes
0answers
19 views

Is there a way i can use a WP plugin outside the loop?

I am developing a little map outside the WP loop in a seperate folder. I am using some core WP functions to interact with the DB. For this i use define('SHORTINIT', true); require_once('../_site/wp-...
3
votes
1answer
373 views

get_option() from another wordpress site

I'm using a plugin on Site A that shows announcements. I would like to put the same plugin on a different site (Site B), and have it pull the data from Site A, so that both sites show the same ...
0
votes
2answers
154 views

How to determine from a different folder (outside wordpress) if a visitor is logged into Wordpress

The WordPress area of my site (which has registration) is in for example mydomain.com/members/ I would like to know from a PHP routine in my public_html root mydomain.com/offers.php if they are ...
0
votes
1answer
663 views

How to access WordPress functions outside WordPress with 2 different WordPress installations?

I want to access WordPress functions from outside WordPress. I have included file wp-load.php in my non-WordPress code. It is working fine for a single WordPress install, but in my project I have two ...
0
votes
1answer
61 views

Calling wordpress menu outside ignores custom menu item

I have a wordpress website and I want to use wordpress menu outside the installation. So I created a file called nav.php and put the following code include( '../wp-load.php' ); wp_nav_menu( ...
-1
votes
1answer
1k views

How to use add_action(“wpcf7_before_send_mail” outside wp loop?

I am trying to trigger an add_action hook (add_action("wpcf7_before_send_mail", "add_data_to_custom_table");) from outside the wordpress loop. The add_action hook is defined in theme's functions-...
0
votes
1answer
780 views

PressPi (Wordpress) Broken Layout

We have a Raspberry Pi running PressPi which is a wordpress server. Our goal is to setup a Captive Portal using dnsmasq where users who connect to the Pi using a USB WiFi adapter see the PressPi home ...
1
vote
2answers
713 views

Appery.io and Wordpress

I´m trying to do an simple Wordpress-App for my Homepage. I started using Appery.io, which is actually a good environment for a non-programmer. But I wonder if anybody has experiences in hooking up ...
1
vote
1answer
865 views

How to connect to a remote database in WordPress?

I have a WordPress website. I want to split my existing database into two parts and store in a remote database. How can I set up a remote database connection for existing WordPress? If it's not ...
0
votes
1answer
2k views

How to call a function in wordpress plugin from another site

I create a plugin and install it in any wordpress sites. For any reason I need to call a function on those plugin from another site (not wordpress site). I've already try to using cURL and ...
0
votes
1answer
70 views

Wordpress Footer Widget Processing

I made a sidebar in wordpress and have widgets in it, I want to process them one by one so that I can set their locations in theme according to me. Example: If I have a 3 widget in my footer ...
0
votes
1answer
303 views

logged_in user outside of wordpress loop

I have a member site which maintains a collection of books. I want to have a page on a folder outside of my loop that can see if the user is logged in to the main site, and then display the book ...
0
votes
0answers
574 views

Do_shortcode on PHP file outside theme ALMOST works

I recently incorporated a new interface into my wordpress site that mimics an iGoogle layout. (If interested, It can be found here: Link and DEMO ) It uses several widgets to make up the layout ...
0
votes
1answer
304 views

Running the Loop outside of WordPress

I have a static website and WordPress installed at mywebsite.com/blog. I have a page on my external static website which displays a list of all posts [per the codex][1] using the following code &...
0
votes
1answer
61 views

allow previews outside wordpress folder (Outsourcing WP previews)

I am outsourcing the wordpress and I already figured out the external view. I even know how to make a WP query for previews, but when I want to do that I simply cant - wp-load stops all operations and ...
0
votes
4answers
6k views

How to load wordpress environment without loading the template?

Basically I want to use wordpress functions for example wp_create_user() or wp_update_user() outside of wordpress (outside of wordpress directory). I tried with all the below code snippets to load ...
4
votes
1answer
14k views

How to place comments_template(); outside the loop?

I am making a new template and I need to place the comments template outside the wordpress loop and just above the footer in the single.php file. I searched on google and the best answered I could ...
0
votes
0answers
184 views

Run A Pre-Built Core PHP Application Under A WordPress Page or Post Route

I have a complete application built in Core PHP and a WordPress site which has stable traffic every month, I need to get this new business application up and running under mysite.com/support. The ...
0
votes
1answer
635 views

Get User_id outside wordpress,

i am trying to get the User_ID outside of wordpress. I have a rating plugin and it needs the current user id, to cast votes. However it seems that something is going wrong. This is the part of the ...
0
votes
1answer
472 views

How do i get a specific user metadata using custom metavalue outside of wordpress?

I need help. I need to get a user ID or email (email is can do but ID is better) based on their phone number, outside of WordPress. I already have their phone number in a variable and billing_phone ...
3
votes
1answer
485 views

Showing content from another wordpress installation database in the page template loop?

I am just wondering if it is possible to show just the page content of another wordpress database on wordpress pages with the same pageID within the content loop in my page template. To be more ...
0
votes
1answer
64 views

Files placed in directory with wordpress 404

I changed my WordPress permalinks settings from the default to displaying the name of the post. When I did this, all the files that I had been storing in the directory with WordPress (www.example.com/...
0
votes
2answers
656 views

Remove W3 Total Cache minified files on custom page outside of WordPress [closed]

I have created a page outside my WP network install (following this info from css-tricks) The output of which is used for a Facebook business page tab as a Facebook app. It is working just fine, ...
2
votes
2answers
4k views

Dynamic iCal generator outside/inside wordpress

So following on from this post: https://stackoverflow.com/q/1463480/1086990 I was wondering how exactly it would work integrating it into Wordpress. I have a custom post type setup, and so far I have ...
1
vote
2answers
2k views

How to determine if an admin is logged in outside the loop

I need to be able to tell if an admin is logged in ouside of the loop. This is needed for some php files that are part of a WP site but do not use require( '../wp-load.php ); What I need to do is ...
-1
votes
2answers
227 views

Turning Wordpress Into full-featured website?

I just took 2 coffees worth of caffeine and started a very big project: Turning a wordpress-engined blog with a custom theme into a full-featured website. Can this be done? Is this legal? Has this ...
6
votes
2answers
8k views

Displaying content from one WP site on separate WP site

I have two totally separate WP websites setup. Different domains, different databases. I manage both of them and they are both hosted on a dedicated server. I am trying to include some basic ...
1
vote
1answer
3k views

Problem with using wp-load.php outside of WordPress

I'm trying to use wp-load.php in a page outside of wordpress so I can access all the functions in wordpress. Typically I just include the file like this require( $_SERVER['DOCUMENT_ROOT'].'/blog/wp-...