List category posts
Custom Field display without the actual fieldname displayed (5 posts)

  1. hodyshoran
    Posted 4 years ago #


    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


  2. Eckstein
    Posted 4 years ago #

    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.

  3. littleoracle
    Posted 4 years ago #

    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.

  4. Eckstein
    Posted 4 years ago #

    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.

  5. nbruley
    Posted 3 years ago #

    Thanks for this! Works well. If this option becomes available please 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