• Hi,

    I added the wordpress popular posts widget to the middle column in the footer (see “Popular Reads” at https://www.jacksheo.com).

    In the widget, I enabled “Use custom HTML Markup” and added in some simple HTML into both “Before / after Popular Posts:” & “Before / after each post:”

    I then proceeded to the Plugins section to try and edit the page “wordpress-popular-posts/wordpress-popular-posts.php”

    I added the “</span>” tag to the end of lines 719, 815, 825 to try to resolve the border that is surrounding each post under the Popular Reads section. But these changes are not reflected on the webpage. When I “view source”, the “</span>” tag is not inside.

    What did I miss?

    Thanks in advance for any pointers.

    https://www.ads-software.com/extend/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi Jack,

    Just checked your site. Problem is you’re wrapping the entire content with the span small-custom-frame, not just the image. That is why each popular post is getting the grey border.

    Can you please post here the code you used on the Use custom HTML Markup section?

    Thread Starter jacksheo

    (@jacksheo)

    Hi Hector,

    Yes, I am aware that the span tag is causing the problem. I thought by adding a </span> tag to wordpress-popular-posts.php, the problem would be solved. But even after adding the </span> tag, it does not appear on my website when I view source.

    I used the following codes in Use custom HTML Markup section:

    1) Before / after Popular Posts:
    [<ul class=”small-thumb”>] []

    2) Before / after each post:
    [

    • <span class=”small-custom-frame alignleft”>
    • ] []

    Thread Starter jacksheo

    (@jacksheo)

    1) Before / after Popular Posts:
    <ul class=”small-thumb”> &

    2) Before / after each post:

    • <span class=”small-custom-frame alignleft”> &
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘changes in wordpress-popular-posts.php not reflected’ is closed to new replies.