add excerpt in list layout (posts?

Home/Support Forums/Pniber/add excerpt in list layout (posts?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #269
    Avatarrwky
    Participant

    Hi there,

    I would like to add excerpts in the list layout, mostly because some of my demo titles are small and I would like to fill up that space.

    p.s. menu icons don’t work at all.

    #270
    LenVan SupportLenVan Support
    Keymaster

    Hi, rwky.

    Follow this way
    YOUR_SITE/wp-admin/theme-editor.php?file=includes%2Ftemplates%2Farchive-post-list.php&theme=pniber

    and paste after line 27 the next code
    lv_do_controller( 'post_text', '160', false );

    + Go to Appearance -> Theme Settings -> Advanced -> Custom CSS and paste

    .posts-box.list .post-text {
    margin-top: 35px;
    }

    Menu icons will fixed in the next update (v1.6).

    Best regards, LenVan

    #271
    Avatarrwky
    Participant

    Hi there,

    Fatal error: Uncaught Error: Call to undefined function lv_do_controller() in /home/ppcist/public_html/wp-content/themes/pniber/includes/templates/archive-post-list.php:28

    LE: changed lv with pniber and it works 😅

    p.s. I’ve updated to 1.6 and it’s OK now with the menu icons
    p.s.2. I have mod security on my web server, so editing php files within the website is not allowed; but I managed to modify the file via FTP.

    • This reply was modified 3 months, 2 weeks ago by Avatarrwky.
    • This reply was modified 3 months, 2 weeks ago by Avatarrwky.
    #274
    LenVan SupportLenVan Support
    Keymaster

    Hi, rwky.

    “LE: changed lv with pniber and it works 😅” – Yes, you are right, sorry.

    Correct code (maybe someone will come in handy) is:

    pniber_do_controller( 'post_text', '160', false );

    Best regards, LenVan

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘add excerpt in list layout (posts?’ is closed to new replies.