slith
Forum Replies Created
-
Forum: Plugins
In reply to: W3 Total Cache – three questionsYou can tell it to not cache a section of the site, just not if the widget needs to be not cached and needs the wordpress engine loaded.
You can still always use Object & SQL cacheing.
Forum: Plugins
In reply to: W3 Total Cache – three questionsFrom what I understand.
1) If by “widget” you are referring to a WordPress widget, you cant do this. With page caching the wordpress engine is totally bypassed.
However, if you can modify the widget code, you can do something like this:
<!-- mfunc echo "This is the time not cached " . time(); --><?php echo "This is the time cached" . time(); ?><!-- /mfunc -->More info: http://www.lost-in-code.com/platforms/wordpress/w3tc-fragment-caching-mfunc
3)
You can do something like this in your functions.php
add_action('wp_head', 'define_if_page_cache'); function define_if_page_cache() { if (is_category("News")) { define('DONOTCACHEPAGE', true); } }Forum: Plugins
In reply to: aditinal http get value in blog linksGood thinking and nice try.
Unfortunatlly no luck.Printing out $_GET in thisismyblog() gives..
Array ( [m] => 200810 [page] => blog )
I think my problem is difficult because WordPress dosnt generate its links through one common function. Then again im no expert on wordpress…
Forum: Plugins
In reply to: aditinal http get value in blog linksLet me explain what I am trying to do.
I have a main php script which wraps around wordpress (mysite_index.php).
In mysite_index.php the code is like.
if($_REQUEST[‘page’] == ‘blog’){
require(‘./wordpress/wp-blog-header.php’);
}else if($_REQUEST[‘page’] == ‘register’){
require(‘./register.php’);
}//etc….Now in the included wordpress code through require(‘./wordpress/wp-blog-header.php’); I want wordpress to generate its links like.
http://site.com/?p=1&page=blog#comments
and
http://site.com/?page_id=3&page=blogSo the wrapping mysite_index.php script knows to include wordpress which is located under http://site.com/.
Sorry, Its difficult to explain
Forum: Plugins
In reply to: aditinal http get value in blog linksYes