WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
changes in wordpress-popular-posts.php not reflected (4 posts)

  1. jacksheo
    Member
    Posted 2 years ago #

    Hi,

    I added the wordpress popular posts widget to the middle column in the footer (see "Popular Reads" at http://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.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. H├ęctor Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  3. jacksheo
    Member
    Posted 2 years ago #

    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:
    [

  4. <span class="small-custom-frame alignleft">
  5. ] []

  • jacksheo
    Member
    Posted 2 years ago #

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

    2) Before / after each post:

  • <span class="small-custom-frame alignleft"> &
  • Topic Closed

    This topic has been closed to new replies.

    About this Plugin

    About this Topic

    Tags