Tagged Questions
0
votes
0answers
16 views
home.php and the first page of the archive
I have a home.php template file in our Wordpress blog that displays a special first page as the front page of our blog (Short post excerpts, posts from categories, photos, etc, etc).
Now I want to ...
1
vote
1answer
56 views
is_home() returns TRUE on page template
I'm wondering why my link: http://localhost/?page_id=3433 returns TRUE on is_home() usage:
if(is_home()){
var_dump(is_home());
die('test'); ...
0
votes
1answer
44 views
How do I get a single page navigation depending on the previous page?
I figured this would be a fairly comon thing. But I can't seem to find out how to do it. Or I'm just not using the correct search terms.
I've got a website with a hompage that lists all my posts, and ...
0
votes
2answers
121 views
What is the advantage of using home.php over index.php for the front page
I am building a theme and wondering whether or not to include a home.php file or not. The theme (which will not be available to the public) will be mainly used with a static home page and separate ...
2
votes
1answer
1k views
How to find the posts page (home page) programatically
What php code can be used to find the page object that hosts the blogs?
Note that this may not be the same as the first page of the web site. In the admin section we can specify in which page to ...