Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
juodcv
tagDiv Member

Info enviada

juodcv
tagDiv Member

Hi, it won’t let me paste the code directly here, it gives me an error.

Our system detected some kind of strange traffic from your ip. This error has been logged and if our system is damaged, we will fix it as soon as possible.

Contact email and I send it to you

greetings

juodcv
tagDiv Member

Hi this solution still works for me.
In order not to modify theme files, I use the Insert PHP Code Snippet plugin (https://es-ar.wordpress.org/plugins/insert-php-code-snippet/). Which generates a shortcode to implement anywhere on the site.

juodcv
tagDiv Member

Resolved. add the PHP code in the file top-widget.php

Image

Thank you

juodcv
tagDiv Member

This would be in php, the problem is how to put together a date
<? echo floor((strtotime(date("Y-m-d")) - strtotime("2015-12-01"))/86400); ?>
Thank you!

juodcv
tagDiv Member

The edition number, begins to run when the site gets the line. (Is the number of days in the website).

Assuming that the site was launched the day 01/12/2015

Example of how it should be viewed on the site.

Wednesday December 2, 2015 | Number of Issue 02

Thursday December 3, 2015 | Number of Issue 03

Friday December 4, 2015 | Number of Issue 04

Saturday December 5, 2015 | Number of Issue 05

It is a counter of days, from the 01/12/2015

I hope I was clear from already thank you very much.

  • This reply was modified 10 years by juodcv.
juodcv
tagDiv Member

Hi, sorry if I did not explain properly what I need it is to add a number of edition the website, along with the date.
http://infotercera.com/wp-content/uploads/2015/12/Captura-de-pantalla-2015-12-04-a-las-11.55.19.jpg

As in this website…
http://infotercera.com/wp-content/uploads/2015/12/Captura-de-pantalla-2015-12-04-a-las-12.01.02.jpg

Thank you very much, sorry my english

Viewing 7 posts - 1 through 7 (of 7 total)