[theme-reviewers] Is Blog.php is allowed in theme?
Philip M. Hofer (Frumph)
philip at frumph.net
Sat Jul 5 13:03:26 UTC 2014
This is missing information. the only way for a posts loop that does not want to recognize itself as a home page from functions such as is_home or is_front_page is to use a custom blog.php file; the keyword in the article is “index template” (unless someone can clarify)
for example, say you have an index.php file that has a do_action(‘something’) in it and the function checks if is_front_page() go ahead and execute, you go to settings and set a page to the posts it will recognize that page as is_front_page; so if you don’t want that (and there are reasons) then a blog.php is the only real solution
now, that’s just my understand on how I got things to work properly for my theme; if someone has information on the template hierarchy substitute that would be peachy.
(mind you that is WITHOUT changing the template for the home page just not having the blog loop there and moving it to it’s own subpage)
From: Joan Boluda
Sent: Saturday, July 05, 2014 4:55 AM
To: Discussion list for WordPress theme reviewers.
Subject: Re: [theme-reviewers] Is Blog.php is allowed in theme?
You're welcome! :)
Joan Boluda
Consultor de Marketing Online
http://boluda.com
On Sat, Jul 5, 2014 at 1:32 PM, Alex Lizar <lizarweb at gmail.com> wrote:
Thanks Allot .It helped like a charm.
Great Weekend you too :)
Best Regards
Weblizar
Follow Us: Twitter | Facebook | Google+ | Linkedin | Pinterest
On Sat, Jul 5, 2014 at 4:38 PM, Joan Boluda <joan at boluda.com> wrote:
Not recommended: https://make.wordpress.org/themes/2014/06/28/correct-handling-of-static-front-page-and-custom-blog-posts-index-template/
On Saturday, July 5, 2014, Alex Lizar <lizarweb at gmail.com> wrote:
Thank you Sir,
Can I use blog.php as a template here?
Best Regards
Weblizar
Follow Us: Twitter | Facebook | Google+ | Linkedin | Pinterest
On Sat, Jul 5, 2014 at 4:18 PM, Joan Boluda <joan at boluda.com> wrote:
Hi Alex!
Home page and Front page info -> http://www.chipbennett.net/2013/09/14/home-page-and-front-page-and-templates-oh-my/
Great weekend! :)
Joan Boluda
Consultor de Marketing Online
http://boluda.com
On Sat, Jul 5, 2014 at 12:46 PM, Alex Lizar <lizarweb at gmail.com> wrote:
Hello all,
I have a confusion on blog.php ? What I want is to show my blog posts on a specific page on menu.
And my sites home page populated using front-page.php ?
I have gone through the reading setting option ,But could not get the solution .
I need a solution or suggestions.
Best Regards
Weblizar
Follow Us: Twitter | Facebook | Google+ | Linkedin | Pinterest
_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers
_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers
--
Joan Boluda
Consultor de Marketing Online
http://boluda.com
_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers
_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers
--------------------------------------------------------------------------------
_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140705/3d9b93e0/attachment.html>
More information about the theme-reviewers
mailing list