WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jacky_K
    Member
    Posted 1 year ago #

    Hi!
    Gorgeous plugin. But I can not adjust the output custom field and title on one line. Can anyone help?
    http://savepic.ru/3845482.jpg

    http://wordpress.org/extend/plugins/list-category-posts/

  2. picandocodigo
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    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.

  4. jacky_K
    Member
    Posted 1 year ago #

    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.

  5. jacky_K
    Member
    Posted 1 year ago #

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

  6. jacky_K
    Member
    Posted 1 year 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>";
    replace
    $lcp_customs .= "<span class=\"lcp-customfield\">" . $value . "</span>";

  7. mk42
    Member
    Posted 9 months 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
    Member
    Posted 9 months 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
    Member
    Posted 9 months 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

About this Topic

Tags

No tags yet.