What does Filosofo Home-Page Control do?
Filosofo Home-Page Control is a WordPress plugin that lets you:
- put pages on the same Permalink level (or higher) as the blog’s directory and
- set which page you want to be the “home” page.
Why would I want to do that?
- Let’s say you wanted to use WordPress as a Content Management System, or CMS. If your website is
www.example.com, you might want a page with relatively static content (i.e. not your most recent blog posts) to greet your visitors when they loadwww.example.com. - One way to accomplish this is to add a file named
to your theme; automatically, WordPress will open that page as the home page. Instead, this plugin allows you to choose any of your existing pages to be the default homepage, without having to create a
home.php
file.
home.php
- Something else you might want to do is make a sub-directory of your site, say “blog,” to be the home of your blog entries, while allowing other pages to be on the same level (or higher) as that of the blog directory. For example, in addition to
www.example.com/blog, you might want something likewww.example.com/aboutorwww.example.com/my_pet_frogs. (Normally, if the blog resides inwww.example.com/blog, pages would be under that directory, so that you would havewww.example.com/blog/aboutinstead ofwww.example.com/about.)
Note: This plugin is not necessary if you are using WordPress version 2.1+
WordPress version 2.1 and newer includes its features, and you can access them under Options > Reading, so you do not need to install this plugin.
Will it work on my blog?
I’ve tested it successfully on WordPress blogs of version 1.5 and newer, including 2.0.
However, you do need to be able to use mod_rewrite in your .htaccess file, which is another way of saying you should already be using Permalinks.
See the “Warning” below which applies to those using WordPress versions prior to 2.0 and especially to those who are unfamiliar with creating or deleting files.
Where do I download it?
Filosofo Pages on a Different Directory 0.8.3 | October 22, 2006
Installation Instructions
Note: this plugin’s functionality is built in to WordPress 2.1 and newer, so there is no need to use it for those versions.
- Download one of the files above and extract it. Then upload the
file into your WordPress plugins directory, and activate it under Plugins in the admin control panel. (You must be using “Pretty” Permalinks; in other words, Permalinks cannot be set to “Default” aka “off”.)
filosofo-home-page-control.php
- Navigate to Options » Home-Page Control and choose which page you want to be the home page of your site (or go with the WordPress default), and choose the directory in which you want your blog’s main page to appear.
Note: this does not mean that you should create a real directory of that name on your server; rather, simply entering the name of your “directory” will make it appear as though there is such a directory, even though it doesn’t actually exist. - (Optional but highly recommended): Navigate to Options » Permalinks and prepend to the custom Permalink structure the directory name that you chose above. That way, it will appear that the individual posts, categories, etc., reside in the same directory as the blog’s main page.
So, for example, you might change your permalink structure from/%year%/%monthnum%/%day%/%postname%/to/blog/%year%/%monthnum%/%day%/%postname%/, if “/blog” is the directory you want your blog to appear in. - This step #4 is not necessary for WordPress 2.0. Navigate to Options » Permalinks and press the button to update your Permalink structure. If your
.htaccessfile is not writable, you may need to copy and paste the Permalink structure into the.htaccessfile.
For users of older WordPress versions
If you’re using any version of WordPress older than 2.0 (i.e. 1.5.x), read this.
Frequently Asked Questions
My template has a home.php file. Will the plugin still use that file?
Yes. By default, WordPress uses home.php on your home page, and this plugin does not change that behavior. In other words, whatever page you select as the “home” page will use the home.php file as though it were the template for that page. You may also use a custom template for the “home” page, or just the page.php or index.php as normal.
“is_home()” returns true on the “home” page. How can I tell when I’m on the blog’s main page, but not viewing an individual blog post?
Use this as the test:
if (!is_single() && !is_page())Using the plugin, I now have my blog posts in a “directory” named “/blog,” but the sidebar has disappeared. How can I make the sidebar reappear on the /blog page?
Some themes use conditional statements in their sidebar.php files so that the sidebar appears only on the “home” page. Try editing your sidebar.php file, replacing something like
with
<?php if (is_home()) { ?>
.
<?php if (!is_single()) { ?>
Using the plugin, I now have my blog posts in a “directory” named “/blog,” and I want a link to “/blog” in my sidebar. How can I make a link to “/blog” in the sidebar without manually editing my theme template?
One way to do this is to create a dummy page with the “Post slug” of “blog” and title of something like “My Blog.” Then it will appear in the list of pages in your sidebar, but when you click the link to “/blog,” WordPress will ignore the dummy page and instead take you to blog “directory.”
I’ve de-activated the plugin, but WordPress acts as though it’s still activated.
Re-save your permalink settings to flush the rewrite rules cache.
How do I get “Blog” to appear in the title of my “blog” page, instead of just my site’s name?
Add these lines to your theme’s functions.php file or at the bottom of the plugin file:
function blog_page_custom_title($a,$b) {
$t = 'Blog'; // the text to appear in the 'blog' title
if ( !is_home() && !is_single() && !is_page() ) $a .= " $b $t";
return $a;
}
add_filter('wp_title','blog_page_custom_title',1,2);
If you run into any problems or have comments or suggestions, please leave a comment in my support forum or email me at if.website (located at) gmail (dot) com .
See some of the other WordPress plugins I’ve created.
Like this plugin? Is it worth a latte?
This month I have received $57.00 in donations for the free plugins I offer here, which is about $0.14 per download.

65 Trackbacks/Pingbacks
[...] Ok now I had installed Wordpress on my root (I forgot to mention this in my previous post), so my blog was being published to http://sabarish.net, but I wanted that to be my home page address and my blog address to be http://sabarish.net/blog. I created a new page called Home with some static content to be displayed as my home page. I then installed a plugin called Filosofo Home-Page Control which let me control which page is displayed as the home page and which as the blog page. Hat tip: Nandu anna for mailing me that plugin. After this, I had to modify the header.php file of the theme to add a link to point to the Home page and had to modify the blog url to include “/blog”. [...]
[...] A lot of things happened since I last posted, for one I upgraded my Wordpress install to the new release 2.0. With that I actually put in some more effort into the site too. The old image gallery is back, it can be accessed here, it has been redone with a Wordpess plugin called Lazyest Gallery, it sort of takes a simmilar approach as Mig, leaving it to you to arrange your photos in a folder hierarchy, and it’ll display galleries based on it. Another mod, Filosofo Home-Page Control allows me to not show the Blog page as the home page, making this into something more like a website. I use Fold Page Menus in order not to show all the page clutter. And to remove the classic Register/Login links on the sidebar, I use Admin Menu to instead display a bar actross the top of the site. And lastly, a small touch, links get prettyfied (by having icons added to external links among others) via Link Indication. [...]
[...] Se ha discutido mucho sobre las diferencias entre un blog y una web est?tica. Con el pugin Filosofo Home Page Control es posibe combinar el dinamismo e interactividad de un blog con la mejor navegabilidad de una web est?tica al uso. [...]
[...] Con el pugin Filosofo Home Page Control es posibe combinar el dinamismo e interactividad de un blog con la mejor navegabilidad de una web esttica al uso. [...]
[...] Filosofo home page control – allows you to create a wordpress front page and have the journal on a sub page. Just what I was looking for for some of my future site designs here. [...]
[...] Standard i Wordpress r att senaste inlggen i bloggen lggs upp p framsidan. Med insticksprogrammet Filosofo Home-Page Control kan man vlja en statisk sida som framsida. [...]
[...] ??Filosofo Home-Page Control??????????????????What’s New?page???????WP????CMS?? cms homepage page [...]
[...] WordPress plugin: Home-Page Control ???????????blog [...]
[...] New?page???????WP????CMS?? Posted in Wordpress RSS 2.0 *Name [...]
[...] Wem das zu komplex ist, möge sich das Wordpress Plugin Filosofo Home-Page Control anschauen, auch ok für den gleichen Zweck. [...]
[...] To install and activate the plugin, download the plugin here, unzip it to your hard drive, then upload it to the wp-content/plugins folder on your server. After that, you’ll want to visit the Plugins page on your control panel, and activate the plugin. If you haven’t done it yet, you’ll need to create a new page that you want to use as your homepage (call it whatever you want). After you do that, click the Options tab, then look for the link called “Home-Page Control.” Once you make it to that page, just assign your chosen page as the home page and click “Save.” [...]
[...] I’ve used a WordPress plugin to set a “static” Page to be the home page of a site. But what if you want both a static site *and* a blog? That plugin didn’t work. Happily, there’s another WordPress plugin, Filosofo Home-Page Control, that does it *so* smoothly and easily. Install plugin. Choose which page to be the home page. Declare the directory you wish for your blog. [...]
Die besten WordPress Plugins – Administration » Tipps zur Suchmaschinenoptimierung…
Filosofo Home-Page Control
Allows you to set one of your pages as the home page….
[...] Filosofo Home-Page Control插件下载及详细使用说明点这里。 [...]
[...] Plugin 1: Filosofo Home-Page Control [...]
[...] Plugin 1: Filosofo Home-Page Control [...]
[...] Filosofo Home-Page Control: lets me set a particular page as the home page, and also to separate the blog to a subdirectory, even if it’s at the root level. At first, you don’t get the point, until you realize you can use WordPress to run a regular site by creating pages, then add a blog to a subdirectory later and specify that subdirectory through this plugin. In other words, you run the site pages at http://www.example.com and the blog at http://www.example.com/blog. Really, really nice. [...]
[...] Filosofo Home-Page Control [...]
[...] Filosofo Home Page Control is a plugin that allows a user to alter the default homepage for the WordPress installation. This is in case one doesn’t agree of having the blog as a default WP homepage. [...]
[...] Plugin 1: Filosofo Home-Page Control [...]
[...] Player,Dagon Design Sitemap Generator,DropCap First Character,Filosofo Home Page Control,flickrRSS,Google XML Sitemaps,Gravatar,Highlight Author Comments,WordPress Database [...]
[...] Home-Page Control [...]
[...] Filosofo Home-Page Control- This plug-in lets you put pages on the same Permalink level (or higher) as the blog’s [...]
[...] Plugin 1: Filosofo Home-Page Control [...]
[...] Plugin: Here 43) Filosofo Home-Page Control- [...]
[...] a plugin such as Filosofo Home-Page Control (http://www.ilfilosofo.com/blog/home-page-control) instead. It works fine with WP installed in [...]
[...] Filosofo Home-Page Control: I wanted to move out the blog to the side, and while this seemed a quite straight forward job (add a home.php to the theme and copy the index.php into blog.php, to use that as a template for the blog listing usually does the job) it clashed with K2. And once again I didn’t feel that I wanted to debug or extend other people’s code. Home-Page Control does what it says on the tin: move the blog out into a subfolder, use something else as homepage. [...]
[...] Filosofo Home-Page Control- This plug-in lets you locate pages on the aforementioned Permalink take (or higher) as the [...]
[...] Filosofo Home-Page Control: lets me set a particular page as the home page, and also to separate the blog to a subdirectory, even if it’s at the root level. At first, you don’t get the point, until you realize you can use WordPress to run a regular site by creating pages, then add a blog to a subdirectory later and specify that subdirectory through this plugin. In other words, you run the site pages at http://www.example.com and the blog at http://www.example.com/blog. Really, really nice. [...]
[...] that lets you: … Filosofo home page control – allows you to create a wordpress front page …http://www.ilfilosofo.com/blog/home-page-control/Free XML-RPC blog ping site submitter: "Blog Ping" Here’s a free, as in beer, Blog Directory [...]
[...] Plugin: Here 43) Filosofo Home-Page Control- This plug-in lets you put pages on the same Permalink level (or higher) as the blog’s directory [...]
[...] Plugin 1: Filosofo Home-Page Control [...]
[...] November 23, 2006 · 70 Comments Plugin 1: Filosofo Home-Page Control [...]
[...] ciertas categorías son usadas con una función que no es precisamente clasificar información. * Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y [...]
[...] è probabilmente la soluzione più semplice. Questo plugin infatti, ci permette di impostare come home page una qualsiasi pagina che abbiamo creato nel nostro [...]
[...] as a website first, with a secondary blog. I found a plugin which allowed me to do this called Filosofo Home-Page Control which allowed me to set both a home page and a “virtual” location for my blog. If you look at [...]
[...] Filosofo Home-Page Control(0.83下载)作者:Austin Matzko.可以设置你blog里某page或某目录为主页。 [...]
[...] Plugin: Here 43) Filosofo Home-Page Control- [...]
[...] Plugin: Here 43) Filosofo Home-Page Control- [...]
[...] Filosofo Home Page Control. Allows you to change the default homepage for your WordPress install, in case you don’t want your blog as your default WP homepage. [...]
[...] 我一直想弄一个静态首页,就像你们现在看到的这样,ichentao.com是一个front page,ichentao.com/blog才是日志页,这样做的原因是利于统一和扩展新功能,比如搞个/photo放相册什么的,当然这是后话,我的空间还不足以支持一个相册。wordpress的官方论坛里有专门的文章讨论如何建立一个static front page,而我幸运的搜索到一个插件:Filosofo Home-Page Control,很方便,还可以将日志和page放在同一级别,我的意思是,比如about页面,现在的地址是ichentao.com/about,如果按照论坛里说,忙了半天之后可能发现about的地址成了ichentao.com/blog/about,这就不太爽了,不统一了,当然我相信按论坛里的方法一定有解决这个问题的solution. [...]
[...] 然后才是博客. 我找到一个能这样做的插件Filosofo Home-Page Control 它能让我同时设置一个首页和一个”实际”的博客位置. 如果你浏览 [...]
[...] коде. Плагин: Автор плагина: ilfilosofo.com Страница плагина: http://www.ilfilosofo.com/blog/home-page-control Рассматриваемая версия: 2.3 от 12.08.2008 Совместимость с [...]
[...] Plugin: Here 43) Filosofo Home-Page Control- This plug-in lets you put pages on the same Permalink level (or higher) as the blog’s directory [...]
[...] Plugin: Here 43) Filosofo Home-Page Control- [...]
[...] Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y establecer que página deseamos que se muestre como principal. [...]
[...] Filosofo Home-Page Control: lets me set a particular page as the home page, and also to separate the blog to a subdirectory, even if it’s at the root level. At first, you don’t get the point, until you realize you can use WordPress to run a regular site by creating pages, then add a blog to a subdirectory later and specify that subdirectory through this plugin. In other words, you run the site pages at http://www.example.com and the blog at http://www.example.com/blog. Really, really nice. [...]
[...] Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y establecer que página deseamos que se muestre como principal. [...]
[...] Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y establecer que página deseamos que se muestre como principal. [...]
[...] Filosofo Home-Page Control is better than the default features of WordPress because it allows you to have your blog in a [...]
[...] Filosofo Home-Page Control(日本語情報) [...]
[...] Home Page Control von il filosofo. [...]
[...] them into my new version, using a handy Wordpress export and import tool. I’m using the home page control plugin which enables me to run my entire site using one install of Wordpress with the blog entries all [...]
[...] qui marche très bien pour mettre autre chose que le blog en page d’accueil: Home page control http://www.ilfilosofo.com/blog/home-page-control/(C’est ce que j’ai utilisé pour http://cafecafe.ch ou http://dojo-lausanne.com par [...]
[...] qui marche très bien pour mettre autre chose que le blog en page d’accueil: Home page control http://www.ilfilosofo.com/blog/home-page-control/(C’est ce que j’ai utilisé pour http://cafecafe.ch ou http://dojo-lausanne.com par [...]
[...] Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y establecer que página deseamos que se muestre como principal. [...]
[...] a domain using Wordpress, while still allowing Wordpress to have control over the front-page. The Filosofo Home-Page Control Plugin can also be used on Blogs, which have been installed within the root directory of the [...]
[...] as a website first, with a secondary blog. I found a plugin which allowed me to do this called Filosofo Home-Page Control which allowed me to set both a home page and a “virtual” location for my blog. If you look at [...]
[...] and have all your blog posts be under /blog/ in the url, even when there’s no /blog/ directory! Il Filosofo Filosofo Home-Page Control ____________________________ Freelance graphic designer My music [...]
[...] Filosofo的”Home-Page Control“插件刚好派上用场。这个插件可以让你指定任何一个wordpress页面作为主页。你可以将你的博客部分放到子目录内(比如说my-site.com/blog”)。这个插件的好处在于可以指定任何wordpress页面作为你的主页,而无需摸索着在你的主题目录内添加一个”home.php”文件。所有的一些都可以在管理面板内处理。赞。 [...]
[...] le plugin: Ici 43) Filosofo Home-Page Control- Ce plugin vous permet de mettre des pages reliées au même niveau de permalien et de décider [...]
[...] le plugin: Ici 43) Filosofo Home-Page Control- Ce plugin vous permet de mettre des pages reliées au même niveau de permalien et de décider [...]
[...] Plugin 1: Filosofo Home-Page Control [...]
[...] Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y establecer que página deseamos que se muestre como principal. [...]
[...] Filosofo Home-Page Control – Este plugin te permite poner pemalinks en el mismo nivel (o superior) que la raíz de tu blog y establecer que página deseamos que se muestre como principal. [...]
276 Comments
This looks very god – I might look into it in a week or two (I am too busy at the moment) – I’ve been wondering about turning WP into a CMS for awhile now, since I need a personal website as well as a blog.
Thanks for this plugin. I’ve used it as you suggested to make WordPress a CMS for my home church’s website. It makes things much easier for the pastor to update the website on his own.
I use your JavaScript Extract plugin on my personal blog as well. Thanks for that one too.
Hi, I am attemting to set this plugin up and when I go to set the new home page under Options Home Page Control, I receive the following error.
Cannot load filosofo-home-page-control.php.
Note permalinks are working fine on this web site.
Any help would be greatly appreciated.
Cheers
Ed
Ed, what version of WordPress are you using?
To what link does the Options > “Home-Page Control” tab point? It should look like
http:// [your site] /wp-admin/options-general.php?page=filosofo-home-page-control.phpAre the file permissions of the plugin file set so that it’s readable?
Hi Filosofo,
I am using WP 2.0 which is set up by Fantastico on Bluehost.
The link points to:
http://localstoremarketing.biz/wp-admin/options-general.php?page=filosofo-home-page-control.0.6.7/filosofo-home-page-control.php
Note the small difference to your link…I guess is the version no?
Also I checked file permissions and yes they are readable by User/Group/World. Can only be written by User, and no execution rights by user/group or world.
I hope this helps.
Cheers ang thanks
Ed
The plugin file itself should be named
filosofo-home-page-control.phpand be sitting in thewp-content/pluginsdirectory; it should not be in another directory (such asfilosofo-home-page-control.0.6.7). That may be what is causing you a problem.THis did the trick. Maybe I should read the install instructions better
Thanks for your help and for this great plugin.
Cheers
Ed
hi. thanks for this plugin. it’s great. i wonder if you have tried it with the ol_feedburner plugin? i can’t seem to get the two to behave together. it seems that instead of redirecting my visitors to feedburner, they get redirected to /feeds/ on my site instead. – donovan.
Donovan, what version of WordPress are you using?
Hi, I’ve installed this plugin and activated it successfully. I went into the options and set my “home” page as home, instead of my blog but for some reason it doesn’t seem to work. When you click on “home” in the menu it takes you there, but it’s not the default page. Any ideas as to what might be going wrong?
Vanessa, looking at your site it seems you don’t have permalinks activated.
Hi. I’m using 2.0. Going to upgrade to 2.0.1 in an hour or so. I’ll subscribe to the RSS feed for these comments so I can remember to followup on this. Thanks.
First of all: Many thanks for your plugin, it is a great solution for using a static front page.
However, I am having one issue:
When the home of your blog entries is being displayed, the wordpress functions previous_posts_link() and next_posts_link() provide a wrong url.
Example:
http://www.mysite.com. Blog directory that is set in the Home-Page-Control options is “blog” (so the blog directory is http://www.mysite.com/blog/)
When loading http://www.mysite.com/blog/ and clicking the output url of next_posts_link(), a 404 error occurs. The URL being generated by next_posts_link() is http://www.mysite.com/blog/page/2/. But WordPress expects http://www.mysite.com/page/2/ (without the “blog” inside the URL).
Hmm, I think about using a RewriteRule to solve this issue. Or do you have any other suggestion?
OK, just created a RewriteRule that works so far:
**IfModule mod_rewrite.c##
RewriteEngine On
RewriteBase /
RewriteRule ^blog/page/([0-9]+)/$ /page/$1 [L,R]
**/IfModule##
(replace ** and ## with angle brackets)
Michael, that’s very similar to what I have:
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^blog/page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L] </IfModule>I’ll see what I can do about incorporating that into the plugin.
Okay, Michael. I’ve updated the plugin to version .7 so that now it should create the necessary rewrite rules automatically.
Great, thanks a lot, Austin. It’s working perfectly.
Hi Michael, great plugin thanks. I noticed one weird thing: in WP 2.0.1 when I save a post, I cannot preview it, it just shows the home page, not the post. Any ideas what can be done about this?
Oops I meant filosofo
Rachel, I think I’ve fixed the problem in what I’ve just uploaded as version 7.1.
You’ll need to re-save your settings under Options > Home-Page Control to clear the cached rewrite rules.
Thanks – I gave that a go and resaved my settings but nothing changed? Is there anything else I should do?
I was having a similar issue like Rachel has described: when I created a new post and saved it (not published), the preview just displayed a search result with the message “no hits”…
But I just have upgraded to .72, and now it works.
Austin, thanks again for this great plugin.
This plugin doesn’t seem to work correctly if used with the permalink redirect by Scott Yang. Once the permalink redirect plugin is activated, when I attempt to navigate to the “blog directory”, I’m redirected to the main home page.
Jason, here’s a patch for the permalink plugin that seems to work for me:
14c14
< is_comments_popup())
—
> is_home() || is_comments_popup())
In other words, change line 14 so that it returns on the blog index page.
Works great. Thanks buddy.
Hi again
Will this plugin work with the Wordpress search box?
Rachel, I see the problem and will have a fix up in the next day, hopefully.
Okay, .73 should solve the problem.
Thanks for this plug-in. It seems to be just what I needed. I want to have a static front page and a menu link to the normal blog. Everything works as it should except on then new /blog page, the side bar is missing. I am using the k2 theme. How do I get the side bar back on the blog page?
Steve, to decide whether to print the typical sidebar stuff, the k2 theme checks to see whether the is_home() function returns true (and it checks some other things as well). The way I’ve designed the plugin, is_home() returns true for the home page, which is whatever you set it to be, instead of the /blog page.
Look in the k2 theme’s sidebar.php file, and you can modify the if . . . else statements for your needs.
Hi,
I’ve just installed the Home-Page Control plugin. I created a page called “Home” and set it to be the homepage, but it seems to ignore me and wants to make a blog entry the homepage. I pressed the button to update the permalink structure but to no avail. Any ideas what might be wrong? I’m using 2.0.2 of WordPress and 0.7.3 of the plugin.
Mark, under Manage > Posts and Manage > Pages in the admin control panel, you can see the ID numbers for blog entries and pages. What’s the ID of the page you want to be the home page, and what’s the ID of the post that’s being made the blog page? Can you link to your site?
Hi,
Thanks for replying so soon. The page I want to be the homepage is ID 9:
http://www.synergee.co.uk/synergee/?page_id=9
The page that appears is this one which seems to show all the blogs?
http://www.synergee.co.uk/synergee
Mark, it doesn’t look as though you have permalinks enabled, and they must be in order to use this plugin (with permalinks, the link to your pages would look something like http://www.synergee.co.uk/synergee/home/ instead of http://www.synergee.co.uk/synergee/?page_id=9 ).
Hi,
I selected an alternative permalink structure (other than the default) and it now works fine. Many thanks for your help.
filosofo it seems that, as of now, the download links for .zip and .tar.gz are broken.
update: they work
hi,
i installed the plugin, switched it on but nothing happened. it just working when i change the permalinks style from default to numeric. but then then the whole site is unstyled and my navigation is uncompleted.
any chance to get this runing by using the default permalinks?
thanks
frank
No. With the “default” permalinks WordPress turns off the internal rewrite rules, so the plugin will not work.
thanks for your reply. but the next questions would be, how can i make my site working with “numeric” permalinks? that is probably not really related to you plugin, but maybe you have an answer though.
when you see this
http://www.wds-institut.de/test
and click the navigation, that you will see that all pages link to an subfolder. i was able to fix the css problem, but still all images are missing and my subnavigation is missing too, because of the changed path.
thanks
frank
frank, it sounds like you need to make your image paths absolute instead of relative. Try using the WordPress bloginfo function to make absolute paths.
Thanks for this excellent plugin. I’ve got still the problem, that the feed doesn’t move with the blog into another sub-directory. So I#ve got the blog with help of your plugin in name.tld/blog/ and the feed is still at name.tld/feed/ instead of name.tld/blog/feed/.
How can I fix that?
And another problem: when using the get_posts tag in the new home page it doesn’t list the blog posts. Instead it lists the home page as many times, as there would be blog posts. The site: http://motopaedagogik.eu
It’s German, but where it says “Die letzten Artikel” (the latest articles) on the right side, there it should list the two articles instead of two times “home”.
I would like the homepage to use home.php, and the weblog to reside at http://www.site.com/weblog. However, http://www.site.com/weblog seems to pick up the home.php template instead of the index.php…is that to be expected? Can I make the homepage use home.php, and http://www.site.com/weblog use index.php instead?
Thanks, Susan
I’ve updated the plugin to address Martin Heigl’s feed question and Susan’s home.php problems.
Thanks very much! But with the Changes for Susan in the function set_is_home() it doesn’t work for those, who want to have another template than index.php for their start page, anymore. Therefore I took that function from the “old” version.
Do you have any idea concerning my second problemfrom above?
filosofo,
This morning I downloaded 0.74 and FTP’ed it over 0.73. I’m not sure if that is the correct way to upgrade a plugin. I noted under Plugin Management that it now shows as version 0.74. However, I still see the same problem. You can see the site under development here:
First of all, thank you for the help, and even moreso for the quick help to my question. I should back up and point out that this is my first WP site, so I’m wading through uncharted (for me) waters.
http://dev3.netblazon.com/
The weblog is here:
http://dev3.netblazon.com/weblog/
However, the weblog should show the normal last X number of posts (currently there are only 2 posts, not counting 3 posts in the “calendar events” category that only appear for the Event Calendar plugin). Unfortunately it’s still using the home.php template.
Options for Home-Page Control are “Wordpress Default” and “weblog”.
I didn’t want to use a page for the homepage, because (1) the page editor tries to mangle an empty div tag in the source code, and (2) the homepage uses a slightly modified header.
Thanks!
I should have said that you’ll probably need to re-save the plugin’s settings under Options > Home-Page Control, in order to clear WordPress’s permalink cache.
If both of you do that with version .74 and you’re still having problems, please let me know.
Just tried that, even changed the settings, and then changed them back just to make sure. I still have the same issue. Since this is just a dev site I can grant you access if you want to try it. If you need FTP access I’ll need a few hours to have my host set up a limited account with access to just that part of the filesystem though. Let me know what would help…I’ll grant whatever is needed. Thanks!
PS – just to make sure I triple-checked the plugins page to make sure it said 0.74
Okay, I inadvertently introduced an error into version .74. I’ve put back version .73 until I can fix the mistake in .74 later today. Sorry about that.
Hia Filosofo:-)
Im using .74 of this neato plugin. Im not sure if this is the case, but it seems to me that the plugin ignores my page template. It uses the index.php instead of my edited template for the front-page. If this is the case, is there anything i can to do to make it use the template for my front page?
My permalink strukture is;
/archives/%post_id%
And the Blog Directory is empty…
Regards
Jon Kristian
Whoops. I missed that last post of yours, turning back to .73 fixed my problem. Thanx.
Try version .75–I think I’ve fixed the above-mentioned problems.
No, it still ignores the page template for the front page…
Jon, could you describe in more detail the problem? Are you saying you have a home.php file in your theme that is not being used for the “home” page?
When you say “the Blog Directory is empty,” do you mean the blog directory field under Options > Home-Page Control is empty or just that an actual directory of that name does not exist in the file system? Have you selected a page for Home-Page Page under Options > Home-Page Control, or is it set to “WordPress default”?
It’s a template file for the page called home, which i set to be the front page in your plugin. The problem is, that the template;
It doesn’t get picked up by the plugin, s the page uses the index.php instead of that template.
I hope you understand more now…
.73 works though, i have no problem with it…
Ah, I see. I wasn’t thinking that anyone would be using a template other than home.php. Version 0.77 of the plugin should now choose from the following list the first template file that exists:
home.php
[whatever custom template you've assigned to the home-page page]
page.php
index.php
Yes. Im not sure if this is true, but the reason i made a page and a page template is that i thought making a home.php makes it impossible to edit from inside the wordpress admin area?? The people running the site needs to be able to change content easily, can one do that when using your suggestion?
home.php is just like any other template file (such as page.php, single.php, index.php, and custom files), in that whether it uses editable pages is up to you. It differs from the others in that it is used only when is_home() returns true.
Ohh, I c, thank you for the explaination, im gonna do that
And thank you for a great plugin!
Regards
Jon Kristian
This looks very interesting and exactly what I have been looking for for some time. I will look into in soon… thanks in advance
I too wanted to thank you for the plugin.
I do have one issue. It seems that the WP function is_home() does not work anymore. I was hoping to use the is_home() function to access the new blog URL, but it is always returning false regardless if I am on my new home page or my blog. This function is needed to highlight the tab of the current page.
Here is a code snippet I was trying:
blogs
blogs
Any ideas?
Thanks,
Jim
I forgot my code tags on the last past for my example code. Here that is again…
< ?php if (is_home()): ?>- blogs
- blogs
< ?php wp_list_pages('..'); ?>
< ?php else : ?>
< ?php wp_list_pages('...'); ?>
< ?php endif; ?>
Jim, I can’t reproduce the problem: the code you provided works for me.
Is the address in “WordPress address (URI):” under Options > General the same as your “home” page?
filosofo,
Thanks for the quick reply! The WordPress Address (URI) is set to my site’s default page which is currently a static page that I designated via your plugin.
So I guess the issue is that I need a way to capture that I am on the blog page which is no longer my default or “home” page. I was hoping the “is_home()” function would still do this. If the “is_home” actually captures my new static home page and my blog does not have a page id because it really is not a page, how do I do this?
My goal is to have a site with dynamic tabs where the home page is static and the default Wordpress blog is a different tab.
If I’m understanding you correctly, you want the lists above to appear on your blog’s main page, but not for single posts or pages.
In that case, you should replace “
is_home()” with “!is_single() && !is_page()“I apologize for not being clear.
What I am doing is using tags to create header tabs.
In WP, when you call the wp_list_pages() function, if will create a list of every active page on your site like below:
WP automatically lets the browser know what list item is the current page by giving the current page a class of “page_item current_page_item”. So in the above example, the user clicked on the “About” page. Since the class was updated, we are able to highlight “About” to the user to let him know what the current page is.
By default, the WP home page is not a page at all, so it is not included with the wp_list_pages() function by default. We get around this by using the is_home() function to determine if we are on the home page.
However, with this plugin, our home page is now an actual page in our wp_list_pages() list, but the blog page still is not part of this list. If we can no longer use the is_home() function for our blog page, how do we determine if a user has selected the blog url?
Here is an example where the tabs work because the home page is my blog: http://www.cyfairrealestate.com/
Here is the current site I am working on where the home page is static and the blog is under a different tab. You will notice that I am unable to change the display of the “blogs” after it is selected because I am not sure how to determine that: http://www.praexis.com/wordpress/
You have been more than generous with your help already. I really do appreciate it.
Try what I suggested above, i.e.:
< ?php if (!is_single() && !is_page()): ?>
< ?php wp_list_pages('..'); ?>
< ?php else : ?>
< ?php wp_list_pages('...'); ?>
< ?php endif; ?>
The “blogs” line will show up on the blog main page with the “current_page_item” class.
another Workaround:
if(wp_title(”, false)){
}
else {
//former is_home()-area
}
filosofo! You Rock!!! I obviously should have listened to your suggestion the first time around, but I thought we were talking about different things.
I added the if (!is_single() && !is_page()) code and it worked like a champ!!!
I really do appreciate all of your help! I never would have figured this out my own.
Hi there. I installed your plugin about an hour ago, but I am now having some serious problems getting things to work properly.
I have wordpress installed in a directory called blog, and I followed the instructions here to link the root (www.orangeacid.net) to it. Then i insalled your home page tool and set the directory of the main blog page to ‘blog’ and updated the permalinks accordingly.
However, both the permalinks and the /blog/ directory now give the following error:
Warning: main(./home/orangeac/public_html/blog/wp-blog-header.php): failed to open stream: No such file or directory in /home/orangeac/public_html/blog/index.php on line 4Warning: main(./home/orangeac/public_html/blog/wp-blog-header.php): failed to open stream: No such file or directory in /home/orangeac/public_html/blog/index.php on line 4
Fatal error: main(): Failed opening required ‘./home/orangeac/public_html/blog/wp-blog-header.php’ (include_path=’.:/usr/local/lib/php:/usr/lib/php’) in /home/orangeac/public_html/blog/index.php on line 4
Do you have any idea how I can get around this? I got it at one point to work so that permalinks displayed the main blog page, but this obviously isn’t what I intended.
Any help would be very much appriciated.
Thanks,
Dan Foy
Dan,
In your blog’s index.php file, you either need to leave off the “.” and go with the absolute path like so:
require('/home/orangeac/public_html/blog/wp-blog-header.php');or you can use the “.” and have a relative path like so:
require('./blog/wp-blog-header.php');But when you try to do both, you’re pointing to a file at
/home/orangeac/public_html/home/orangeac/public_html/blog/wp-blog-header.phpwhich I bet doesn’t exist.
Thanks man
Perfect plugin
Great customer service too lol. Much reccomended
Installed the plugin but somehow I get the blogs’ sidebar in my new (static) homepage but this sidebar has now disappeared from the blogshome, where I actually want to have it.
Somebody out there to give me the hint how to change this?
thanks,joost
Joost, there’s probably a conditional statement deciding whether the sidebar appears that looks something like
if (is_home()). Replace that withif (!is_single() && !is_page()).I’ll add my enthusiastic thanks for this plugin to the other ones here. (Had been using a different static-home-page plugin, but it wouldn’t do both home page and blog, too.)
I see the above-mentioned comments about adding a link to “Blog” with the wp_list_pages() function. That gets me to about 95% of the way to what I want to do, except (you knew this was coming, right?) for the order.
I’m using the argument to list pages by menu order, so that I can list pages a certain way:
[Home | About Me | Clips | Resources | Contact]
That means that I’d have to list blog either before the list or (more probably) after the list. What if I want to insert Blog into the list as item #2, like so:
[Home | Blog | About Me | Clips | Resources | Contact ] ?
Is that possible?
Er, in answer to my own question, here’s a way I solved it. I think I’d have to make another set of IF statements for the if it’s home, then sort the classes this way or that way.
Navigation
< ?php if (!is_single() && !is_page()): ?>
< ?php wp_list_pages('exclude=70&sort_column=menu_order&title_li='); ?>
< ?php else : ?>
< ?php wp_list_pages('exclude=70&sort_column=menu_order&title_li='); ?>
< ?php endif; ?>
Comments?
Has anybody here been able to get this plugin to work with the Email Notification plugin, as well?
What seems to be the problem, Susan?
With your plugin all on its own, nothing…. But I also tried installing the email notification plugin, and it doesn’t work. (or it works in spotty fashion) I tried disabling all the plugins to see if there was any change with the Email Notification Plugin. Nope. I didn’t go so far as to figure out how to purge the htaccess, as the home and blog still worked as though Home Page Control were still active.
I have no idea if invoking the plugin in the page headers of a file would make something work, or if toying with home page and blog page in a separate directory would interfere with the workings of it. So I thought I’d come by and inquire.
Hi there, I’ve installed this plugin and it rocks. I have just one problem. The rewrited URL’s for the feeds are not working for me. My setup is very simple:
http://url.com/ -> main site
http://url.com/blog -> blog
The rewrited feed are
http://url.com/blog/feed/ (give me a 404)
http://url.com/comments/feed/ (works nicely)
Any idea? 10x
Fred, good point. Links like
http://url.com/blog directory]/feed/rsshave been working, but not just[blog directory]/feed/.I’ve fixed it and uploaded it as version .78.
You can even see it working here on my blog:
http://www.ilfilosofo.com/blog/feed/
After you upload the newer version of the plugin you’ll need to re-save your blog directory under Options > Home Page Control in order to flush WordPress’s rewrite rules cache.
Cool
Thats a nice plugin and I think I will install it right now…
I’m using a custom page template and it’s not recognizing it. I even changed all my pages and edited the default page template – still not working.
home page is http://secret-pal.com and I have it set to point to http://secret-pal.com/front
I’m using WP 2.0.2 and 0.7.8 of the home page control plugin. What do I do to fix it?
Ok,I got it figured out. I took my template for that “page” and put it in my home.php file. Simple, and only stumbled upon the fix by accident. But hey, it’s there and it works.
Great plugin – does exactly what I wanted/needed! Kudos!
Hi there, My host server just recently moved the website to another and what was working perfectly is now not working at all and I am not sure how to fix it. I have a “home” page that is linked to their index page (cdcwestern.ca) and as well I would like the “about page” to be the page people see as soon as they enter the wordpress portion. Finally, now I cannot get the blog page to show. Any thoughts? My pages & catergories seems to be mucked up as well.
Kimberly, my guess is that the WordPress .htaccess file didn’t get moved to your new server.
Thank you for your response. I did create another.htaccess file and it does have the information in it, but I still cannot get the permalinks to works correctly nor open to the about page instead of the blog. So I am changing the links in their main site to open to the about page directly. I have this plugin in my own business site, but I just can’t seem to get it to work now for cdc.
Thanks
Kimberly
OK, so I’m very new to WordPress, and struggling a little, but your plug-in is exactly what I was hoping to find. I’m having trouble figuring out one aspect, however. I’ve scanned these comments, and I don’t believe this is answered yet (sorry if I just missed it).
I’ve made a Page, called Home, and it comes up when you first navigate to the site. It uses the home.php template that I created, from which I’ve removed the sidebar and footer. (I will add a link to the blog back in later.) To reach the blog right now, I use http://www.twigbud.com/blog, which works great. So far, so good.
The problem is that then, in the sidebar on the Blog page, I get a list of Pages, currently consisting of one Page, namely the Home Page that I created. Great. But when I click that link, it goes to http://www.twigbud.com/home, which shows the Home Page, but instead of using the home.php template, it uses the default blog template instead.
What I would like to have happen, is when you click that link, it simply takes you back to the root directory (http://www.twigbud.com/), and displays my Home Page, in the correct home.php template.
Is there a way to do this? And thank you so much for a wonderful piece of software that makes all of our lives easier!
Kimberly,
You may just have them turned off temporarily because of the problems you’re having, but permalinks can’t be de-activated (i.e. set to “Default”) if you want this plugin to work.
I also noticed that your “blog” link seems to be showing some PHP, which shouldn’t be happening, so perhaps you’re missing some
< ?php ... ?>tags somewhere?Michael, I’m guessing that you’re using the function “wp_list_pages” to show those page links. To replace http://www.twigbud.com/home with http://www.twigbud.com/, stick the following at almost the end of the plugin file (but right before the
?>):add_filter('wp_list_pages',create_function(’$a’,'return str_replace(”http://www.twigbud.com/home”,”http://www.twigbud.com/”,$a);’));
I’ve uploaded version .79 to fix a feed bug.
This plug-in does exactly want I want to do (thanks), but I’m having some problems with implementation.
I’m trying to set it up as:
http://www.gptshop.com
http://www.gptshop.com/news/
It seems to work ok with the default wordpress theme, but behaves strangely with K2 – it looks like it wants to have both ‘home’ page and blog as the homepage. The menu bar link ‘blog’ has the URL as http://www.gptshop.com and the link for page ‘home’ is http://www.gptshop.com/home/.
As far as I can tell, I have the permalinks set correctly as: /http:/gptshop.com/news/sample-post/
Any advice/help would be welcome
Daryl, look in the header.php file in the k2 directory, and I think you’ll see that it’s hard-coded to link “Blog” to the “home” url (the link is
< ?php echo get_settings('home'); ?>)So you’ll have to edit the header yourself to point to the correct urls.
Hi, I’ve just instaaled the plugin and it’s mostly working great, except that I’m having the same problem as Steve way back in March:
You advised to:
However my PHP skills are somewhat shaky, so I was wondering exactly how one did that. I’m using the Blix theme.
Thanks!
If you want to make a menu link to the Blog/News section, make an empty page with the same name as the blog e.g. “Blog”. The menu link will appear but it will go to the blog, not the empty page.
Thanks for your reply Kris. I figured that bit out, but what I can’t work out is how to make the sidebar (with links, categories etc) appear on that new blog page. Any ideas?
Matt, the sidebar doesn’t show up on the /blog page because there’s this line in the sidebar.php file of the Blix theme:
< ?php if (is_home()) { ?>That tests to see whether it’s the “home” page before showing the sidebar, but when you’re using this plugin, the /blog “directory” is no longer the “home” page.
So to show the sidebar in the /blog directory, try changing
< ?php if (is_home()) { ?>to something like< ?php if (!is_single()) { ?>Hi filosofo, thanks for your help – that worked a treat. Matt
Nice plugin
Question: I’m using http://www.adsworth.info/wp-pagesnav to output a list of pages for my navigation div. The url for my homepage still appears as /home/ in this list… is there anyway around this?
Keep up the good work
3stripe
What I meant was, the url for the homepage should really point to the root, and not /home/ … if that’s possible?
3stripe, try adding this to the bottom of the plugin, right before the final ?>:
add_filter('page_link',create_function('$a,$b','$c = get_option("filosofo_hpc"); if ($c["pageselected"] == $b) { return get_settings(”home”); } else { return $a; }’),10,2);In fact, I like it so much I think I’ll roll it into the plugin.
Coolio
Hi,
I love your plugin but I’m having problems! (My own fault, I’m a beginner)
Either I can have a front page, OR I can have a blog. Both together simply don’t work after hours of trying. I put the blog in “/site” (according to the WP tools, though there’s no such directory in FTP for some reason). I called my static front page “index.php” and put it in the root directory and in my template’s folder under the same name. It works.
BUT when I have the static front page, going to “/site” in Firefox just gives me the very same static front page! It’s like the blog disappears! The same thing happens if I try to surf to one of the category permalinks. Why??
Thanks so much! I can see from the previous questions you really take care of the people who use your software!
Best,
Alex
I’ve installed the Home Page control on my windows IIS hosted blog, but the selected page does not display as the home page.
you can see the content here: http://dev.dreamlablearning.com/?page_id=4
but it doesn’t appear here: http://dev.dreamlablearning.com/
is there a workaround to fix this, as i assume this is an IIS issue?
any help would be appreciated, as i need to host this site on an IIS machine.
Alex, I’m surprised what you did worked.
At any rate, the point of my plugin is that you don’t have to create static front page files and put them anywhere. If you’re going to do that and put the blog in another directory like “/site,” then the plugin is of no use.
Instead, you can have WordPress in the root directory (although that’s not necessary). Then when you activate the plugin, go to Options > Home-Page Control in the admin control panel, and under the drop-down list “Home-Page Page:” choose which page you want to be the home page. Then enter “site” into the field labeled “Blog directory,” and press “Save.”
What will happen is that the static page you chose to be your home page will appear as the root of your site, say at example.com, and your blog entries–called “posts” in WordPress jargon–will appear at example.com/site/.
So putting files in certain directories is not necessary. However, if you do want a special template just for the home page, you can do that too. See the first FAQ above.
Rich, permalinks must be activated for this plugin to work, and because I can see links on your site like “?page_id=4,” I know that currently you do not have permalinks activated. (This is a little confusing under Options > Permalinks, because “Default” should say “off”).
Activating permalinks for IIS is not as easy as it is for Apache, but people have done it. Perhaps these links might be of help.
hey, thanks for the tips, i’ll give them a try
rich
Hello there, I am using your plugin. I activated it followed your instructions and created a page called home which is loaded by default. I put some content on it but it comes up looking like a post rather than a page, with a date, options to add comments etc, I’m not sure what I have done wrong and how to fix it. If anyone could help http://www.klausbravenboer.com, cheers Klaus
Klaus,
I think that’s happening because your theme, plaintxtBlog, has a home.php template in its directory. That means that it’s going to use that file for the home page, and so it’s going to follow that template rather than the pages’ template, page.php.
A simple fix to make your home page use the page.php template is just to rename home.php to something like _home.php so that WordPress doesn’t see it.
I loaded your plugin and followed your directions but now i don’t have anything listed under catagories when what i really wanted to do was to see all of my catagories on my homepage.
BTW: thank you for this plugin
karie,
If the link in your name is the page in question, you’ve got something odd going on with your permalinks prefix: it looks like you’ve surrounded “blog” in
tags.Yep that was it! but now i only see one of my catagories (like i did before i loaded the plugin) when i really have 3 so far.
karie, WordPress displays only those categories which have been assigned to published posts.
Thank you, I see them now…
Hello and thanks for this plugin. I have installed it and successfully manged to change my homepage to a static page. How do I now create a link to my blog?
Thanks again.
Gareth,
If you made “blog” your “Blog directory” under Options > Home-Page Control, then you would need to link to http://www.yoursite.com/blog
Hmm, Are you saying that wordpress files need to be in a sub directory for this to work? Currently they are not.
Gareth,
Please see #2 under the installation instructions above: it’s not a real directory, it’s a pseudo directory.
So, no, the files don’t have to move.
Great, works now thanks.
Hello,
I’m having a strange problem with this plugin. I use the Wordpress Default theme and I have modified it for my needs (it doesn’t look anything like the original theme). When I don’t have the plugin on, it shows the blog posts on index.php and everything looks right. However, when I put the plugin on and put “news” as my blog directory and go to the address mydomain.com/news, everything goes wrong. For some reason it displays the stylesheet, background, headerimage etc. of the original default theme and it also displays the whole original sidebar (pages, categories, blogroll etc). I don’t understand how this could be because I have modified those files and I’ve removed the sidebar. So where do they come from and why?
Why won’t my own modified files show up?
Thanks very much!
Oh yes, and I’m using version 2.0.4, a Finnish translation.
It’s me again, sorry.
I just noticed that it works if I write mydomain.com/index.php/news. Maybe the problem is with the permalinks? I’m not very good with these kinds of things. My permalink structure looks like this /news/%year%/%monthnum%/%day%/%postname%/ and my .htaccess has this
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Maybe I should modify that somehow? Thanks again and sorry to bother you.
Essi,
My first guess is that your theme still has the original “index.php” file in it, and that file is being used when you request the “news” directory.
Hmm. I only have one index.php in the theme’s directory and it’s the one I’ve modified. At least I can’t find anything else. :/
Hi, I don’t know if you got my last comment, it said something about spam protection and my message is being reviewed (?) and you should be notified.
Anyway. I’m not sure what you mean, but I only have one index.php in the theme directory, and it’s the one I’ve modified. I’ve no idea what I should do. :/
If you want, zip up your theme, email it to me at (if.website@gmail.com) if.website (located at) gmail (dot) com and I’ll try to figure out what’s going on.
thanks
Good Morning – as you can tell ‘I don’t have a clue’! I had to load a new install to get Wordpress MU – so I’m starting over and forgot to write down the permalink code. When you go to my site all you see is the sidebar and menu items but what i want to see is category 1 + the sidebar. I’ve tried a bunch of different templates and i’m getting the same thing with all of them.
The last time I made a change on both permalinks & Home-Page-Control without having to make a new static home page
Thank you for your time!
Karie
Hello Karie,
Would you try again to explain what it is you’re wanting to accomplish? Right now I don’t understand what you mean.
Are you saying that on your home page, you want only those posts categorized under category 1 to show up? If so, then you’re trying to do something different from the aim of this plugin, the aim of which is to make one page—not a number of posts—appear on the home page. You might have better success with this plugin.
Mr. Filosofo,
I am baffled. After, many hours/days trying to setup the Home Page/Blog Page scenario that your plugin is supposed to enable, I just can’t seem to get it done. With your plugin deactivated, my blog posts show up on the http://www.mydomain.com page, as I believe one would expect. All static pages also appear as they should & are accessible. After activating the plugin, the static “Home” page appears when the http://www.mydomain.com link is invoked, the other static pages are also accessible, a link to the “Blog” page appears in the Navigation Bar, but it points to http://www.mydomain.com. I can change the mapped pointer in the plugin to blog or leave it blank, and I get the same result. Being new to the LAMP stack, I can’t troubleshoot this very effectively, although I have tried. Any ideas you might have would be immensely appreciated.
Can you explain how you’re generating the link to the blog page? What theme are you using? Do you have a link so I can see this problem in action?
I’m not sure what you mean when you ask how I’m generating the link to the blog page – I assumed that the actions described above would generate the correct linkages, as I believe I have followed your instructions to the letter. If you’re asking about my Wordpress install, it is hosted by siteground.com and was auto-installed via Fantastico. My website is http:\\www.newgroundtech.com and the theme is Spring 1.1.1 obtained via the Wordpress Theme Viewer or at the creator’s website – http://iqwolf.org/wordpress-themes/.
Hope that gives you enough to go on and I appreciate your helpfulness.
Jim
Jim, most themes don’t link to “blog.” This theme’s author has made the “blog” link to point to the home page, whatever that is.
So your easiest solution is to edit the spring theme’s header.php file and change this line from
>< ?php _e('Blog'); ?>
to
>< ?php _e('Blog'); ?>
(assuming your “blog directory” is “/blog”).
Austin,
That’s a big step in the right direction, as the virtual directory “/blog/” now appears in the URL, as does the “blog” page configuration that includes the sidebar with recent post titles. The posts themselves, however, do not appear.
I’m also wondering if my index files might be screwed up, because when I replace the Spring Theme with other themes (like the default, Kubrick, or K2), I don’t get the blog directory or blog posts. I currently have the theme index file, which remains as originally provided:
< ?php get_header(); ?>
< ?php get_sidebar(); ?>
< ?php get_footer(); ?>
In addition, there is an index file in the actual \wordpress\ directory that contains the following:
< ?php
/* Short and sweet */
define(’WP_USE_THEMES’, true);
require(’./wp-blog-header.php’);
?>
and an index file in the root server directory, which is published at the domain name URL, http://www.newgroundtech.com, that contains this code:
< ?php
/* Short and sweet */
define(’WP_USE_THEMES’, true);
require(’./wordpress/wp-blog-header.php’);
?>
If the index files, aren’t the issue, it must still be something other than a theme issue, because I get the same problem with all themes that I have tried.
Thanks again for your helpfulness.
Jim
Most themes are not going to show a separate “blog” page. That’s normal, because theme designers aren’t expecting you to use this plugin; they’re expecting your blog to be the home page. Even the designer of the “spring” theme makes this assumption, having the “Blog” link always point to the home page.
All that to say, what you’re seeing when you activate other themes is expected behavior. If you want a link to “/blog” in most themes, see the instructions above in the FAQ #4.
The reason http://www.newgroundtech.com/blog/ is blank is that the “spring” theme has a very unusual template structure; most of the heavy lifting is done in a theme file named “theloop.php,” and there the designer assumes that blog entries will be on the “home” page. That means that when you put the blog entries elsewhere, the theme balks.
So the “spring” designer’s assumptions about the home page and unorthodox and overly complicated theme structure combine to make the “spring” theme intolerant of the kinds of changes this plugin makes.
Hi, Just a few days ago, an acquaintance recommended Home-Page Control to me and I have been really impressed.
I’m having problems with the display of the menu.
I installed & activated the Home-Page Control. Then I enabled permalinks as “/blog/%year%/%monthnum%/%category%/%postname%”
After that, I created the pages Home (page slug ‘home’), About (page slug ‘about’), and My Blog (page slug ‘blog’).
With that configuration, when you land on http://www.ronjones.name both “home” and “blog” show as the active page, “about” seems fine, and “my blog” returns a 404 error when you click on it. (every page has a comment box at the bottom, which I would like to keep).
I believe I’ve narrowed it down to the navigation section in the header of the template, which reads as follows:
< ?php
if (is_home()) {$pg_li .=”current_page_item”;}
?>
< ?php wp_list_page('depth=1&title_li=&exclude=143' ); ?>
In the above code, I noticed the theme author inserted a link to “blog”, so I changed it to:
In post 146, you advised making some changes to a template that displayed the “blog” menu item.
So, I changed
< ?php wp_list_page('depth=1&title_li=&exclude=143' ); ?>
to
>< ?php _e('Blog'); ?>
with this change, “home” and “about” seem ok, while “blog” is still there and (along with “my blog”) when clicked on, gives a 404 error.
Can you make any suggestions?
Thanks,
Ron
Ron, as far as I can tell from looking at your site, you haven’t made any posts yet. That seems to me to be the most likely cause of your 404 error on the “My Blog” page–there are no posts to be found.
lol… well, posting something to the blog got rid of the 404 error. Doh!
I tweaked the menu just a little, so that what was:
< ?php
if (is_home()) {$pg_li .=”current_page_item”;}
?>
< ?php wp_list_page('depth=1&title_li=&exclude=143' ); ?>
is now:
< ?php wp_list_page('depth=1&title_li=&exclude=143' ); ?>
But for some reason, I’m still getting a “ghost” of the old “blog” menu item. Do you have any idea how I can get rid of that and (if possible) order the menu items?
Thanks,
Ron, I’m not seeing the “ghost.” Is it possible you’ve already fixed it?
Yes, sorry it took so long to post the fix. But for those who may also use “light 1.0″ by Stephen Reinhard at vaguedream.com, what I did to get rid of the “ghost” was change the navigation area in the header
FROM:
< ?php
if (is_home()) {$pg_li .=”current_page_item”;}
?>
< ?php wp_list_page('depth=1&title_li=&exclude=143' ); ?>
TO:
That theme uses its own function, wp_list_page, which is defined in the theme’s pagefunctions.php file. It seems very similar to WordPress’s wp_list_pages function, which allows all kinds of parameters, including the “sort_column” parameter.
In other words, if you change
wp_list_page('depth=1&title_li=&exclude=143' );to
wp_list_page('depth=1&title_li=&exclude=143&sort_column=menu_order');you should be able to change the order in which the pages are listed, by adjusting their “Page Order” in the appropriate blue box in the right margin of each of their edit screens.
I can activate the plugin, and see the interface, but when I try to set up the Homepage Page, I get a blank screen with this message :
Impossible de charger filosofo-home-page-control.php.(impossible to load)
Any idea what could cause this problem ?
(WP 2.0.4)
Philippe, the filosofo-home-page-control.php file needs to be in the plugins directory, not in a sub-directory.
That”s it. Works fine now, thanks a lot.
Hi – I have four WP sites hosted on my ISP account. I have the plugin running successfully on one of the sites. I would like to be able to use it on the other sites but I can’t seem to change the .htaccess file (to make permalinks) without making a major conflict with permalinks. Is it possible to run it on all of the blogs? Thanks
Andy, you do have to be using permalinks for this plugin to work. Since you’re having trouble setting up permalinks on some of your blogs, I recommend asking for help in setting them up at the WordPress support forums. Once they’re working properly, you can use this plugin.
Hi there,
I was going to post this on the WP support forum but as you seem to provide a lot of support here I thought I’d try here first. I am getting a 500 Internal Server Error message when I try to view my sub-pages after activating this plugin, eg:
http://www.vaguely.org/blog/
http://www.vaguely.org/contact/
…and when I try to call up the main page, vaguely.org, I just get the generic “index of/” page.
I think the problem’s something to with my .htaccess file but I’m not exactly sure what’s wrong. Can you help?
This is what’s in my .htaccess file:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Maxine, before you activated this plugin, had you gotten permalinks to work? Seeing the “Index of /” tells me there may be something wrong with how your PHP is configured, and that’s something your host will have to address.
Thanks for your reply.
Before I installed and activated this plugin, I used to have my blog and my WP installation in a separate directory called /blog, and I used the permalink structure:
index.php/blog/archives/%year%/%monthnum%/%day%/%postname%/
My .htaccess file was empty because using that permalink structure didn’t require rewrite rules.
I think you should solve one problem at a time. So the first step is to deactivate the plugin and get normal permalinks to work now that you’ve moved the blog to the top-level directory.
It may be that your host has not turned on the mod_rewrite rules, so you can’t use an .htaccess file at all. You should see if that’s what has happened; ask your host or check your hosting documentation or support forums.
I’ve deactivated the plugin, and normal permalinks seem to work.
http://www.vaguely.org/archives/2006/09/05/random-silliness/
I’m getting an error message at that link.
Now I see it.
You don’t have the Semiologic static front page plugin activated at the same time as mine, do you?
Hey Filosofo,
I’m currently trying to get your plugin to work with my modified K2 theme… I was hoping you’d be able to help me out?
I’ve uploaded the plugin and have got the permalinks working, i’m just having a bit of trouble with the menu.
http://furydesigns.com.au if you’d like to take a look… any idea how i can fix this mess
Nneon, what was the problem? Things look pretty good to me now.
Okay,
I’ve got the menu fixed thanks to a previous comment… didn’t find it earlier, probably cause you have 160+ comments
Now I’m trying to iron out a few bugs with my theme… if you go to an indivdual post, nothing in the menu is selected as the current page… is there a way i can make this the “blog” tab.
Also, when i click on the tags nothing is displayed, this may have nothing to do with this script but i thought i’d write it here just in case.
thanks
The tags problem was fixed thanks to an update of the permalinks.
I still can’t figure out how to do two things.
1) The sidebar on the main page of my blog is different to the rest, do you know what I need to change to fix this? http://furydesigns.com.au/blog/
2) I still can’t work out how to make each indivdual post select the blog tab as it’s current page? http://furydesigns.com.au/2006/09/15/firefox-extensions/
when you click on the tags… the blog tab is selected… when you go through the archives the blog tab is selected… the problem just seems to be with the post itself?
Even if these two issues can’t be fixed… I love this plugin.
Thanks Filosofo
It’s probably using the index.php template file whereas the others use page.php or single.php.
My guess is right now the “Blog” link is being generated by the wp_list_pages() function. Try excluding that page from that function, and just hard-code it into the header.php template file. Then, just as the “Home” link tests to see whether it should be highlighted, use a test of perhaps “
is_single() || ( ! is_page() && ! is_home() )” to identify when it should be highlighted.Problem number 2 has been fixed, as far as I can tell… I didn’t exclude the page from the function, just changed the following code in my header.php file.
< ?php if (!is_single() && !is_page()): ?>to
< ?php if (is_single() || ( ! is_page() && ! is_home() )): ?>Seemed to do the trick.
Thanks again, you’re a Genius
Thanks Filosofo, the tabs are working now.
I’m sorry to be a pain but no i’m having issues with the page titles. All is well until you click on a tag archive or category.
here’s the code that i have in the header so far:
< ?php if (is_home()): ?>< ?php bloginfo('name'); ?>
< ?php else : ?>
< ?php wp_title(''); if (function_exists('is_tag') and is_tag()) { ?>Tag Archive for < ?php echo $tag; } if (is_archive()) { ?> archive< ?php } elseif (is_search()) { ?> Search for < ?php echo $s; } if (!is_single() && !is_page() ) { ?>Blog at < ?php } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists('is_tag') and is_tag()) or (is_archive()) ) { ?> at < ?php } ?> < ?php bloginfo('name'); ?>
< ?php endif; ?>
Nneon, I’m not seeing the tag archive or category titles problem. When I click on “extensions” the title is “Tag Archive for extensionsBlog at at Fury Web Designs,” which looks about right except that you need to add a space. Is that the problem you’re talking about?
Nah that is the problem… I don’t want it to say “Blog at” unless you’re on the main blog page.
“2006 September archiveBlog at at Fury Web Designs” should be “2006 Septermber archive at Fury Web Designs”
Same with the tags and categories. The Firefox category should read:
“Firefox archive at Fury Web Designs” instead of “Firefox archiveBlog at at Fury Web Designs”
If you know how to achieve this that would be great, if not… thanks for all your help anyways.
You probably need to change
if (!is_single() && !is_page() ) { ?>Blog at < ?php }to
if (!is_single() && !is_page() && !is_category() && !is_archive() ) { ?>Blog at < ?php }Hi, I`m using Filosofo Home-Page Control and I like it very much. Thanks for the nice plugin. Unfortunately I changed my url design a few months ago. Now I seem to face the problem that Technorati does not accept my pings anymore. Could it be possible that the ping problem has something to do with my url changes? The blog itself works very well with your plugin. But I can not find out why the pings do not work anymore. Neither manually on the technorati page nor on the normal way.
Oliver, on Technorati it looks like you have registered http://www.shopping-mit-service.de/shopping-blog/ but not http://www.shopping-mit-service.de/. Now that your blog root is http://www.shopping-mit-service.de/ you should register that at Technorati, too.
Ups? I will make a test. Would be great if it`s easy like that.
But I wonder why I have not been able to ping a single post (url) using the manual ping service on technorati.com. Thought this would have to work in every case. Again. It would be great if it`s only a root url (register) problem. Thanks a lot for the quick response!
Hmmm… mission impossible. I can`t change my blog details with Technorati myself. This seems to be a bug on technorati.com. I tried to delete my blog information and claimed the blog again (which took me several hours) but it`s not possible to change my url there. Otherwise they can not find my blog or just do not accept it so that I get an error message but no claim. May be it`s a caching problem on technorati.com?
Hopefully their support can do the changes for me. I explained the problem by email telling them that I changed my system using the Filosofo Home-Page Control Plugin now, so that my url has to be set to root instead of pinging a directory which is only a virtual one, now.
Never touch a running system? Until now I don`t think so.
I will keep you informed if I find a way to solve the problem.
This is one of the best Plugins i found! This one should be implemented as a standard within the next release of WP! Thanks for this great plugin!!!!
DH
The Netherlands
Thanks, Daniel. Actually it is part of the core code in the next release of WordPress, which is in alpha now, version 2.1.
The web site I’m working on is now completed, with the help of filosofo home-page control I get exactly the organization I wanted. Thanks again for this great plug-in.
There’s still a small detail I can’t figure out. The web site is http://www.chambly-horseball.fr. The left column is a list of pages, highlighting the current page. Highlighting works for standard pages (i.e. Le Poney club), but not for the “filosofo home-page” (Bienvenue), and when the standard blog index page is called (Actualites), both Actualites and Bienvenue are highlighted.
If you have any clue on how to fix that…
Just in case, code calling the page list :
Sommaire du site :
< ?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>- “>Bienvenue
- Actualités
< ?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=27,38'); ?>
philippe
The problem with your highlighting code is that “is_page()” returns true whenever you’re on a page, meaning that the highlighting class of “current_page_item” is going to show up for those two lines any time you are on something that is not a page. So when you are viewing posts (which are not pages) under Actualits, the highlighting class appears.
Instead, you should try something like the following, where 345 is the page ID for your home page (Bienvenue) :
I understand
Your code returned a parse error unexpected T_ECHO
I tried a number of things now that you pointed in the right direction (I don’t know anything about php, so it was just guessing !), and came up with something that works.
For the record (page 27 is the homepage):
Sommaire du site :
< ?php if (is_page(27)) { $highlight = "page_item current_page_item"; } else {$highlight = "page_item"; } ?>- “>Bienvenue
- Actualités
< ?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
< ?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=27,38'); ?>
I must say I surprised myself
I should play the lottery today !
Thank you very much for figuring out the problem, and congratulations for all the help given in this page.
Hi, I installed your plugin and it works fine having a static front page and a blog page. Is it possible to add 1 or 2 most recent blog post on the home page though along with some other content? And how do I get rid of the dates and stuff so that the front page won’t look like a blog post?
I tried to do a home.php with query_posts but it doesn’t work.
This is how it’s done on the website mentioned in comment # 171
(not my personal stuff, I got that somewhere, I think in WP Codex but I’m not sure)
Dernieres nouvelles de Chambly
< ?php
$how_many=5; //How many posts do you want to show ?>
< ? $news=$wpdb->get_results(”SELECT ID,post_title FROM $wpdb->posts- %s
WHERE post_status = \”publish\” ORDER BY ID DESC LIMIT “.$how_many);
foreach($news as $np){printf (”
“, $np->ID,$np->post_title);}?>
philippe,
That’s what I get for suggesting code without actually trying it out. Your solution using is_page() is much better.
mels,
How did you use query_posts in the home.php file? Calling
< ?php query_posts('posts_per_page=2'); ?>just before a new loop should give you the latest 2 posts.yes that works! but the contents of my page – “home” doesn’t show anymore. Do I save this as home.php or as a template?
This is what I put in my home.php
mels, you’re overriding your main loop. You need to have more than one loop to achieve what you’re trying to do. See this.
Oh i see… thanks a lot for the help and the plugin!!
I like the idea of the plugin greatly and its working. Having spent the past 6 weeks trying to crash my site (I have done so many times) trying different plugins and ideas to learn WordPress better I still have questions.
Question: As with the conversation just above, I also want a few current news posts on the home page, but also my editorial post for the day. I now have lost my editorial and want to add it back in. How can I swing this?
My ultimate vision for the site is various directories containing news from different continents cataloged to common key words, categories and tags
Question: What do you mean by “separate directory”?
Is this an idea I can use to meet my design goal?
Thank you for any and all help.
What did you do to lose it?
It sounds like you want a permalink structure like so:
/%category%/%postname%/That would create “directories” for each of your categories.
I think people people mean by “separate directory” that they have put their WordPress installation files in a sub-directory.
I just wanted to say a big thank you: this plugin is just what I needed to use WordPress on a new website, which is *not* a weblog — oh dear, the shock
Do I HAVE to set a “directory”?
“The ‘Home-Page Control’ page says: Select which page should open when someone requests http://centos.securenet-server.net/~phoenx/HumanDevelopment/.”
That is all I want. But when I set it to a Page of my choosing there is no effect: the default Post page opens. Do I have to make the address of the site longer still by adding another ‘directory’ to the end of it? Or is something else wrong?
Thanks.
Robin, your problem is that you’re not using permalinks. See installation step #1.
Filosofo, I have tried
But I don’t understand!
Under Permalinks I have 4 options. The default you say is not a Permalink, but it looks like one as defined in the Codex . . . I think? Doesn’t choosing one of the others mean that only people travelling through Apache enabled servers will be able to see the site properly . . . I am confused. Obviously (?) my server has Apache installed . . . so which option should I choose. I can’t even see why I should care (!) but I am worried about excluding my fans
Robin
Robin, you’re right: that wasn’t very clear. I’ve changed it to “Pretty Permalinks.”
The difference is that there is a completely different rewriting system used by WordPress when you select anything but “default.” Most people go with “date and name based” permalinks, but I’m not trying to tell you how to set them up, just that this plugin won’t work if you’re using “Default.”
If your server is Apache and has enabled mod_rewrite, then you can use permalinks. None of the settings will exclude any of your visitors or anything like that. If it works at all, it works for everyone.
Thanks – I’ve done exactly as you suggest and it’s working fine. You’re a star and if I could get my PayPal to work You’d have doubled your earnings – must go and do that.
Thanks again.
ps I found your post about bbPress and promptly uploaded it on the strength of your support! I wish it was yours as support is hard to find. all those $$file names etc don’t make any sense to me yet.
Update: Meanwhile I sent technorati 3 mails. There is absolutely no support, no answer. I can`t find out why they are not able to read my blog anymore. Would it be possible that making use of a “home.php” runs me into trouble?
Oliver, I’m 99% sure this has nothing to do with WP. You need to “claim” http://www.shopping-mit-service.de/ at Technorati in addition to http://www.shopping-mit-service.de/shopping-blog/ which you’ve already claimed. You can claim more than one blog at a time.
I think you are right. After having a look at some other RSS Services like Google Blog Search, Feedburner and others I`m pretty sure now that it`s a problem with Technorati only. Once you have claimed your blog there you will never be able to change your blog url. That`s how it looks like. Even if you delete your old claim you are not able to claim it again using a different url. Neither with your old login nor with a new one. Bad luck for me. So from now on I will have to ignore technorati because it`s not possible send them the root url. **** happens.
Just a last question:
I`ve seen that my wp-rss2 link (bloginfo(’rss2_url’)) does not show the root but the blog url (domain/shopping-blog/feed/) as configured with your Filosofo Home-Page Control Plugin. The comments feed uses root (domain/comments/feed/), now.
Could this be a problem for Technorati?
They stopped spidering my blog 118 days ago, right after installing the plugin. Claiming the root is not possible. There must be something wrong with my blog but I`m too blind to find my mistake. Otherwise they cached my old blog url and are not willing to change it. But this is something I can not find out because of getting no response from Technorati directly.
Best regards
Oliver
Oliver, the feed at http://www.shopping-mit-service.de/shopping-blog/feed works–that should be all that Technorati needs.
Like I said, I’m almost certain that this has nothing to do with my plugin or WordPress generally.
Maybe you’re not pinging Technorati. Try adding “
http://rpc.technorati.com/rpc/ping” to the “Update Services” box under Options » Writing.Okay. Thanks. So it must be a bug on Technorati. May be I wouldn`t have any problem if I had renamed my blog directory. Making an existing (and claimed) blog directory virtual seems to be a big mission for Technorati.
cool plugin. exactly what i need.
but it does conflict with “get_all_meta.php” (http://www.webxadmin.net/articles/a-new-function-for-wordpress-get_all_meta-22/)
and i have no idea how to solve this. since i need this plugin too, i’m abit in trouble
Anybody else got probelms running in IE7?
Great plugin, but it conflicts with Gengo multi language plugin. I started a thread on this
I dont know if its a problem of Gengo or Home Page Control. But maybe someone might know a solution.
deviation, do you have a link to this plugin?
How do you uninstall?
I used this plugin as a place holder while I dev. my site. When I deactivate it, the sidebar drops down to below the posts! If I reactivate the plugin the site looks as it did, with the sidebar in the correct place.
I tried switching themes, but the sidebar is still screwed up. I’ve tried deactivating most other plugins, but to no avail.
Please help.
My site is: sojournerdispatch.com
Thanks,
Jamison
Jamison, see #5 of the FAQ above.
The “dropping sidebar” thing is a common, unrelated problem; you might look or ask at the WordPress support forums about how to get rid of that, as it’s one of the most common questions there.
Hello,
Has anyone else had this problem? I appreciate any help:
I installed the plugin, created a page named “home”, slug=home. Bu on my top menu, which shows only top hierarchy pages, “home” was shown twice.
Currently, “home” is showing only once because I put the page I created in a low hierarchic level (doesn’t go on top menu)
Still, I’d very much like to fix this since sitemap will look strange, etc
Thanks!
Ana Luiza
Ana, you’re probably going to have to edit your template. Template designers weren’t thinking that people would be doing the kind of thing this plugin allows, so that’s why it’s not a perfect fit.
Hmm I think my last post didn’t go through. filosofo, THANK YOU. Your post made me search the theme files, and I just took a command line out of header.php that made “home” appear on the menu.
THANKS ANA
HI, I installed this plugin, but only my home page works, I put blog as the default for the blog, but I get the error page not found, on permalinks I get that my .htaccess file is not writable, but I have logged in with root in osx tiger and I cant get the file anywere (I unhide all the hidden files)
What im doing wrong
My apache version is 1,33
Can someone help?
fausto, you might try copying the text from Options > Permalinks into a file, then copy that file to your server, then rename the file as .htaccess.
Since your problems really have to do with setting up permalinks in general and not with this plugin in particular, you will probably find a lot more help at the WordPress support forums.
I’m struggling with the similar problem. But it’s essential out of my reach. I can’t you the permalink settings because the server, my blog is running on isn’t configured the right way.
So I’m afraid the only way I can achieve CMS functionality is by hard coding it.
Thanks so much! This is a great plug in. I was having problems linking to my main blog page (index.php) until I read FAQ #4.
This really should be standard in WordPress.
Actually it will be in the next version of WordPress, which is now in alpha.
I have an issue (which I believe is related to your plugin) where I try to hide the actual ‘blog’ page via an option in WordPress. However, I have a ghost tab left over. The tab highlights in Firefox, and in IE it’s invisible but you can click it. It’s directly to the right of the Home tab here:
http://eternallyaddicted.com/wordpress/
Any ideas on how to fix it?
Thanks.
Josiah,
Can you explain what you mean by “hiding” the page?
I’m refering to not showing the blog tab in the navigation bar (ie, the site isn’t meant to have a blog). Also, I said to the “right” of my home tab, but I meant left. If it makes a difference, I’m using K2 for my theme. Funny thing though, it does not render in Safari. Odd thing though is that the ghost tab point to my root WordPress directory. This probably isn’t related to your plugin after all but any help would be appreciated.
filosofo,
Nevermind I found the offending code in my header.php file:
">
Mark commented on November 12, 2006 at 5:19 am | Permalink

What I’d really like to do, would be to be able to access my blog at domainname.com/blog, and NOT move all my posts into a subdirectory of domainname.com/blog/
Instead, it would be better to have the posts right at the top level. In other words, domainname.com/2006/coolpost.html is much better than domainname.com/blog/2006/coolpost.html
Having /blog/ sandwiched into every perma-link isn’t exactly user (or SE) friendly.
Mark,
Unless I’m misunderstanding you, what you say you want is what WordPress does by default. My plugin is for people who don’t want the default.
On second-thought, I think I am misunderstanding you. I think you just want to skip the optional Step #3 in the installation instructions.
I love this plugin but I seem to be having an issue with it. I’d like to display the meta links & blogroll links on my blog page. Any suggestions? My blog is here.
Very nice plugin – now I only need a plugin to use it for two blogs in one page … e.g. blog1.com – blog1.com/blog2
The problem I was having has been corrected. You can read about it here.
Hi, I’m having a similar problem to Daryl above. I’m trying to use the plugin with the 3columnK2 theme and I’m getting two ‘home’ tabs at the home directory (http://jovanmaud.net), both pointing to the static page. At present I don’t have a tab pointing to the blog. I understand I need to edit the theme’s header.php file but I’m not sure exactly what I’m supposed to do. I’m new to php and mystified.
Any help you could give me on this would be much appreciated!
Hi – wonder if anyone can help?
I’m trying to get the plugin working, but I’m running into a few problems.
I’ve activated the plugin, selected a new home-page, and set the blog directory to ‘blog’ in the home page control options. I’ve also set the permalink structure to ‘/blog/%year%/%monthnum%/%day%/%postname%/’.
However, when I do this, the new default homepage works as it should, but when navigating to other pages in the site I just get a ‘Not Found – The requested URL was not found on this server.’ error.
What am I doing wrong?
Thanks!
Matt, can you get fancy permalinks to work with the plugin deactivated?
Hi filosofo, thanks for your reply.
No, I can’t get them to work. I deactivated home page control, then put in /%year%/%monthnum%/%day%/%postname%/ as the custom structure. Again, I’m getting a 404 error when navigating to pages. Do you know what the issue is?
Thanks!
Matt
Matt, there could be a number of problems: it could be that your .htaccess file hasn’t been correctly created or that your server doesn’t have mod_rewrite installed.
At any rate, I think the folks at the WordPress support forums will be better able to provide the general installation help that you need. Once you get fancy permalinks to work, you should have no problems with this plugin.
I have installed your plugin and it is working fine except that the previous and next links in the blog, archives and search pages don’t seem to work.
I am able to go to the relevant page but the same posts show up on all the pages.
There is no change even when I change mysite.com/blog/page/2 to mysite.com/page/2 for example.
Any suggestions?
Was looking in google and found this plugin. Will install it and try it out – looks like it is exactly what I was looking for. Wanted to change my CMS to wordpress. Thanks in advance.
i guess that plugin was exactly that what i was a long time looking for ….
Hey – within the last months I tried all and everything to get my blog respidered by Technorati after upgrading. Nothing worked so that I ignored Technorati for a while… And now the good news:
I installed another blog using the same (Filosofo) plugin – and this time it worked perfect for me giving me an option to list both (my homepage and my blog) at the same time. Great!
So I put a link from there to the non working blog. You might not believe it but this seems to be the way how to get rid of technorati problems. One shot and you`re back… Otherwise they may have improved their service at the same time. However… I wanted to let you know that it works now. Good work!
nice work man, been looking for something like this since i started using wordpress. i ended up just making static templates that displayed the loop contents based on categories. your solution is much nicer haha. now update your contributions for this month!! its not much but i appreciate how much work this took. and to all others who use this but dont throw a couple bucks to the boy… pony up *******…. later dude
I’m sorry if this has already been asked. I looked through the posts and didn’t see it. Can I use this and totally skip the blog aspect of it? I just want to use WordPress to create a simple CMS site for a client and they don’t need a blog at all. I tried TextPattern but don’t have time yet for the learning curve that’s involved. Will this work? This plug-in looks great!
Yes.
Hi, thx for Home-page control, it’s great!
But I got a problem: I use Navigo plugin which provides a pop-up menu for static subpages.
Submenue doesn’t show up on the start page:
http://www.grenzenlos-ggmbh.de/wordpress/
But if I hit the navi button for that page, everything works fine. Then the command line shows:
http://www.grenzenlos-ggmbh.de/wordpress/?page_id=3
I guess, the Problem has to do with URL of the start page that doesn’t show the Page ID.
Is there a workaround with Filosofo Plugin? Or even with .htaccess? Any suggestions would be highly appreciated! Thx in advance.
Hi, I want to make a media site like noob.us
On that site, they have thumbnail of the flash+ blog contetent on main page, and when somebody click on the thumbnail, it goes to permalink where thumbnail is replaced by flash video.
Can your plug in do that?
If yes how ? And if not, can you guide me regarding how to build a site like noob.us
Thanks in advance.
Hello meethere,
Just from a casual look at that site, I think you may be looking for something else. This plugin is designed to provide a static home page in WordPress. The site you mention seems to have regularly updated content, much like the standard WordPress home page out of the box.
The theme, Pool, puts a link in my header called “blog”, even though that page doesn’t show up in Manage-Pages. Before installing your plug-in, that was the normal default home page, and contained blog entries, as usual.
Now that I have successfully created and defined a new home page, “Home”, the page link called “blog” also loads the new home page “Home”. There is no apparent way to get to “blog”.
.htaccess modified O.K.
Permalinks are working fine
I followed instructions carefully and tried it with and without the last part of step 2 and step 3 of instructions.
My guess is there must be some complication with this particular theme design, “Pool” that is causing the problem.
Clue? This theme does not respond to reordering the pages, as described in post 142. “Blog” is listed first in the header, and then the rest are alphabetized
Site is: http://www.TupeloKenyon.com
Thank you for any help or suggestions.
hi there, i’m having the same problem as Daryl and Jovan above (using K2 and getting 2 menu-items active at once)… and i don’t understand your answer what you mean when you say:
“So you’ll have to edit the header yourself to point to the correct urls.”
i’m no php expert, how do i go about doing this?
thanks for any help!
Hello
I’d like to try it on may wordpress website but the latest version 2.0.5
I don’t know if tt will works or not?
Thanks for your answer
kiwi,
This plugin should work in 2.0.5.
Your plugin seems to be just what I need to create static pages for columnists to have their own opinion pages. But after installing it the following problems developed with permalinks and .htaccess.I am a new WP user and have tried to work this out for several days. Using the plugin filosofo in the WP theme logofriendly, as per install instructions, I created a custom permalink: /blog/%year%/%monthnum%/%day%/%postname%/ and was directed to update the htaccess, but no suggestion appeared in box to paste to the file… the file was empty, nothing in it, I did try creating a new file with this content suggested at this site:
BEGIN WordPress
IfModule mod_rewrite.c
RewriteEngine On
RewriteBase /blog/+
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
/IfModule
END
(>
hello,
I am trying your plugin with wp 2.06 and I got this problem:
I set my about page to be the homepage and nothing in the blog directory field. => after saving no page in my menue does work
next try:
about page to be homepage and entered blog as blog directory => result all pages work except that home and about both lead to the same page, which is definitely not the about page ….
can you help out? I am using the apart theme from glued ideas…
or do you think the culprit is wp version 2.06 ?
ovidiu,
I tried this plugin in 2.0.6 with the Apart theme, and it works fine for me. What page do the “home” and “about” pages link to, if not the homepage? Do you have a link to your site?
ok, I will activate it like this:
I set my about page to be the homepage and nothing in the blog directory field. => after saving no page in my menue does work
here: http://www.edelweiss-sibiu.ro and leave it like this until this evening.
p.s. the homepage saying there are no posts is ok, there are no posts, except for 2 for testing inside the asides category.
p.p.s. it seems to work now, keep in mind I have installed, deinstalled, and reinstalled severall times by now, deleted my browsercache and now it seems to work, all I have to do is delete the about page from the top navigation menue, any idea how to do that elegant without touching the sourcecode? if not thats hwo I will do it
thx for the great plugin
sorry, still one error: neither the home link nor the about link actually display the about page: http://www.edelweiss-sibiu.ro/about/
I see the problem, but I can’t replicate it on my test server.
Is it possible another plugin is interfering? Have you made any changes to the theme files?
I only made some new templates for some pages (about is using the standard template) addedd some css styles and thats all.
I have lots of active plugins but none that does anything to pages…
any further clues? would it help if I gave you an admin account? its a new site, I just started putting it together…
If I cannot work this out I’ll just have to create a home.php file to get my static homepage…
ooops, looks like the glued ideas theme already has a home.php file… I’ll try and see what happens if I remove that file…
well that does just give me a blank homepage and blank about page…
Hi,
I’ve been working on many aspects of my site for a few days and I just noticed that my link to my blog does not work any more. I keep getting this error:
Parse error: syntax error, unexpected $end in /home/ilovemyt/public_html/tallentedchef.com/wp-content/themes/theme147/index.php on line 52
This is a custom theme, but line 52 contains only an end body tag.
Unfortunatly I can’t really say exactly how this happened, except to say that it worked fine for a while. Since I saw it working properly I have edited template files, css file, added several plugins.
Any ideas about what might be causing this?
Well, I seem to have fixed the problem by uninstalling another plugin called WP-Print which creates print friendly versions of pages. Guess I’ll have to figure out some alternative for that one….
How can I still access my most recent blog posts after I install this plug-in?
I like to use a static page as my homepage. But I still like the visitor to be able to click on something to get access to my latest blog posts. The archives link is not good because they only show summary of the content I posted, things like videos don’t show up.
How can I set it this up?
Thanks
Your most recent blog posts show up in whatever “directory” you set the “blog” directory to.
Hi Filosofo,
I have been using your Home Page plugin successfully however of late, my website just shows my Post as my homepage, regardless of what link I click. I try to use your plugin to set my homepage but it no longer works.
Please check out my website at http://www.michaelkurniawan.com
Any ideas would be appreciated. Thanks.
Sorry, Please disregard my last post. Funny enough after attempting to solve the problem for the last 3 days, as soon I place the post on this site, I find the solution. I recently installed and made modifications to get the Flickr Photo Plugin to work however this stuffed up my site, including your Home Page Plugin.
All fine now. I will use this opportunity to thank you for a GREAT homepage plugin!!
When I have the homepage set to wordpress default, the homepage works fine, but every other page returns errors saying the directory doesn’t exist. However, when I have the homepage set to a different page, every page works. Is there a reason/solution for this?
When do you see these errors?
anytime I try to visit a page on my website while the plugin is set to the default home page.
Do you have a link?
well, the site is at http://www.innerlooping.com, but I had to deactivate the plugin until the error is fixed so that traffic doesn’t get the errors.
Hi,
First off – great plugin
I’m new to wordpress, but don’t mind diving into the code if need be (my job is building PHP sites!)
However, I can’t quite work out – even from the above comments – the highlighting in on my tabs. I’m using K2 – I’ve managed to get all my tabs showing up in the right place, and highlighting on the right page, however, with the blog, when you go into a sub page (i.e. a blog post), the current tab won’t highlight.
The only code I’m using in the header is
< ?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
I am also using the plugin to creat the link to the blog page, and the gallery tab – is this where I’m going wrong?
I only plan to have those 4 links, so I’m quite happy to hard code the links, however, not sure how to identify the current page if in a child page?
I hope all of the above makes sense!
Thanks,
James.
Has anyone had any experience using this plugin in conjunction with Rich Hamilton’s Category Visibility plugin? (http://ryowebsite.com/wp-plugins/category-visibility/)
This plugin is working perfectly, I’ve set my blog posts to be /blog/ however, it’s ignoring the category visibility plugin completely.
Basically, I want to have posts behave as normal (appear front page, archives, search, etc) but have certain categories where posts will not appear on the front page, etc.
Great plugin so far!
Hi Jim,
I have a little problem, I think that the plugin ignores my page template. The system pick up index.php and do not use the produced template for the front-page. What can I do now? Any Idea?
Thanks for a great plugin. I’ve been able to get most everything working the way I want it. I am running into the same issue as Jim did, and was able to fix things the way you recommended, but I changed them back because I want my ‘blog directory’ link to be the second link and not the last link on the list. It is currently called “News.” When I click on the link it does not remain highlighted on the menu bar or the sidebar. Do you have any suggestions?
This is the site.
Below is my menu code:
Greeetings!
Just setup WP (first one) on my domen, install some theme and edit it`s code manually (mostly CSS and some bloks).
but when Ive using your plugin and set as main page, http://bucharest.ru/bucharest/, I lost any categories and Calendar`s entries. Why? I check code, but dont see any wring, my sidebar code looking good:
What your think about this problems?
my sidebar code
< ?php _e('Categories:'); ?>
< ?php wp_list_cats(); ?>
< ?php _e('Archives:'); ?>
< ?php wp_get_archives('type=monthly'); ?>
< ?php get_links_list(); ?>
< ?php _e('Search') ?>
< ?php include (TEMPLATEPATH . '/searchform.php'); ?>
< ?php
if (function_exists(’get_theme_switcher’)) { get_theme_switcher(); }
else if (function_exists(’wp_theme_switcher’)) { wp_theme_switcher(); }
?>
When WordPress 2.1 may be released, will be working as it was doing with the plugin or will we need to configure again!
Thanks for so good functionality!
You can keep the plugin running, but 2.1 also includes this feature (though implemented in a slightly different manner).
any more ideas what could be wrong here: http://www.edelweiss-sibiu.ro/ using this plugin just gives me a blank page… as homepage although I set: http://www.edelweiss-sibiu.ro/about/ to be the homepage…
Nevermind on my question on comment #260. WordPress 2.1 release made my issue moot. It now allows you to set a static home page from within the CMS.
So I have been wrestling around with this plugin for the last few days and I couldn’t figure out what the problem was until just now. I could tell that the plugin was working because it would set the homepage correctly, but I couldn’t see the blog posts. I had the links turned on properly and everything seemed to be in order.
So here is the problem. For whatever reason when I installed wordpress it didn’t create or install the .htaccess file in the blogs root dir. So when I set the permalinks it couldn’t write to a file that didn’t exist. So I copied a .htaccess file from another dir, deleted everything out, resaved my permalink preferences and it worked.
So for those of you skimming the comments:
MAKE SURE THE .HTACCESS ACTUALLY EXISTS AT THE SAME LEVEL AS index.php
Then resave your permalinks
/blog/%year%/%monthnum%/%day%/%postname%/
Wordpress will automatically write the following mod_rewrite rules in the .htaccess file.
# BEGIN WordPress
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
# END WordPress
If the file doesn’t exist it just fails silently.
I hope this saves someone else some time, and while I have the chance to say it… GREAT PLUGIN! Thanks.
Hi Filosofo
Thanks for the plug-in. It saved me from re-installing wordpress and creating another website as a landing page.
I have installed the plugin. It seems to work fine with the default template. But the template I want to use gives me the following error:
Warning: comments_template(/home/laurcoza/public_html/lourens/photography/wp-content/themes/back-in-black-11) [function.comments-template]: failed to open stream: Success in /home/laurcoza/public_html/lourens/photography/wp-includes/comment-functions.php on line 27
Fatal error: comments_template() [function.require]: Failed opening required ‘/home/laurcoza/public_html/lourens/photography/wp-content/themes/back-in-black-11′ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/laurcoza/public_html/lourens/photography/wp-includes/comment-functions.php on line 27
I suppose I have to edit something in the template?
Regards
Lou
Thanks, this is working great with WP 2.0.4!
I love this plugin! Thanks:) Just having one issue
The template I am using (newsportal-10) already has the first page navigation set as HOME which is linked to my index. In order to use this, I have to create a page but then I get two navigation links…HOME and NEW LINK…both leading to my main page?
Here’s the code from my header:
What do you mean by the “home page,” when you say it’s not being picked up? Have you actually created a WordPress page named “home page”?
In my template it automatically came set up with Home and an About tabs. So, in the drop down menu where you can choose a page to be your default “home” or index page, only the about page is included for me to choose.
I had to deactivate it this morning, as while I had all the other aspects working last night, when I checked this morning, none of the pages could be found and all the links now had a category sub-domain…is http://www.mydomain…/category/
I don’t know what happened.
Great plugin! I like it!
Thanks for the plugin. Hoping to get some assistance. I’ve got 2 home tabs and cannot seem to get rid of the post page format as the home page. Any ideas?
Hi, Firstly many thanks for your great plug-in. I have a site set-up on my local server with the home page control installed-everything works as expected apart from my blog page.
I have called it ‘news’ and when I click on the news page my blog entries appear fine, however when I click on an entry title the page just reloads and doesn’t go to the single blog entry page? Also, I can’t seem to make the ‘news’ link in my menu to display a ‘current page item’
Any ideas on how to approach these two problems?
Many thanks
Senz – UK
Because the number of comments has gotten cumbersome, I’m closing comments on this page.
If you need help with this plugin or would like to comment on it, you can send me an email (see above) or post a question in my support forum for this plugin.
Thanks!
See some of the other WordPress plugins I’ve created.
Like this plugin? Is it worth a latte?
This month I have received $57.00 in donations for the free plugins I offer here, which is about $0.14 per download.