WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. stvgrn
    Member
    Posted 3 years 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 3 years 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.