Pull weblog entries with constrain by custom fields

I just love EE for it’s flexibility and great template parser engine( It’s already rich enough). A few days ago it was needed to show specific entries for a weblog that will not be filtered by category or url title etc. It can be handle in many way such as custom query, php logic etc etc. Although EE query moudle is fantastic one, The core EE( Free EE) doesn’t has this. Actualy it can be handle using parameter as EE weblog module supports to pull data using custom field constraint vale, you have to just pass it as follow –


So let you have a filed named body and you want to pull entries which has a string “shows”, parameter will be like


It supports more constraints, please check this link

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.