List category posts
[resolved] Customize custom field (9 posts)

  1. jacky_K
    Posted 3 years ago #

    Gorgeous plugin. But I can not adjust the output custom field and title on one line. Can anyone help?


  2. fernandobt
    Plugin Author

    Posted 3 years ago #

    I'm not sure I quite understand what you want to do. In any case, to customize the output, check out the instructions, you can customize the HTML and CSS for the output.

  3. jacky_K
    Posted 3 years ago #

    Thanks for the reply. Now I have this:
    But I want this:
    I read the instructions, but how to create a style for custom field? I know a little HTML and CSS but I can not figure out how to do it. Explain please.

  4. jacky_K
    Posted 3 years ago #

    I did it.
    [catlist id=31 tags=tag1,tag2,tag3 orderby=title order=asc numberposts=0 thumbnail=yes thumbnail_size=25,25 thumbnail_class=lcp_thumbnail customfield_display=i]

    This code should be added in style.css

    .lcp_thumbnail {position: relative;
        left: 5px;
    .lcp-customfield {position: relative;
        left: 240px;
        top: -13px;

    But the author could make a FAQ of more detailed.
    Where is it written that custom fields have class lcp-customfield ? Nowhere
    And why not lcp_customfield?
    But still it is a great plugin, thanks to the author for the work.

  5. jacky_K
    Posted 3 years ago #

    Another question. Why thumbnail is positioned relative to title and the customfield relative to tag UL?

  6. jacky_K
    Posted 3 years ago #

    No need to CSS. It is very simple.
    In file list-category-posts/include/CatList.php find
    $lcp_customs .= "<div class=\"lcp-customfield\">" . $value . "</div>";
    $lcp_customs .= "<span class=\"lcp-customfield\">" . $value . "</span>";

  7. mk42
    Posted 2 years ago #

    With the next update the CatList.php is overwritten. Is there a possibility to customize the include folder files like the templates?

  8. jacky_K
    Posted 2 years ago #

    I do not update the plugin.
    Maybe to solve your problem you need to install the file permissions CatList.php 664? 555?

  9. mk42
    Posted 2 years ago #

    @jacky_K, sorry my question was directed to picandocodigo. I just wanted to know if there is a way to create a outsourced functions from that plugin like the customizable templates. Something like a "include" folder in the "theme/list-category-posts/". I know that it doesn't work yet. ;) But such a option would be great!

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


No tags yet.