[Plugin: Google Analytics Popular Posts] Placing the function in just the right place
Hi there, awesome plugin. It works exactly like I wanted! I was hoping you could help with something.
I’m currently using a theme by WooThemes which has its own built-in “Popular Posts” widget. You can see it on my site here: http://dispatchesfromafootballsofa.com
The problem is that the theme’s built-in function determines popularity based on number of comments, but I want popularity to be based on number of page views like in the plugin you’ve written.
Here is the function used by my theme in making the current Popular posts widget: http://pastebin.com/LZ6a7Ywj
Do you know where or how I can call your function instead? I figured, logically, it would be as easy as pasting
GoogleAnalyticsPopularPosts_view()into just the right spot. That would mean the least amount of code changes. What do you think?
- The topic ‘[Plugin: Google Analytics Popular Posts] Placing the function in just the right place’ is closed to new replies.