ozkan
Forum Replies Created
-
Yes you can set time range as today-weekly-monthly or all time in widgets page. See the screenshots.
No, I want to wpp_update the page that I redirected from. I mean if i click on post1 then i redirected to post2, i want post1 to get +1 pageview.
So i guess it is not happening because the WPP javascript not even loaded and run because before it’s posted to the client i make a redirect. So I think it is possible only by code. I know what I need is a little awkward, but do you have any suggestion?I was expecting that too, but it didn’t work like that. I put my redirection code at the end of index.php, but plugin never incremented it.
I use this code for redirection:
$URL=”https://www.example.com”;
header (“Location: $URL”);Because when a post link is clicked i want to make a redirection to another page or post, but still want that post to get its click count. So then i think the way to do it is to increment it by code, if i am not wrong.
When a post detail page is opened by user, WordPress Popular Posts plugin adds +1 to the click count of that post. What I want is to make it in a php file by writing a code like incrementPostCount(post_id); Is there a way to do it, or where should i check for that in the plugin’s codes. Any help is appreciated.
Thanks for your response.