WordPress.org

Forums

Featured Post Widget
[resolved] wrapping images in div (2 posts)

  1. stvgrn
    Member
    Posted 1 year ago #

    I'd like to wrap the image of the post with specific html in order to style it as I have other elements within my site. Where would I add this. For example, wrapping the image in a div with a specific class?

    http://wordpress.org/extend/plugins/post-feature-widget/

  2. tepelstreel
    Member
    Plugin Author

    Posted 1 year ago #

    You'll have to find line 306 in the file FP_WidgetClass.php and change it from

    $fpw_image = (isset($fpw_img_tag)) ? '<a href="'.get_permalink().'">'.$fpw_img_tag.'</a>'.$eol : '';

    to something that suites you better.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.