ThorHammer
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Suddenly all became blankI will test you code, kichu. Thanks for the advice!
Forum: Fixing WordPress
In reply to: Suddenly all became blankJust to share with the community: My code over does as it should, but when it stood alone and closed with
?>followed by a ewgister sidebar call<?php ...it caused everything to hang and the screen to become blank. Letting the code above float together with the following code solved all problems.Forum: Fixing WordPress
In reply to: Suddenly all became blankCan THIS code I added to the top of my functions php (the very top, before register sidebar) in order to exclude posts from one category at the front page:
<?php function exclude_category($query) { if ( $query->is_home ) { $query->set('cat', '-32'); } return $query; } add_filter('pre_get_posts', 'exclude_category'); ?>Forum: Fixing WordPress
In reply to: Suddenly all became blankBut how do I deactivate the plugins when I cant reach my admin panel?
And how do i switch theme from a blank screen?Forum: Fixing WordPress
In reply to: Admin pages blank with no sourceI am also seriously interested if this can ba a case. Is it possible for a theme to messe up the wp-admin???
Forum: Themes and Templates
In reply to: Category Troubleits a bit impossible to say anything from your attatched header code…
Forum: Themes and Templates
In reply to: Can’t Install ThemeTracie, do as wisekal says. The theme you try to upload might be packed wrong. If so, WP can’t find the files inside the zip, if they for example are in a separate folder inside the zip. This is case with some plugins as well.
So download, unzip, check in which directory the files are, and upload this folder.Forum: Themes and Templates
In reply to: Exclude categoryI solved it!!! I placed the following code in my functions.php:
`function exclude_category($query) {
if ( $query->is_home ) {
$query->set(‘cat’, ‘-32’);
}
return $query;
}
add_filter(‘pre_get_posts’, ‘exclude_category’);’π
Forum: Themes and Templates
In reply to: Exclude categoryThank you for the effort, esmi, but it still doesnt work. I have tried to embed the code in my functions, index and home, but it really doesnt work…
Forum: Themes and Templates
In reply to: A PHP-issueesmi: Thank you! Of course…that is the obvious solution…
..feeling a bit stupid now…
Forum: Themes and Templates
In reply to: Different sidebar to pagesThank you – I will try the code without them!
Forum: Themes and Templates
In reply to: Different sidebar to pages*bump*
Forum: Plugins
In reply to: Tabbed Widgets picky with 2.8?Roger, I have read your solution, but I don’t know how to fix this and where to look (wich files of the plugin).
I am also very desperatly in need of this excellent plugin…
Forum: Themes and Templates
In reply to: Sidebar with absolute positionbump
Forum: Plugins
In reply to: Custom fields – linked imageDamn… I got a parse error.. on the last line:
elseif($withdrawal=='') echo '<img src="'.$withdrawal.'" /> ';Anyone ?