We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Filtering by category to create an custom url on search results page

How Do I?

verveuster's avatar
verveuster
34 posts
7 years ago
verveuster's avatar verveuster

Hi Is there a way to do this with native search of EE 3?

       
MID's avatar
MID
166 posts
7 years ago
MID's avatar MID

I think you’ll need an add-on for this.

       
verveuster's avatar
verveuster
34 posts
7 years ago
verveuster's avatar verveuster

This is my solution:

{exp:search:search_results}        
 {if channel_name == 'aktuelles'}
  
     <b><a href="http://{path=aktuelles/{categories}{category_url_title}{/categories}}/{entry_id}">{title}</a></b>

       <span class="small">in {channel}</span>

         {excerpt}
   
 {/if}
{/exp:search:search_results}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.