Forums

[resolved] video embed nor syntac highligher code work on single post (5 posts)

  1. Rhand
    Member
    Posted 1 year ago #

    Using the latest WordPresss 3.0.1 . XHTML Video embded and Syntax Hightlighter short tags work on the blog or index page, but are just printed without showing a video or highlighted code on a singel post or after a readmore tag. Any ideas why?

  2. Rhand
    Member
    Posted 1 year ago #

    Read an intersing article on shortcodes here and added a comment to Video Embed's plugin page. But no solution yet why the shortcodes for Video Embed nor Syntax Highlighter work on single post pages but do work on the blog page.

  3. Rhand
    Member
    Posted 1 year ago #

    Turned off all plugins except XHTML Video embed. No joy. Switched themes and guess what this only occurs using my new theme. Now I need to find out how..

  4. Rhand
    Member
    Posted 1 year ago #

    Single post code for theme here: http://wordpress.pastebin.com/jsxeG6CQ . Does anyone see any code that could block plugin short tags from working?

  5. Rhand
    Member
    Posted 1 year ago #

    Never mind. I did not load the content properly using the the_content(); function. With:

    <?php the_content(__( 'read more...', 'dnet'));
    // $content = get_the_content();
    // _e( $content );
    ?>

    all good.

Topic Closed

This topic has been closed to new replies.

About this Topic