mxtrader
Forum Replies Created
-
Forum: Plugins
In reply to: WP Page as static home pageI tried lawtai solution, it didn’t work for me. When I change the WordPress uri it made an “unstlyed” admin, and “unstyled” blog, like zhiyang reported. If I change the blog uri instead, it produced a 404 error.
I did of course, as instructed, installed the plugin AND changed the permalink structure.
===
Other: I tried then Adders solution. It didn’t work either. Gave me a 404 error.Any idea of what else you did in order to make this thing work? I bet your solutions are cleaner than mine.
Forum: Plugins
In reply to: WP Page as static home pageAlright! got it! I think I misunderstood the point the first time. I have to check that… it would be a cleaner solution. Thank you very much! I’ll post on how it works
Forum: Plugins
In reply to: WP Page as static home pageYes… I thought of that. But never did it.
I was planing to have my flat pages under the root directory (/) and WP installed under /wp for example. That would work, guaranteed.
But… I wanted also to keep my “home” page to have the look and feel of the rest of the site, and better yet if it would work when I changed the “skin”. That why I ingored the installation under a directory.
So I chosed the home.php thing instead, and works quite well. In fact, if I copy my home.php to another template, it works quite well with little changes.
I was looking at your blog. It is quite nice. It only shows that there is LOTS of things to know for me ??
Thanks!
Forum: Plugins
In reply to: WP Page as static home pageSometimes the more obvious…. DUH!!!
Shame on me… I *NEVER* saw the “Next Page” thing. So I was bitching (4 TIMES, DUH!!! again) about being able to post. I’m very sorry!
I think bbPress should get you to your last post. Sorry again.
Forum: Plugins
In reply to: WP Page as static home pageForum: Plugins
In reply to: WP Page as static home pageForum: Plugins
In reply to: WP Page as static home pageForum: Plugins
In reply to: WP Page as static home pageUhmmm yes got it… but I planned it to be an “not for all family members website”
(I have nothing “unappropiate” yet tho), so let me setup another website, or if you still want to see it, send me an email to mxtrader .at. gmail.com, I’ll send you the address… I don’t want to appear like doing publicity to the site here.
Forum: Plugins
In reply to: WP Page as static home pageOk managed to work. I think. More or less… enough for me, for now:
- Deactivate the plugin!!!
- In root directory:
- Copied wp-blog-header.php to wp-blog-header2.php
- Copied index.php to blog.php
- In blog.php changed the reference from wp-blog-header.php to wp-blog-header2.php
- In wp-blog-header2.php eliminated lines 215 thru 217
- In template directory
- Created home.php based on index.php (basically eliminating the loop
- In home.php put whatever you like and a link at the end to blog.php
Looks like it is working now. (Or at least enough for me)
Forum: Plugins
In reply to: WP Page as static home pageDamn… this is frustrating.
1. Turned on the plugin, going to page 2.
2. In the Page 2 I created a link to blog.php in the root directory
3. The thing recognizes that as a home page, so it goes to page 2It behaves exactly the same using the home.php in the template directory. So how the heck do I link to the blog page? is there any way to inform WP that the page you’re seeing is NOT the home page (function is_home() return false, I guess)? I don’t care if it is with a URL parameter. Of course using ?p= indicates also that what you see is_home.
I could tweak wp-blog-header.php to do so… but is there any “supported” way to do it?
Forum: Plugins
In reply to: WP Page as static home pageI just don’t get it.
In wp-blog-header.php there is a line which says include(get_home_template()) which it goes to:
function get_home_template() {
$template = '';if ( file_exists(TEMPLATEPATH . "/home.php") )
$template = TEMPLATEPATH . "/home.php";
else if ( file_exists(TEMPLATEPATH . "/index.php") )
$template = TEMPLATEPATH . "/index.php";return apply_filters('home_template', $template);
}1. So, if I create a blog.php based on index.php (in the template directory) how do I link to the blog.php page just created? a link to blog.php won’t work. And then I do a link from my home.php to blog.php how the thing will know it is a page and not home?
2. Or the blog.php should be in the root directory and should be a copy of the main index.php? Note: Forget it, I already done this, and doesn’t work.
I’ll be trying all options, but if you have something that can help, I’ll really apreciate that. Maybe I should write a different wp-blog-header.php ????
Forum: Plugins
In reply to: WP Page as static home pageI have used also the home.php approach, it also works well. But thing still is… once I get to the first page, that could be an “about” or “warning” or whatever you like, how do I link to the blog page? which is the address I should refer to?
Somebody in other post suggested: place wp inside other directory, like /wp and then write a index.php page that links to whatever.com/wp, it would be easy, but it would render the templates mechanism unusable for this first page. So I really think both, the plugin or the home.php ways are the way to go. But I have no clue on how to get to the blog from there.
Any help?
Forum: Fixing WordPress
In reply to: index.php as static pageOK, I have solved my problem… I basically copied index.php to my home.php, so now I have the static page I was looking for at the begining of the site.
Now, how do I go to the “normal” blog screen? where do I have to point to? I was thinking on creating a new “index2.php” but it won’t work.
Forum: Fixing WordPress
In reply to: index.php as static pageSuppose I do that. I have an index.php and installed wp under /wp (for example), how do I use the templates to “affect” the index.php in the root directory of my site?
Forum: Plugins
In reply to: WP Page as static home pageExcuse me, I’m completely novice on this thing of WordPress (but pretty seasoned in PHP). I added the plugin, because I needed for the things I want, it works perfect. Thing is, how do I link to the real blog page from the new home page?
Sorry for bothering.