[Resolved] [Plugin: Video Thumbnails] Scan whole post instead of "the_content"
Well, I’ve done some heavy coding on my wordpress blog and I’ve managed to place my YouTube embed code outside of “<?php the_content(); ?>”.
I’ve created a custom taxonomy to place the Youtube video id in the embed code using shortcodes for easier back-end use.
My question, is there a way to scan outside of “<?php the_content(); ?>”?
Is it possible to scan a div within the post? that way I can put the embed video inside a div and have the plugin scan that div on every post I make.
I believe this is the code I need to modify scanning “the_content”:
$post_array = get_post( $post_id );
$markup = $post_array->post_content;
$markup = apply_filters( ‘the_content’, $markup );
thanks for your help 😀
- The topic ‘[Resolved] [Plugin: Video Thumbnails] Scan whole post instead of "the_content"’ is closed to new replies.