Using Theme Functions


Home Forums Front-end Questions Using Theme Functions

This topic contains 3 replies, has 2 voices, and was last updated by  admin 2 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42654

    mailforerica
    Member

    Hello! I’ve edited my custom WP theme to use the video function for your plugin (found here), but my post pages are now showing two videos. How do I remove the video from the post entry area? (Example of issue: http://larpgirl.com/2014/06/larp-girl-chicken-stew-larp-recipe-special-guest/ )

    #42667

    admin
    Keymaster

    Hi, Erica.

    May I ask why you’re using the video function if the video is already being displayed on the post?

    #42717

    mailforerica
    Member

    Because I’ve made a custom video post format, and I want the video to be full-width of the container, rather than have padding around it like the entry text does.

    • This reply was modified 2 years, 4 months ago by  .
    #42727

    admin
    Keymaster

    Try changing line 25 of /front/video.php from this:

    add_action('the_post','WP_ayvpp_video_init');

    To this:

    //add_action('the_post','WP_ayvpp_video_init');

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

You must be logged in to reply to this topic.



Copyright © 2013 Ternstyle LLC. All rights reserved.
site design: ternstyle.us