Title: pcmaple's Replies | WordPress.org

---

# pcmaple

  [  ](https://wordpress.org/support/users/pcmaple/)

 *   [Profile](https://wordpress.org/support/users/pcmaple/)
 *   [Topics Started](https://wordpress.org/support/users/pcmaple/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pcmaple/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pcmaple/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pcmaple/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pcmaple/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pcmaple/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Nelio External Featured Image (discontinued) - Available in Nelio Content] Plugin Not Working On Fashionista Theme](https://wordpress.org/support/topic/plugin-not-working-on-fashionista-theme/)
 *  Thread Starter [pcmaple](https://wordpress.org/support/users/pcmaple/)
 * (@pcmaple)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-not-working-on-fashionista-theme/#post-8234114)
 * and i found another associated file, but i still didnot know how to fix the problem,
 *     ```
       <?php
       /**
        * @package WordPress
        * @subpackage Fashionista WordPress Theme
        */
   
       if( ! function_exists( 'wpex_entry_thumbnail' ) ) {
       	function wpex_entry_thumbnail() { ?>
       		<?php
       		if( !has_post_thumbnail() ) {
       			return;
       		}
       		// Overlay Icon
       		$url = get_permalink();
       		$overlay_icon = 'fa fa-plus';
       		$extra_classes = '';
       		$format = get_post_format();
       		if ( 'gallery' == $format ) {
       			$overlay_icon ='fa-picture-o';
       		} elseif ( 'audio' == $format ) {
       			$overlay_icon ='fa-music';
       		} elseif ( 'link' == $format ) {
       			$url = get_post_meta( get_the_ID(), 'wpex_post_url', true ) ? get_post_meta( get_the_ID(), 'wpex_post_url', true ) : get_the_permalink();
       			$overlay_icon ='fa-link';
       		} elseif ( 'image' == $format ) {
       			$url = wp_get_attachment_url( get_post_thumbnail_id() );
       			$extra_classes = 'fancybox';
       			$overlay_icon ='fa-arrows-alt';
       		} ?>
       		<a href="<?php echo $url; ?>" title="<?php the_title(); ?>" class="loop-entry-img-link <?php echo $extra_classes; ?>">
       			<img src="<?php echo aq_resize( get_the_post_thumbnail() ), wpex_img_size( 'entry', 'width' ), wpex_img_size( 'entry', 'height' ), wpex_img_size( 'entry', 'crop' ) ); ?>" alt="<?php echo the_title(); ?>" />
       			<div class="entry-overlay"><span class="fa <?php echo $overlay_icon; ?>"></span></div>
       		</a>
       	<?php }
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Plugin not working after I voted one time](https://wordpress.org/support/topic/plugin-not-working-after-i-voted-one-time/)
 *  Thread Starter [pcmaple](https://wordpress.org/support/users/pcmaple/)
 * (@pcmaple)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-working-after-i-voted-one-time/#post-4824417)
 * thanks, I changed one option to “do not log”, and the problem resolved, and again,
   thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Ensure Your Theme Has wp_head() and wp_footer()](https://wordpress.org/support/topic/ensure-your-theme-has-wp_head-and-wp_footer/)
 *  [pcmaple](https://wordpress.org/support/users/pcmaple/)
 * (@pcmaple)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/ensure-your-theme-has-wp_head-and-wp_footer/#post-4135181)
 * and the post I added [ratings] is [http://www.roselline.com/test.html](http://www.roselline.com/test.html)
   
   would you please help me with this problem? thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Ensure Your Theme Has wp_head() and wp_footer()](https://wordpress.org/support/topic/ensure-your-theme-has-wp_head-and-wp_footer/)
 *  [pcmaple](https://wordpress.org/support/users/pcmaple/)
 * (@pcmaple)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/ensure-your-theme-has-wp_head-and-wp_footer/#post-4135180)
 * I checked the code, both are there, but the plugin cant work after voted for 
   once, actually, I tried to add the line directly to single.php, but it comes 
   out error.
    any ideas? Thanks.

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