Hey there everyone =)
Had to tweak the url's since it wasn't allowing me to post em normally (says I need to post 15 times before...good to stop spambots but bad for new members like myself)
I just recently downloaded and installed the WP-PostViews Plugin by Lester Chan - link further below
In any case, I have added the plugin's widget to my sidebar, below 'The Latest' and 'Most Popular', as seen in http : //test.scninja.com . I gave it the title/name 'test views'.
What I am trying to do is find where within the plugin's .php file is the set of instructions that determine the info output so that I can format said appropriately. Right now, it's just spitting out an <a> with the post title and link followed by '- # Views' in plain text after the closure of the <a> tag. I would like to remove the dash, add a class to '# views' and so forth in order to fully customize the look of my site.
For some reason the plugin's php code is breaking out of the code tags here so I uploaded it as a txt file to my server: http : //test.scninja.com/wp-postviews.txt
Of course the natural thing was to look for the dash in the code, which lead me to:
PHP Code:
$views_options['most_viewed_template'] = '<li><a href="%POST_URL%" title="%POST_TITLE%">%POST_TITLE%</a> - %VIEW_COUNT% '.__('views', 'wp-postviews').'</li>';
I edited that line by removing the dash, saved the changes, refreshed/reloaded the page and surprisingly, the dash was still there!
What is going on here? I've gone as far as adding fake classes to every <li> found in the page to try and detect which one exactly is the one related to the html output but to no avail.
Thanks in advance
G.Campos