• Siddiq

    (@hasbunallahdotcom)


    Hi
    Firstly i would thank you for producing such an efficient plugin which addresses almost all the requirements of a wordpress blog a blogger can imagine.

    Few questions:

    1) What is the variable for extracting excerpt of a post?
    ###POSTDESC### is extracting few lines from the post content which i don’t want to use as i am using shortcodes in my post contents along with some characters. ###POSTDESC### removes the shortcodes which is fine, however it shows those characters which are present after shortcodes, and this is worrying me. SO an excerpt is a better choice here. Please advise.

    2) style.css of my theme is not accepting the classes defined by the widget. For example, using .es_labelbox{padding-left:5px!important;} does not work at all. In style editor, i can see plugin specific CSS file being used. Shall i be inserting these classes into that file?

    3) I have set the default thumbnail size to 625 x 250 which is of my featured image, however it is still showing size of 150 x 150. Any idea why is it so?

    Appreciate your advise.

    Regards,

    https://www.ads-software.com/plugins/email-subscribers/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 1. To change the ###POSTDESC### details
    File to be modified : classes/es-sendmail.php
    Line Number : 185

    2. Yes you can add all the content from plugin “es-widget.css” file to your theme CSS. Also please check with your designer for CSS override.

    3. We are using get_the_post_thumbnail() wordpress method to get the images.

    Thread Starter Siddiq

    (@hasbunallahdotcom)

    Thanks for your response.

    2 & 3 has been done already.

    Regarding Query 1, line 185 is:

    $the_excerpt = $post->post_content;

    How i am going to modify it to suit the excerpt only?

    Thread Starter Siddiq

    (@hasbunallahdotcom)

    What is the keyword for excerpt instead of post_content? is it “the_excerpt”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Excerpt and Styling’ is closed to new replies.