WordPress.org

Ready to get started?Download WordPress

Forums

Use plugin function (4 posts)

  1. TonyNooblet
    Member
    Posted 5 years ago #

    Hi, I'm trying to use this function

    <?php if(function_exists('the_views')) { the_views(); } ?>

    inside of a plugin's file but it doesn't work

    <div class="video-processed-post">
    ';
    		$content .= '
    		<div class="video-thumbnail-container">
    			<a href="#">'. get_the_category($post->ID).'</a>
    			<a>ID).'" title="'. get_the_title($post->ID).'"><img src="'.$meta['videoswiper-embed-thumb'][0].'" class="video-thumbnail"></a>
    			<a>ID).'" title="'. get_the_title($post->ID).'">'.get_the_title($post->ID).'</a>
    			'<?php if(function_exists('the_views')) { the_views(); } ?>'
    		</div>
    
    </div>
  2. TonyNooblet
    Member
    Posted 5 years ago #

    Anyone?

  3. TonyNooblet
    Member
    Posted 5 years ago #

    Bump.. =[

  4. TonyNooblet
    Member
    Posted 5 years ago #

    BUMP

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.