how to exclude “div” part

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 7 replies, 2 voices, and was last updated 4 years, 9 months ago by Hekrem.

Viewing 7 reply threads
  • Author
    Posts
    • #1210


      Hekrem
      Participant
      Beginner
      Post count: 5

      Hi,

      I like to configure the image feature, not inside the content with div see print screen.

      Thank you for your helping

      Attachments:
      You must be logged in to view attached files.
    • #1212


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Hello,

      First of all, thank you for your purchase.

      To remove the initial part of the post you show in the screenshot, please do the following:

      Go to importing rule settings -> click ‘Settings’ for the rule you wish to edit -> search for the ‘Strip HTML Elements by Class’ settings field -> input:

      attachment-full

      -> save settings -> import new posts.

      Let me know if this helped.

      Regards, Szabi – CodeRevolution.

    • #1213


      Hekrem
      Participant
      Beginner
      Post count: 5

      Hi, Sir,

      After changing i have <div></div>, please do you help me to exclude this in the content posts?

      Best regards

    • #1214


      Hekrem
      Participant
      Beginner
      Post count: 5

      See print screen in attached file

      Attachments:
      You must be logged in to view attached files.
    • #1216


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Well, unfortunately, this HTML div does not have a class or ID assigned to it, so it cannot be removed by the ‘Strip HTML Elements by Class’ settings field.

    • #1217


      Hekrem
      Participant
      Beginner
      Post count: 5

      I tell you the access in my wordpress to look.

      I have 2 rules, please verify

      https://mergata.ch/wp-admin

      User: mergata.ch

      Pass: #EchoRSS#

    • #1218


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Hello,

      I added this to the ‘Run Regex on Content’ settings field, in rule settings:

      <div><img(?:[\s\S]*?)<\/div>

      Regards.

    • #1219


      Hekrem
      Participant
      Beginner
      Post count: 5

      Thank you very very much

Viewing 7 reply threads

The topic ‘how to exclude “div” part’ is closed to new replies.