Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #24362

    I have two questions.

    1. Is there a way to make it so videos appear under the post title and not above it?

    2. Is there a way to make a post with Quote Format type selected to have the titles be links instead of blockquotes? Obviously this would be needed if you want comments on your quote posts.


    1) In wp-contentthemesenfoldincludeshelper-post-format.php delete following line:

    add_filter( 'post-format-video', 'avia_video_slideshow_filter', 10, 1 );

    2) Replace

    $current_post['title'] 		= "<blockquote class='first-quote'>".$current_post['title']."</blockquote>";


    $current_post['title'] 		= "<a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'><blockquote class='first-quote'>".$current_post['title']."</blockquote></a>";


    Please note that for Item #1, the change you requested did not work as it seems to have removed the formatting of the post title and such. However, I made the following change which seems to have worked. Can you verify that this should not be a problem.

    Changed Lines:

    $current_post = do_shortcode($wp_embed->run_shortcode($video));

    $current_post = str_replace($match_video[0], “”, $current_post);

    To Lines:

    //$current_post = do_shortcode($wp_embed->run_shortcode($video));

    $current_post = $current_post;

    Note: These are lines 121 & 122..

    Also, for item #2, your change worked without problem but is there a way to also make it so the post title is not type blockquote? That way it will look like a normal post except for the format type icon on the left..



    2.) You can use this instead.

    $current_post['title'] = "<a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'><h2>".$current_post['title']."</h2></a>";




    Works perfectly.

    Thank you…

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Video position & Blockquote link’ is closed to new replies.