How To: Utilize Custom Field Search Module

How To: Utilize Custom Field Search Module

Custom Field in EasyBlog has been a useful feature for most of our customers since it was first introduced on May 21st, 2014. For those who are still wondering what custom field in EasyBlog does, it is actually a simple field that can be defined by the site administrator when creating a blog post. It consists of eight common fields such as: Checkbox, Date, Heading, Hyperlink, Radio Button, Dropdown, Textbox and Textarea.

Custom Field Search Module

Why do i need custom field? 

The usage of custom field really depends on the nature of your blogging site. One example that i can relate is Food Recipes blogging sites. For example, you have over 50 recipes and you want to see recipes that doesn't contain Almonds. Custom field filter can help you to achieve that, which will be explained later in this post.

Well, i think that's enough with the Custom Field introduction, now we have come to the main point of this blog post. First, we would like to thank one of our customer who came out with the idea of having a module to filter blog posts with custom fields. After some trial and error, this module was ready to be included in core of EasyBlog.

What is custom field search module?

Custom Field Search Module is a module that used to filter blog post based on custom fields. This module will only work on listings layout (frontpage and single category layout). As you can see from the picture below, there are several settings that you can play around with, it's configurable according to your site needs.

Module Settings

What are those Include and Exclude mode?

Include and Exclude are actually dependent on how you want your blog posts to be rendered. If you chose Include mode, it will render specific blog posts that contain those selected custom fields.

As for the Exclude mode, it will render blog posts that doesn't contain those selected fields. Now, let's take the recipes blogs as an example, you can filter the listings by ingredients say 'Salmon', 'Chicken' and 'Banana'. In Include mode, EasyBlog will list down recipes that contain those ingredients and Exclude mode will list down recipes that doesn't include those ingredients. 

​We hope this blog is informative and had shown you another side of EasyBlog. Stay tuned as we update our blog more in the coming days. ;)


Comments (23)

  1. Paul Murray

Great stuff. Please give us more of these kind of articles :-) Thanks.

  1. Mark    Paul Murray

Thanks Paul :)

  1. chatchai janchum

Thanks you for your info :)

  1. Mark    chatchai janchum

Thank you!

  1. Jan Bergare

Good article! When will there be a similar module for user custom fields in Easy Social?

  1. Mark    Jan Bergare

Soon! Combining what we have with the users listing filter on EasySocial, it would be mind blowing.

  1. ssnobben    Mark

Great news!!

  1. Syabab    Mark

Great feature that is still missing from ES, which CB already have since long time ago. Search, filter and sort by custom field is, I personally think, will be a very powerful feature for ES. :p

Hopefully it is not just for user search, but for pages, groups and events as well. ;)

  Comment was last edited about 1 year ago by Syabab Syabab
  1. Mark    Syabab

Thanks for the input on this Syabab :)

  1. LAC Webadmin    Mark

Mark, if I may suggest, maybe a new view for site admin to filter datas created by users and not just module to filter custom fields. More like creating a report, for example:

- What group are active this month or this year.
- What age group are active, gender, and other criteria.

That's just a couple of example but the possibilities of data gathering from ES is huge.


  1. joy

please more of this and the easyblog post. i'm dying :D want to read it!

  1. Sylvie    joy

Thanks Joy! :)

  1. joy    Sylvie

so... will there more blogs come? want to read about the coming feautures :D

  1. LAC Webadmin

This is awesome Mark! Thanks for building it.

  1. Mark    LAC Webadmin

No problem Jackson :)

  1. Philippe

Very interesting this new module ! :)

I'm agree with Syabab. I would also like to have this type of module on Users, Pages, Groups and Events Listings.
The customs fields have a big potientiel, modules will make better use of this data.

Thank you,

  1. Mark    Philippe

Thanks for the input on this Philippe, appreciate this very much.

  1. joy

cam't wait for the new blogs about coming features.

  1. Philippe    joy

I think we will have news before the end of the year. Christmas is coming :)

  1. Sylvie    Philippe

Yup, we are already working on it. Stay tuned! :)

  Comment was last edited about 1 year ago by Sylvie Sylvie
  1. joy    Sylvie

huray! Can't wait to see them :>

  1. joy

i check daily the blog for about 30 times a day. Hope to see something abou new coming amazing things. :)

  1. Mark    joy

To those who haven't seen it yet, :)

There are no comments posted here yet