Post views thumbnail %POST_THUMB% to theme functions.php
-
Hi guys,
I am using wp-postviews with thumbnails in my blog. I am adding thumbnails like this:
—
Find 5-6 lines in wp-postviews.php with
$temp = str_replace("%POST_URL%", get_permalink($post), $temp);
add in he bottom
$temp = str_replace("%POST_THUMB%", get_post_meta($post->ID, 'mvb_thumb_url', true), $temp);
—Everything works, that’s great, but the problem is – every time plugin get’s updated, I need to manually edit plugin code to add that line to wp-postviews.php with %POST_THUMB%
Maybe there is a way to automatically add that line of code with %POST_THUMB% to theme functions.php? so I do not need every time after update edit files…
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Post views thumbnail %POST_THUMB% to theme functions.php’ is closed to new replies.