Access to plugin variables
-
Hello.
How can I access your plugin’s variables?
I would like to download the car list view and display it on a php template page.
I tried including the main plugin files in the template:
include_once ABSPATH . 'wp-content/plugins/vikrentcar/autoload.php'; include_once ABSPATH . 'wp-content/plugins/vikrentcar/vikrentcar.php'; include_once ABSPATH . 'wp-content/plugins/vikrentcar/defines.php';
Then I placed the loop code in the page template, which I copied in the location below, but I only have a white page.
wp-content/plugins/vikrentcar/site/views/carslist/tmpl/default.php
Can you tell me which files can be included to access all plugin variables?
I would like to build my own view with a list of cars.
I managed to implement my search results template without any problems, but now I would like to build the same view to display a list of cars on the website.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Access to plugin variables’ is closed to new replies.