mstegink
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Facebook Feed] You’re not allowed to do thatActually I just encountered the same issue and I have the latest version of the plugin.
Forum: Installing WordPress
In reply to: Error during upgradeIt is a problems with the access control settings of (one of) the theme’s subfolder. To solve this make sure they are all readable.
Forum: Plugins
In reply to: Textile plugin for WordPress 2.3You could try this.
Forum: Installing WordPress
In reply to: Using 2.2 as a CMS with blogWhen you created a page with the name ‘blog-page-title’ for the weblog it should be assigned a template that is capable of displaying posts. You can set that in admin > manage > pages > edit the page you chose and set the template on the right side at ‘page template’. If you then set that page as the ‘posts page’ in admin > options > reading, it will display the posts correctly. To create such a template, just copy the index.php, open it and on the very top add (between php tags) /* Template Name: any-template-name-you-would-like */ .
I included the page for your convenience and updated the CMS theme to include the template.
Source, https://www.bos89.nl/1194
Forum: Requests and Feedback
In reply to: Will is_home() be fixed next version?The is_home function returns true for the ‘blog’ home page but, intentionally and correctly, not the ’static’ front page. I made a plugin that gives you the is_frontpage function which returns true if you’re at the frontpage you set, otherwise it returns false. https://www.bos89.nl/1197/
For background info check this: https://trac.www.ads-software.com/ticket/3682
Forum: Fixing WordPress
In reply to: bug/feature is_home not functionalThe is_home function returns true for the ‘blog’ home page but, intentionally and correctly, not the ’static’ front page. I made a plugin that gives you the is_frontpage function which returns true if you’re at the frontpage you set, otherwise it returns false. https://www.bos89.nl/1197/
For background info check this: https://trac.www.ads-software.com/ticket/3682
Forum: Themes and Templates
In reply to: is_home in 2.1 not workingThe debate is heading towards is_home beiing ment to return true for the blog home page and not the static frontpage. Is solved it in this direction by creating a plugin which gives us a new is_frontpage function which returns true only for the static frontpage.
Check it out here: https://www.bos89.nl/1197/
Forum: Fixing WordPress
In reply to: All import options return blank screenUnfortunately there was nobody to rescue me. So I hacked my way out of it. First I changed the php settings so I would see the errors.
First error
Cannot redeclare class wp_import in ../wp-admin/import/wordpress.php on line 3Solution: modified line 83 of wp-admin/admin.php.
from:
include(ABSPATH . "wp-admin/import/$importer.php");
to:
include_once(ABSPATH . "wp-admin/import/$importer.php");
Second error
Fatal error: Cannot redeclare write_post() (previously declared in ../wp-admin/admin-functions.php:4) in ..//wp-admin/admin-functions.php on line 3Solution: changed lines 5 and 6 from “wp-admin/upgrade-functions.php”
from:
require_once(ABSPATH . '/wp-admin/admin-functions.php'); require_once(ABSPATH . '/wp-admin/admin-db.php');
to:
require_once(ABSPATH . 'wp-admin/admin-functions.php'); require_once(ABSPATH . 'wp-admin/admin-db.php');
Now it works. You won’t see the normal WordPress admin interface but only the import page. Ugly but you won’t use it often anyway. I may be advisable to undo the changes after importing to make sure nothing gets broken.
Forum: Fixing WordPress
In reply to: Site keeps switching back to default themeCould be a permission problem on the theme also. Check the permissions compared to the default theme.
Another option: try removing the themes (except the default) and then re-upload them.
Forum: Fixing WordPress
In reply to: All import options return blank screenbump*
Forum: Installing WordPress
In reply to: Blogger Import Page is Blank!Wow, I have the same problem with WP 2.1 now.
Forum: Everything else WordPress
In reply to: Advice and Tips on WordPress as CMSSuch a shame there is plenty of visitors from here but hardly any comments of replies if it’s useful.
Forum: Requests and Feedback
In reply to: RSS feed for each categoryI wanted to have a list of feeds per category outside the loop. Therefore I did:
<?php
global $wpdb;
$cats = $wpdb->get_results("SELECT *
FROM $wpdb->categories ORDER BY cat_name");
foreach ($cats as $cat) {
echo '<li><a href="baseurl/category';
echo $cat->category_nicename.'/feed/">';
echo $cat->cat_name.'</a></li>';
}
?>
I whipped it in a plugin for anyone who cares
https://www.bos89.nl/1169/Forum: Themes and Templates
In reply to: New theme: Chocolate BarLink doesn’t show anything
Forum: Fixing WordPress
In reply to: Front page as CMSCorrection: to make the blog section work you need to follow these guidelines (from https://codex.www.ads-software.com/Pages >> Making your blog appear in a non-root folder).
1. Create a blog template. The easiest way to do this is to create a file named blog.php with the following contents in your theme directory:
?php
/*
Template Name: Blog
*/query_posts(‘cat=-0’); //gets all posts
load_template( TEMPLATEPATH . ‘/index.php’); //loads index
?Log into WordPress and create a page named “Blog” (or any name you want your blog to have) with template “blog”.
See https://cms.bos89.nl for an example.