View.php & default.php
Permalink 2 users found helpful
Hi,
what is different between view.php & default.php?
what is different between view.php & default.php?
view.php is typically used to wrap Single Pages.
default.php is a page type just like full.php home.php etc. Only difference is that it gets used if no page type has been assigned or you switch to a new theme that does not have a page type file the the page was set to.
view.php also wraps non theme page types, which you may have seen in packages that are not themes but have page types.
default.php is a page type just like full.php home.php etc. Only difference is that it gets used if no page type has been assigned or you switch to a new theme that does not have a page type file the the page was set to.
view.php also wraps non theme page types, which you may have seen in packages that are not themes but have page types.
Ok. Thanks
Default.php is used in pages that don't have page type, or page type is not existing in that template - so it's just default as the name sais, and view.php is used for single pages (like for instance login page).