View Single Post
  #1  
Old January 9th, 2011, 09:55 PM
patagonia patagonia is offline
 
Join Date: May 2009
Posts: 506
Default Embedding a View in a .php page

Along the same lines as you have the option to "embed a view in a post"... I want to do the same thing, but need the php code, to be able to embed a view, from within the php code of a page (if this is possible).

So what I want to be able to do:

On some sites, it would be nice to have my datafeedr store categories outputted above my latest blog posts.
So instead of the home page of my site, pointing at the datafeedr store homepage, I want to have the home page of my site, be my latest blog posts, but above those, output my datafeedr store categories. I would have to go into the main.php file or whichever one it is, and add the code to output a custom view, above the latest posts loop.

Is this possible?