Support » Plugin: JSM's file_get_contents() Shortcode » get by class or filter

  • Resolved dantek2


    I’m trying to get only the body of an external url but it’s outputting more than that with the default attributes.

    I tried using the class option but it doesn’t work or I’m doing it wrong. Can you tell me how I could output just the body of the link I supplied?

    Or can you provide an example filter function I can create?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author JS Morisset


    The shortcode only keeps text between the <body></body> tags by default, so there’s nothing to do. If you need to manipulate the text further, you can use the ‘filter’ argument to specify a custom filter name that will be called to further process the text.


Viewing 1 replies (of 1 total)
  • The topic ‘get by class or filter’ is closed to new replies.