• Resolved Chipleh

    (@chipleh)


    I believe I am down to my last item for my aggregation project, which has come along a lot faster than I was expecting, thanks to your help. I’m working on sorting the last item out, but thought I’d ping you and see if you’ve seen this before.

    First I do this(which is working great):
    go to test page

    Then when I arrive at that page, my content loads great, and I have modified the urls for all the aggregated data via views>post>thumbnail: starting at line 21:

    $newUrl = ‘./full-page/?include_post=’.$the_post[‘ID’].’&thumbnail=true&size=800×540&full_text=true&show_author=true&list=1&column=1′;

    if ( $the_post[‘post_type’] != ‘estore’ ) {
    $html .= ‘‘ . get_thumbnail_by_blog( $the_post[‘blog_id’], $the_post[‘ID’], $size, $image_class, $column ) . ‘‘;

    When a user clicks on the aggregated data, the user is taken to the ‘full-page’ template, and all the data is displayed from the individual post that the user clicked.

    In order to display the full post properly, inside of your plugin structure: views>post>content>Line Line 52: I’m doing:

    if ( $full_text ) {
    $text = apply_filters( ‘the_content’, $the_post[‘post_content’] );

    Which renders the content with its html tags(before that, I was getting raw text from the db).

    However, the only hang up when I do this is that within the body content, all of the content renders perfectly, but the iframes are being stripped out, and instead of seeing the embedded content, WordPress tells me:

    (Your browser doesn’t support iframe).

    However, on my multisite blogs, embedded content works fine.

    I plan on moving all the code I’ve modified into my theme’s functions, but for now, I’m extending your code.

    Back to troubleshooting,
    chipleh

    • This topic was modified 8 years, 11 months ago by Chipleh.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    The test page link doesn’t work.

    Thread Starter Chipleh

    (@chipleh)

    sorry, that was just my crappy code paste, not a link, and such an issue doesn’t matter, iframes suck period, it’s a WordPress filter rendering issue, and I’m looking into it. I have a bunch of extensions going on now, I’ll email ya some code soon.

    Thread Starter Chipleh

    (@chipleh)

    mark as resolved: trivial

    *I hate and love jira.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘iframe content stripped out when full_text=”true”’ is closed to new replies.