tcb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: query_posts(“cat=-x”) excludes posts that have multiple categoriesthanks for the idea, unfortunately it has no effect.
i have no time at the moment to dig into this, but wasn’t this working some time before? it’s written in the docs…
Does somebody remember?
Forum: Fixing WordPress
In reply to: hierarchical categories and permalinksi made a dirty hack in category-template.php to make the standard category links look something like this:
/a1/a2/ becomes
/a2/
/a1/a2/a3/ becomes
/b3/
etc.code:
// quick hack. just don’t return the parents
// return $chain;
return ”;(the category name itself is removed by entering /. in the permalink options, category-base)
now i don’t have to bother with removing the disfunct links in the template.
Isn’t someone able to fix the nested categories thing when there is no category base tag?
Forum: Fixing WordPress
In reply to: hierarchical categories and permalinksthis is something completely different.
did you enter the wordpress- and blog URL under options?
Forum: Plugins
In reply to: Custom page-title for pages created by plugins like photopressVery basic solution.
in template-functions-general.php
function setMyTitle($myTitleIn) {
global $myTitle;
$myTitle = $myTitleIn;
}function getMyTitle() {
global $myTitle;
return $myTitle;
}i then call setMyTitle(‘…’) before calling get_header()
Forum: Plugins
In reply to: Custom page-title for pages created by plugins like photopressi had some problems with the scope of variables, now i use getter&setter functions to store the info, well.
Forum: Plugins
In reply to: Custom page-title for pages created by plugins like photopressi use only 2 wp-plugins.
wp_title(); returns nothing for a plugin-generated page – i have not figured out how to set a title by hand or make a dirty hack.