WordPress.org

Ready to get started?Download WordPress

Forums

Post From Site
How to make the image come before the text content. (3 posts)

  1. enderpal444
    Member
    Posted 2 years ago #

    Im using the "post-from-site" plugin. Alls Im trying to do is make it so the image appears before the content text when it's posted. Is that possible? I was looking at the code for submit but couldn't figure out where to change things around. Here's a copy.

    http://wordpress.org/extend/plugins/post-from-site/

  2. kenken023
    Member
    Posted 2 years ago #

    Edit the pfs-submit.php of the plugin:

    find the ff code (line 118):
    if (False === strpos($content,$imgtag)) $content .= "\n\n$imgtag";

    replace it with:
    if (False === strpos($content,$imgtag)) $content = "$imgtag\n\n".$content;

  3. luchosar
    Member
    Posted 2 years ago #

    kenken023..excelente !!!!
    and to align the izquierad?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic