WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
[resolved] Hack post title adding elements (12 posts)

  1. danicasati
    Member
    Posted 8 months ago #

    Hi.
    It would be possible to hack title adding customized elements?

    For example:
    MY POST TITLE

    to
    MY POST TITLE + (my customized string)

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

  2. fernandobt
    Member
    Plugin Author

    Posted 8 months ago #

    How do you suggest this would work on the shortcode? Would it be one string for every post or one per each post? If so, I guess the best would be to make it a custom field. I'll work a way out of displaying just custom field values and not their names for a future version.

  3. danicasati
    Member
    Posted 8 months ago #

    Sounds good, but a simpler solution is ability to attach a custom string with every shortcode.
    Actually, if I put a string AFTER shortcode, it is displayed BELOW post list, but plugin could support this feature, INSIDE shortcode add a custom string.

    Result could be this:
    POST TITLE (my custom string)

    Anyway, ability to display only custom field values is a great feature too.

  4. danicasati
    Member
    Posted 7 months ago #

    What about this feature? Any news?
    I'm actually using a shortcode for every list and a H3 title for every shortcode, but height of site is too big.
    With this feature, I could put desired information in same line.

  5. fernandobt
    Member
    Plugin Author

    Posted 7 months ago #

    I've been running low on time for the plugin these days, but I'll get some new coding done this week.

  6. danicasati
    Member
    Posted 7 months ago #

    Wow, Vagrant Box new feature seems very difficult to use...
    Anyway, any news about ability to add manually strings?

  7. fernandobt
    Member
    Plugin Author

    Posted 7 months ago #

    The Vagrant box is mostly oriented at developers who want to hack on the plugin without having to set up Apache + PHP + MySQL on their machines. It's not that complex, following the documentation is pretty straight forward if you are familiar with GNU/Linux.

    Back to this feature: It's implemented, just update to version 0.39 and use the post_suffix parameter:

    post_suffix - Pass a string to this parameter to display the string after every post title:

    [catlist numberposts=-1 post_suffix="Hello World"]

    Will create something like:

    <ul class="lcp_catlist" id=lcp_instance_0>
      <li>
        <a href="http://127.0.0.1:8080/wordpress/?p=42" title="WordPress">
          WordPress
        </a> Hello World </li>
  8. danicasati
    Member
    Posted 7 months ago #

    Excellent!
    Keep your good work!

    Thank you very much for improving this plugin.

  9. fernandobt
    Member
    Plugin Author

    Posted 7 months ago #

    :D

    Let me know what you think!
    Regards,

  10. acnezone
    Member
    Posted 7 months ago #

    HI! I'm a newbie

    Please, Can you help me with this css ?

    Now I've got this - http://acnereview.ru/obychnye-umyvalki

    How can I make like this - http://usagain-minneapolis.com/news/

    I need to edit lcp_paginator.css or something else?
    What I need to edit, where?

    In what file I need to put these?

    img.lcp_catst { float:left; margin:5px 10px 5px 0; width:100px; height:100px; vertical-align:text-top; }

    span.lcp_title {
    display: block;
    font-size: 11pt;
    font-family: sans-serif;
    }
    span.lcp_excerpt {
    display: block;
    font-family: sans-serif;
    }
    .lcp_date p {
    display: block;
    }
    #content ul.lcp_catlist li {list-style-type:none; display:block;}
    ul.lcp_catlist li {list-style-type:none;}

    Many, many thanks!!!!

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

  11. danicasati
    Member
    Posted 7 months ago #

    This feature is work perfectly.
    It would be better to add HTML code, so user could use a link or any HTML tag in the title.

  12. fernandobt
    Member
    Plugin Author

    Posted 7 months ago #

    acnezone: Please open a new thread for your question.

    danicasati: I'll look into that.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.