Timeline for $variable (counter) inside wp nav menu
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2016 at 6:25 | vote | accept | kiarashi | ||
Jun 16, 2016 at 19:25 | history | edited | birgire | CC BY-SA 3.0 |
added 454 characters in body
|
Jun 15, 2016 at 11:29 | comment | added | kiarashi | Updated my question regarding the counter function because I can't seem to make it work properly. | |
Jun 15, 2016 at 10:46 | comment | added | birgire | Glad to hear it worked for you @kiarashi | |
Jun 15, 2016 at 10:07 | comment | added | kiarashi |
I have some difficulties with replacing static $instance = 0; with my own counter function. Will update my post after I tried to solve it myself and failed in doing it. ^^;;
|
|
Jun 15, 2016 at 10:01 | comment | added | kiarashi |
It works! I made a small mistake with the class name (used message , while it should've been messages .
|
|
Jun 15, 2016 at 9:55 | comment | added | kiarashi | The array message is gone. Thank you. Also updated my post with one more issue. | |
Jun 15, 2016 at 9:45 | history | edited | birgire | CC BY-SA 3.0 |
added 795 characters in body
|
Jun 15, 2016 at 9:34 | comment | added | birgire | Are you using the latest version of the code snippet? @kiarashi | |
Jun 15, 2016 at 9:10 | comment | added | kiarashi |
When I use your function like that, I get an error: Warning: in_array() expects parameter 2 to be array, string given in
|
|
Jun 15, 2016 at 9:00 | history | edited | birgire | CC BY-SA 3.0 |
had the wrong class part
|
Jun 15, 2016 at 8:45 | history | edited | birgire | CC BY-SA 3.0 |
added 930 characters in body
|
Jun 15, 2016 at 8:07 | history | answered | birgire | CC BY-SA 3.0 |