List category posts
Pass tag parameter via custom fields (3 posts)

  1. RiccardoP
    Posted 2 years ago #

    Hi, is possible to pass the tag parameter by a post custom fields? For example
    [catlist tag="customfield_value"]?

    Thank you.


  2. beniEllis
    Posted 2 years ago #

    This seems to be working for me:

    [catlist customfield_name="whatever_name" customfield_value="whatever_value"]

    From the plugin description:

    custom fields - To use custom fields, you must specify two values: customfield_name and customfield_value. Using this only show posts that contain a custom field with this name and value. Both parameters must be defined, or neither will work.

    customfield_display - Display custom field(s). You can specify many fields to show, separating them with a coma.

  3. RiccardoP
    Posted 2 years ago #

    Thanks for the reply, but i need to populate the content of tag="" with a custom field.

    I use a text widget in sidebar with [catlist tag="$customfield_value" numberposts=5 excludeposts=this] inside. In this way i can change the content of tag="" by adding a custom field in post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • List category posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic