Modification to wordpress popular posts plugin - repost

I am having some trouble modifying a plugin wordpress popular posts i installed.

It has an option to fetch thumbnails from a custom field, which i have entered as "image_facebook". But the thumbnails are not being displayed.

While checking the code i found that img src has post id instead of returning image URL.

I have narrowed down the problem to another plugin which i have installed [url removed, login to view] and while it is active I have to use "the_field ()" to fetch the custom field content instead of regular wordpress "get_post_meta" It is documented here [url removed, login to view]

I need to edit the code in the wordpress popular posts file to use the_field() function. In my theme files i am able to retrieve the Image URL via following code :-

<img src="<?php echo get_field('image_facebook'); ?>" alt="<?php the_title(); ?>" class="postImg" />

However I'm unable to find the right place in loop to add get_field.

A quick fix here will be highly appreciated.

Habilidades: PHP, Arquitetura de software, WordPress

Veja mais: wordpress resources, wordpress posts not found, wordpress popular, img wordpress, find the right wordpress theme, advanced resources, plugin wordpress, edit some wordpress code, custom plugin wordpress, advanced custom field, fetch post, custom theme modification, wordpress popular post, php wordpress add custom field, find posts, custom field post wordpress, wordpress add quick edit, custom loop, wordpress fix url, repost via wordpress, wordpress plugin repost, wordpress custom field, echo fix url php, add image quick edit, custom php modification wordpress plugin

Acerca do Empregador:
( 47 comentários ) Lahore, Pakistan

ID do Projeto: #5128722

Concedido a:


A proposal has not yet been provided

$7 USD / hora
(4 Comentários)