Support » Plugin: Auto Listings » Listings are showing full detail

  • 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

    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

    Plugin Support Hung PD

    (@nhalauxehoi)

    Hi,

    Can you leave us a ticket here and send us your website credentials? Thank you.

    Regards

    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 3 months, 1 week ago by gecatabg.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.