Attachment Cruncher
plugin loses content (incl image) (3 posts)

  1. andrispip
    Posted 2 years ago #


    Whatever I edit in the preferences I am always loosing all content from my post when this plugin gets activated and only when its activated. I disabled all other plugins and returned my theme to the default too.
    If I enable the cruncher to write decription into the content itself, then tha additional content gets written back, but the original is lost. I tried to add only an image, image + text. Whatever I do all is lost.
    I will try to figure out what is wrong, but any hints are welcome.
    regards, András


  2. andrispip
    Posted 2 years ago #

    ps1, This is a great plugin bytheway:)

    p2, my content property is by default blank of course, so I think it should not edit (replace) it in that case.

  3. andrispip
    Posted 2 years ago #


    The evaluation "if ( isset( $this->options['excerpt'] ) ) {" and the others for title and content does not seem to work. If I uncheck all, then it seems as most part of "crunch_properties" does not run. But is any of these are set (I tried with the title), then all will run and replace.
    I tried to solve it in an elegant way, but I was unable to do that, solution was to comment out the line:
    $post->post_content = $this->get_source_value( $this->options['content'], $attachment_ids );

    If I do find the energy to make it more pro, then I will post it here.

    So now I have updating fields and also my main image remaining in the content area.

    regards, András

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Attachment Cruncher
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.