fiflak
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Your attempt to edit this post “postname” has failedI have the same problem and it appeared after I’ve put adds forced by my web host. Now I have the problem even if I disable those adds. Turning off all the plug-ins does not help. I’m working with wp 2.6.3 and adds are generated on my site by js code.. please help.
Forum: Themes and Templates
In reply to: Separate Archives PageOk solved, you have to do something like that:
<?php
define(‘WP_USE_THEMES’, false);
require(‘wp-blog-header.php’); /* here write the path to your wp-blog-header */
get_header();
?>after this you can call functions normaly.
Forum: Fixing WordPress
In reply to: Nested categories lost in Admin.Hi
I have the same problem. When I try to edit a post all categories are fine (parents and child) except of the whole category branch where the post is placed. So for example if we have:
Main_cat1
– Child_cat1.1
– – Cat1
– – Cat2
– – Cat3
– Child_cat1.2
– Child_cat1.3
Main_cat2
– Child_cat2.1
– Child_cat2.2
– – Cat1
– – Cat2
Main_cat3and our post is in Main_cat2 -> Child_cat2.2 -> Cat2, then the whole nesting of Main_cat2 is lost and others are ok.
Any ideas?
Forum: Themes and Templates
In reply to: Separate Archives Pagehi
I have the same problem. I would like to create a page (not an archive) that would help my guest to navigate, but when refer to get_header() function I get an error.. I have placed this page I’m creating in my theme directory and I thought that if I call functions everything should be alright.. its not.. ??
does anybody has any suggestions?
Forum: Fixing WordPress
In reply to: “Project-Id-Version…” What is this text and how to get rid of it?I have the same problem but this message is being shown when i go to my sitemap. I’m using Polish translation.
I wasn’t able to find any of those suggested by Mishkin in comments.php and disabling this site from comments didn’t work.. :/
Anybody has some other ideas?
Forum: Plugins
In reply to: Redirecting logged in users to a page other than dashboard/profile?it’s all here: https://blog.koloda.pl/wordpress-panel-logowania.html
in case you don’t know Polish, here is what you have to do:open wp-login.php and find the line with “case ‘login’ :” below that you have a code executed when someone tries to log in. You have to look for something like:
if ( !isset( $_REQUEST[‘redirect_to’] ) )
$redirect_to = ‘wp-admin/’;
else
$redirect_to = $_REQUEST[‘redirect_to’];and change it to:
if ( !isset( $_REQUEST[‘redirect_to’] ) || empty( $_REQUEST[‘redirect_to’] ) )
$redirect_to = get_settings(‘siteurl’).’/’;
else
$redirect_to = rawurldecode( $_REQUEST[‘redirect_to’] );Check if users who have permission to add/edit posts are also redirected to proper side. If not you have to comment the line:
/* if ( !$user->has_cap(‘edit_posts’) && ( empty( $redirect_to ) || $redirect_to == ‘wp-admin/’ ) )
$redirect_to = get_option(‘siteurl’) . ‘/wp-admin/profile.php’; */It may be a bit differed in wordress 2.6, but I guess you will have to use your brain and find similarities.
Forum: Plugins
In reply to: Redirecting logged in users to a page other than dashboard/profile?Yeah, good question, I would like to use that trick too. Any ideas? Anyone?