• Hi. When I look at my listings page, the vehicle detail is shown in full. This makes each vehicle very long. Is there any way to truncate this so it only shows 1-2 lines?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Andy download tiny mce plugin and sur the ready more tab. Works die me. Der Superclassics.eu

    Thread Starter andysupercartribe

    (@andysupercartribe)

    Thanks buddy. Which TintMCE plugin is it? There seems to be a number of different ones.

    Thanks.

    Morning Andy,
    I’m using TinyMCE Advanced by Andrew Oss to shorten the text, for inserting videos I Use YouTube by EnbedPlus Team. Tiny MCE also providesthe possebility to add an image with link which I use as a gt back button to all cars or show all cars from this dealer.

    I have the same issue and cannot get it to show in grid. Please can someone help me get this solved. I’ve even downloaded template and copied some functions over but to no avail. I have tried tiny mce plugin as well.

    I hope to hear from you soon…

    Thank you

    This can be corrected as follows:
    1. Create folder in your theme directory /listings/loop/
    (hope you’re using a child theme)
    2. in /loop/ directory create file description.php
    3. add this code

    <?php
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly.
    }
    ?>
    
    <div class="description"><?php echo wp_trim_words( get_the_content(), 50 ); ?></div>

    50 is number of words
    you can change it to as many words as you want to appear

    sorry for my bad english

    • This reply was modified 4 years, 7 months ago by gecatabg.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @nhalauxehoi I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials. I have flagged your account temporarily. That just means that your post will need to be approved and @ notifications from you will not work.

    https://wordpress.org/support/guidelines/#the-bad-stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Listings are showing full detail’ is closed to new replies.