Loads the WordPress environment and template.

learn more… | top users | synonyms

2
votes
2answers
880 views

Using plugin functionality in external php script not working

I am encountering a strange problem which I couldn't solve so far. I'm calling a .php script via cronjob (Debian/GNU Linux). To use wordpress functionailty I added: define('WP_USE_THEMES', false); ...
0
votes
1answer
170 views

Allow the execution of an external PHP script for logged users

I need to call a PHP script external to WP and I would like to take advantage of the credentials of WP so that only logged users can access this script. I have tried to use this code embedded in my ...
0
votes
1answer
346 views

Fatal error: Call to undefined function the_ratings_results()

I was wondering if I rack your brains a bit on this one. I have a custom theme that has files in the theme folder but do not load as wp template files on the page settings. I also run EDD (easy ...
-2
votes
1answer
24 views

Pageline V1.4.5: background color of my title

Wow do I change the background color of my title in Blog articles? Not the color of the page but the backgroundcolor of the blogtitle.
0
votes
0answers
31 views

WordPress Outside of WordPress Not Executing

When visiting hello.php in the browser, it works just fine; however, when executed via command line, php5 /var/project1/hello.php, nothing happens. hello.php contains only the following code: ...
0
votes
0answers
157 views

Replacing get_header() with require('header.php')?

I am building a hybrid theme for a MediaWiki site that includes my Wordpress Header and Footer. In my Wordpress header.php file I have created a basic function that checks if the current page is a ...
0
votes
0answers
94 views

Could not find wp-load.php issue

I am setting up a Wordpress site into a Git repository, and as a result have moved the wp-content directory outsite of the Wordpress core directory (which is permitted as per ...
0
votes
0answers
111 views

why get_header doesn't work twice in a test

I'm trying to test a template. It's working fine individually until I run all the tests altogether and the tests fail. protected function load_template() { do_action( 'template_redirect' ); ...
0
votes
0answers
324 views

Problem loading wordpress functions outside of wordpress

I´ve just finished setting up my first ever website and blog, so please be gentle ;) . I am having a problem using some functions outside my wordpress installation (blog.example.com). To be ...
0
votes
0answers
367 views

Why I have this error when I try to install this old blog on my local webserver?

I am pretty new to WP (I came from Joomla) and I am finding some difficulties trying to put on my local web server an old backup of a website (made using WP 3.5) I have performed the following ...