• Resolved stitch19

    (@stitch19)


    Could you please help me with something. I installed the latest plugin on my wordpress whioch is the 2.8.4 version. The plugin works fine but i CANT see the video when I go to my homepage, I need to press and open the specific topic in order to see the video, if i am not in the topic then its just blank…..

    Yes i checked my template header and footer and they both have

    <?php wp_head();?>
    <?php wp_footer();?>

    I really no what else to do.

    My template name is TypeBased.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Disable all other plugins and try again. If that doesn’t work, try the default theme.

    Also a link to your site would be helpful. ??

    Thread Starter stitch19

    (@stitch19)

    https://www.filmcy.com i will try what u suggested

    Thread Starter stitch19

    (@stitch19)

    i disabled all plugins and still the same issue

    Try the default theme as a test. Your theme appears to be using the_excerpt() or some type of hack on it’s homepage.

    Thread Starter stitch19

    (@stitch19)

    yep the default theme is working fine and showing videos on homepage, you can you help me with the the_excerpt thing how to change it or what can I do?

    thanks

    You’ll need to replace the_excerpt() with the_content() if you wish videos to show up. the_excerpt() is specifically designed to strip all HTML and such.

    Thread Starter stitch19

    (@stitch19)

    one last thing, in which file of the theme is that function?

    Thread Starter stitch19

    (@stitch19)

    thanks a lot, i mean A LOT, its working ??

    Hi!

    I have the same problem as Stitch19. My website is VegasInsidersClub.com and I cannot play video on the homepage. I have Revolutions City theme.

    You mentioned this (where can I find this?):

    “You’ll need to replace the_excerpt() with the_content() if you wish videos to show up. the_excerpt() is specifically designed to strip all HTML and such.”

    Thanks a million!!

    Fred

    In your theme’s index.php file or your home.php file if it exists.

    daydreamlabs

    (@daydreamlabs)

    Hi have been experiencing the same issue… I’ve tried having a look at the above but can’t seem to fix it can you give me a hand?

    Site – daydreamlabs.net

    Cheers,

    Lewis

    I am trying to have youtube videos show up the home page of my wordpress website. I am using the Gabfire Magazine theme. I have installed the plugin Viper’s Video Quicktags. However before I installed that, I could put the embedded video into a post and it would not show up the home page but instead would show up when the user visited the actual post. So to attempt to rectify that, I installed the Viper Quicktags plugin. Now it has a parse error that shows up and that is on the home page and the actual post. I may not have installed it correctly. My header contained <?php wp_head();?> but my footer did not contain <?php wp_footer();?> so I added it arbitrarily to a point in there. I think that might be where I messed up. Below is the footer code:

    <!-- /if you are going to place a google analytics or other track service snippet, pate it here -->
    <?php wp_footer();?>
    <div id="footer">
    <a href="https://www.magazine-themes.com/">WP-Magazine</a> by <a href="https://www.gabfire.com/">Gabfire</a> Brought to you by <a href="https://www.playstation4communtiy.com">Playstation 4</a>, <a href="https://www.ps3-spiele-portal.de/">PS3</a> and <a href="https://www.ubiquityhosting.com">Linux Web Host</a>
    </div>
    </body></html>

    Below is the header code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="https://gmpg.org/xfn/11">
    
    	 <title>
    		<?php bloginfo('name'); ?>
    		<?php if(is_home()) { ?>
    		- <?php bloginfo('description'); ?>
    		<?php } ?>
    		<?php if(is_single()) { ?>
    		<?php } ?> <?php wp_title(); ?>
    		<?php if(is_404()) { ?>
    		- 404 Error! Page Not Found
    		<?php } ?>
    		<?php if(is_search()) { ?>
    		- Search Results for: <?php echo wp_specialchars($s, 1); ?>
    		<?php } ?>
    	 </title>
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<style type="text/css" media="screen">
    		@import url( <?php bloginfo('stylesheet_url'); ?> );
    	</style>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/p7exp.js"></script>
    	<!--[if lte IE 7]> <style>#menuwrapper, #p7menubar ul a {height: 1%;} a:active {width: auto;} </style> <![endif]-->
    	<?php if(!is_home() ) { ?> <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('template_url'); ?>/print.css" /> <?php } ?>
    	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    	<?php wp_get_archives('type=monthly&format=link'); ?>
    	<?php wp_head(); ?>
    </head>
    <body>
    
    <div id="wrapper">
    
    	<!-- Header -->
    	<div id="header">
    
    		<!-- Logo -->
    		<div id="headerleft">
    			<h1><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h1>
    		</div>
    
    		<!-- Searchbox and date -->
    		<div id="headerright">
    			<script src="<?php bloginfo('template_url'); ?>/javascript/date.js" type="text/javascript"></script>
    			<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    		</div>
    
    		<!-- Header Navigation -->
    		<div id="navigation">
    			<ul id="p7menubar">
    				<li<?php if(is_home() || is_404() || is_single() || is_category() || is_day() || is_month() || is_year() || is_search() ) { ?> class="current_page_item"<?php } ?>><a href="<?php bloginfo('home'); ?>">Home</a></li>
    				<?php wp_list_pages('sort_column=menu_order&title_li='); ?>
    			</ul>
    			<ul id="feeds">
    					<li><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries <span class="rss">(RSS)</span></a></li>
    					<li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments <span class="rss">(RSS)</span></a></li>
    			</ul>
    
    			<div style="clear:both"></div>
    		</div>
    
    	</div>
    	<!-- /Header -->

    Below is the section of index.php that I need the video to show up on:

    <!-- Middle Column -->
    		<div id="midcolumn">
    			<h2>Latest News</h2>
    			<!-- Loop for latest news -->
    			<?php $oddentry = 'class="gray" '; ?>
    			<?php query_posts('cat=1,26,35,15,23,27,24,25,13&showposts=5'); ?>
    			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <img src="<?php echo get_post_meta($post->ID, "Center Thumbnail", true);?>" />
    			<div <?php echo $oddentry; ?>>
    				<div class="midcolumnpost">
    					<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    					<?php the_excerpt_reloaded(30, '<img><a>', 'content', false, 'More...', true);?>
    					<div class="details">
    						<?php the_time('F j, Y'); ?> | <?php comments_popup_link(__('Leave comment'), __('1 Comment'), __('% Comments'));?> | <a href="<?php echo get_permalink(); ?>" title="Read More">Read More</a>
    					</div>
    				</div>
    			</div>
    			<?php /* Changes every other post to a different class */	$oddentry = ( empty( $oddentry ) ) ? 'class="gray" ' : ''; ?>
    			<!-- End of Loop for middle column -->

    Essentially if you look at the home page of https://www.reelhits.com, the center column is where I want the video to show up. I just want the video and the post title.

    Thanks for any help you can provide.

    You are using the_excerpt_reloaded() which means the video won’t show up on the homepage. Use the_content() instead and <!--more--> in your posts where you want it to split.

    Otherwise everything looks fine.

    awesome! That worked! You rock!

    Thanks so much!

    I’m having a similar problem where I want Vimeo videos as well as images to display on the homepage, but I want the image to link to the post, and the video able to be played.

    I used the_content() instead of ‘the_excerpt()’ and that displays everything just fine (except for knocking my postmetadata div down), but when I click on an image, it goes to the linked image instead of the article.

    I had this working a while ago, what happened!?!?

    My Site

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Viper’s Video Quicktags] Cant shows videos on homepage’ is closed to new replies.