Support » Plugin: List category posts » Customize custom field

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    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.

    Thanks for the reply. Now I have this:
    http://savepic.ru/3821740.jpg
    But I want this:
    http://savepic.ru/3804332.jpg
    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.

    I did it.
    http://savepic.ru/3860733.png
    [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.

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

    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>";
    replace
    $lcp_customs .= "<span class=\"lcp-customfield\">" . $value . "</span>";

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

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

    @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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Customize custom field’ is closed to new replies.