Blutarsky
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to: batch from command line using WP environment?Any hint?
Forum: Fixing WordPress
In reply to: How to: batch from command line using WP environment?As i’ve said having WordPress “hat” on, would speed up the job.
Without that, I would have to write from scratch strict mysql code, study the relationships between tables, etc, etc.Basically what I would like to achieve is:
– read posts 1 by one
– update post content (I’m currently using qTranslate, so it would be helpful to access it’s functions from here)
– create/update post tags accordinglyForum: Fixing WordPress
In reply to: Is someone stealing content from my blog?Ok I have parsed the RAW logs and the originating IP address seems to be part of the Google network….
Could it be Google Analytics, actived a few weeks ago? Wonder why only now this happens… BTW it seems the home page is being indexed much more frequently than in the past…. (hourly?)
Can someone clarify?
Forum: Fixing WordPress
In reply to: Database migration to other blogHow can I delete all the hundreds, if not thousands, unused tags?
Forum: Fixing WordPress
In reply to: Possible to edit posts in Dreamweaver?Say a sort of connector to WP’s engine
Forum: Fixing WordPress
In reply to: how link to “random” page in siteNope, no help on that page is working.
This is what I have coded to make it work:<?php require_once("../../../wp-load.php");?>
Thanks aniway!
Forum: Fixing WordPress
In reply to: how link to “random” page in siteWell at least I’m using the blog header and footer… I’ll check out the link above
Thanks
Forum: Fixing WordPress
In reply to: how link to “random” page in siteDid as you suggest got this error:
Fatal error: Call to undefined function get_header() in E:\docs\wordpress\myblog.com\wp-content\themes\tgv1\anotherpage.php on line 1
Forum: Fixing WordPress
In reply to: how link to “random” page in siteso to link the page I need an absolute path?
Forum: Fixing WordPress
In reply to: how link to “random” page in siteDetails I have forgot to mention:
– I’m trying also to load the page coding the URL directly from the browser address box, like https://mysite/anotherpage.php, but the error occurs
– the caption in the browser states: “Nothing found for anotherpage php”Forum: Fixing WordPress
In reply to: Calling a plugin function outside of index.php gives errorI have tried to stuff into the external file (topposts.php) the following:
wp_head();
Now I get:
“Call to undefined function wp_head()”
Forum: Fixing WordPress
In reply to: Calling a plugin function outside of index.php gives errorI’am using the function inside WordPress.
If I code the following include, inside index.php:
<?php include "topposts.php" ?>
The included file, holds the call to the plugin function.
The sample above, works.***********************************************************
What doesn’t work is the inclusion of the same file, made with jquery:
<script type="text/javascript"> jQuery.noConflict(); jQuery("#foo").load("/wp-content/themes/tgv1/topposts.php"); </script>
Basically jQuery is successful, it does load the external topposts.php file, but the function call fails.
Any hint?
Forum: Fixing WordPress
In reply to: Calling a plugin function outside of index.php gives errorI have made another test to include the external .php file loaded with jQuery, directly from PHP and it works, so yes, the problem is jQuery-related.
Maybe do I have to include some credentials, or initialize something to allow jQuery to “see” WordPress correctly?
Forum: Fixing WordPress
In reply to: Calling a plugin function outside of index.php gives errorForgot to mention (maybe) something important: the offending call is in another php file, in the same folder as index.php, but loaded with jQuery. Could be this the problem? The php file loaded with jQuery holds an “environemnt” non WP friendly?
Forum: Fixing WordPress
In reply to: Possible to query stats from page code?I’ll give it a try, thanks for helping!