Recent Video


Enter your email address:

Delivered by FeedBurner

Random Quote

Always listen to experts. They'll tell you what can't be done, and why. Then do it.
 - Lazarus Long

Yearly Archives

Categories

HowTo Create a Single Entry Page for Search Results

Posted on 2008-09-30

Question: How can I create a single entry page for my search results page?

Answer: A single entry page for your search results can be created by using the following code snippet:

{exp:weblog:entries limit="1"}
Whatever you want inside here
{
/exp:weblog:entries} 

This snippet can be put into whatever design you’d use.

Now that we have the basic components of the single entry template, I’d suggest making the following modifications:

{exp:weblog:entries weblog="yourweblogname" limit="1" 
disable="categories|member_data|pagination|trackbacks" }
Whatever you want inside here
{
/exp:weblog:entries} 

NOTE: If you are displaying categories or member information in your template, don’t disable categories or member_data.