• Hello,

    maybe I am doing something wrong, please help me out.
    If I use the string:

    [catlist name=interactive-reviews customfield_display=spielname,system]

    I get the following output:

    ? PS3 Review: Fifa Street 4
    spielname : Fifa Street 4
    system : Playstation 3
    ? PC Game Test: Confrontation
    spielname : Confrontation
    system : PC

    But rather than having the name (headline) of the article display I would prefer only to have the Games name and its system display but without actually stating the fieldname in the output.

    So that it would look like this:

    Twisted Metal – Playstation 3

    So that I can simply add the “more” clause to it. How do I enforce this?

    Thank yout

    https://www.ads-software.com/extend/plugins/list-category-posts/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I need this exact thing! Anyone know how to make the custom field ID NOT display? I can’t really use this plugin until there is a solution.

    I found a fix for this. Not ideal, as you have to edit the plugin itself, so YMMV.

    Go into /include/CatList.php

    replace line 168 with
    $lcp_customs .= "<div class=\"lcp-customfield\">". $value . "</div>";

    the original looks like
    $lcp_customs .= "<div class=\"lcp-customfield\">". $something . ":" . $value . "</div>";

    it’s the $something variable that’s pulling in the label.

    Sucks that we have to edit the plugin directly, but good find! I’ll just have to save a replace for each update. At least reverting back doesn’t drastically break anything, but hopefully this becomes an option to turn on/off in the future.

    nbruley

    (@nbruley)

    Thanks for this! Works well. If this option becomes available please post.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: List category posts] Custom Field display without the actual fieldname displayed’ is closed to new replies.