DEV Community

Discussion on: WP Snippet #010 Filter posts by (Acf) meta values

Collapse
 
techktsocially profile image
Tech KT

Hello Stephan,

Thanks for the wonderful post, I am actually 0 in coding, and pardon me for my upcoming silly question.

Q: Where to add these? Will adding in functions.php works?

Please suggest.

Thanking in anticipation.

Prat

Collapse
 
vanaf1979 profile image
Stephan Nijman

Hi Prat,

There are many ways you could use this technique. This specific example is meant to be used inside a template file.

What are you trying to achieve? Maybe i can help you figure it out! :)

Cheers,

Stephan