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

  1. enderpal444
    Posted 3 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.


  2. kenken023
    Posted 3 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
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post From Site
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic