Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    This kind of feature can be achieved with a little bit of Javascript and some CSS tweaks. Unfortunately, this customization falls beyond the scope of support I provide here. Please, hire someone to do it for you.

    Thread Starter dinakar516

    (@dinakar516)

    Thanks for response but can you help me with div’s you wrote in your plugin for featured image and post title I tried searching for those in wordpress-popular-posts.php file but failed to get then and can you confirm me that adding <script> in that file will there be any conflicts??Thanks in advance.

    Plugin Author Hector Cabrera

    (@hcabrera)

    I don’t recommend making changes to plugin’s code. Any modifications will be overwritten next time you update WPP.

    The recommended way to add custom Javascript files (or CSS stylesheets) to your theme is via wp_enqueue_script().

    …can you help me with div’s you wrote in your plugin for featured image and post title I tried searching for those in wordpress-popular-posts.php file but failed to get then

    Sorry, I don’t understand what you meant to say here.

    Thread Starter dinakar516

    (@dinakar516)

    Hi once again leave the above problem now need to separate image from posts title and stats simply I need to remove image from

    • and should have outside

    with some other div class say <div class=”popular_img”>{thumb}</div> how to acheive this.
    Thanks in advance.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, for that:

    • If you’re using the widget, go to Widgets > WordPress Popular Posts and enable the Use custom HTML Markup option under HTML Markup settings.
    • If you’re using either the wpp_get_mostpopular() template tag or the [wpp] shortcode, you can use the post_html parameter to do so (for example: wpp_get_mostpopular( 'post_html="<li><div class=\'popular_img\'>{thumb}</div> {title} {stats}</li>"' );).
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured image should be displayed only on hovering of post title.’ is closed to new replies.