[TUTORIAL] Make Widget like in this site
It is very simple: you have to use HTML.
You can use all the HTML potential (insert tables…) 🙂
For example, here the text I put inside the widget in this site:
<ul>
<li>Visitors online: %visitorsonline% </li>
<li>Today visits: %visits%</li>
<li>Total page visits: %thistotalvisits%</li>
<li>Total site visitors: %totalvisits%</li>
<li>Your ip: %ip%</li>
<li>Your browser: %browser%</li>
<li>Your os: %os%</li>
</ul>
Many thanks, I started the NewStatPress today on our website and inserted the widget. Looking great, again many thanks.
Hello, I tried all possible and fail to make me appear one above the other as on your site.
 Look at this link as it appears: …
Can you give me a solution that can not do it, I copied the HTML code and I do not miss.
Thanks and look Response
Sorry, the HTML codes were altered by WP editor. Now it is in good format.
Hi
I have been using newstatpress widget happily until recently I realized that the stats were not displaying correctly on my sidebar. I copied to HTML again and it is still not working. Does it take awhile for it to become effective or something? The newstatpress within my dashboard seems to work fine. Really appreciate your help.
Did you see a – instead of number?
If so that variable is a one that use ajax and Api call for an ayncronous visualization.
It will be popolated by values when the API call get a result.
If you want to test by hand, insert this in a browser:
http://newstatpress.altervista.org/wp-content/plugins/newstatpress/includes/api/variables.php?VAR=totalvisits&LIMIT=0&FLAG=&URL=“;
you will see the total visits display in the page.
Try to modify the domain name with your site and see what comes out for you.
I see that some people has change the standard permission of WordPress direcory, so they get a Permission Denied message insteda of the API result.
Hi, I just don’t see any numbers at all from the widget, even though I can still see all the stats in the control panel. So I don’t see a “-“. If the problem is change in standard permission of WordPress directory. How do I fix it? Sorry I am not very good with tech things, you may have to break it down for me. Really appreciate your help. Thanks
if you do in a browser
http://YOURSITE/wp-content/plugins/newstatpress/includes/api/variables.php?VAR=totalvisits&LIMIT=0&FLAG=&URL=“;
where YOURSITE is your site address with the path to wordpress installation, what did you see a video?
I don’t think it is a permission problem otherwise you should have change them as Wodpress installation use a standard permission scheme.
If you want, use the contact form and send me your site address so I can check the ajax call with developer instrument into the browser
Hello,
I have the Problem with the “_” in the Widget, no number is to see.
Am I Administrator an in the dashbord, I can see all numbers in the Widget.
I make what you have wrote to Winny an there I can see the number.
Now, what can I do to show the numbers for Visitors of my website?
Please write in simple english, thank you.
With best regards werw
dashbord did not use ajaxx actually (it will be used in future, like all the other stuff).
If you have the widget active, please post your site using the Contact form (if you don’t whant to make it public here) so I can see with developer instrument what the ajax call return.
thanks
Hi I’ve added the html to a text widget on the contacts page but the widget doesn’t seem to recognise the Newstatpress variables (the Newstatpress plugin is installed and the the theme is comodo by Natty.
Thanks
Martin
hi,
be sure to use the Newstatpress Widget, not a generic Text widget for inserting the variables
Problem solved: the widget shows “-” because the option in the htaccess were too restricted. This can happen by using some restrict options of secutity-plug-ins.
Thanks to Stefano for very nice helping to found the cause!!
Best Greetings – Wera
it not working for me… its just showing the html code as it is above…
hi, please contact me using the Contact form so we can see details on mail. Thanks
hello does the plugin newstatpress does alway exist ?
hi,
yes: https://github.com/lechab/newstatpress
unfortunately we still need lot of work for plugin reopen at WordPress (all open points into the list must be finished before have the plugin enabled).
thanks