abelthorne
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I add posts on a templated page used as home ?Thanks for your answer but it doesn’t seem to do what I need : the description says that with this plugin I can manually add posts in a static page with their ID.
What I want is to automatically display all posts in some pages rather than adding them one by one. Basically, I want to blend the “blog” page inside the static homepage.On the static homepage, I have to display all the posts (divided in “subpages”) under the page content. On the second page, I have to display all the posts (divided in “subpages”) but only of a specific category (press releases).
But maybe there exists a similar plugin that does what I need ?
Forum: Fixing WordPress
In reply to: How to get WP preferences values ?Thanks a lot. Found it in options.php. ??
Forum: Fixing WordPress
In reply to: How do I add posts on a templated page used as home ?Well, I’ve added a header redirection in the header.php
<?php if(isset($_GET['paged']) && !isset($_GET['page_id'])) header("location: ?page_id=2&paged=".$_GET['paged']); ?>
It’s quite a ugly hack but it works. If someone has a better idea… ??
Hello,
It kinda works for me too but I have a specific problem : it doesn’t work with posts that are in the page set as homepage in WP prefs (I have home page that uses a custom template in which I display some posts).As page_id is not set, the next and previous posts link lead to mywebsite.com/?paged=2 and I get a “can’t be found” error message.
Using the same code in another page/template makes links like mywebsite.com/?page_id=54&paged=2 and navigation works.Is this a WP bug ? How can I fix the problem ?