Timeline for Dynamic HTML not displaying at respective place
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 2, 2019 at 17:04 | history | edited | fuxia♦ |
edited tags
|
|
Nov 2, 2019 at 2:58 | vote | accept | Naren Verma | ||
Nov 1, 2019 at 14:46 | comment | added | Sally CJ |
Yes, call ob_start() as in my answer..
|
|
Nov 1, 2019 at 14:40 | answer | added | Sally CJ | timeline score: 2 | |
Nov 1, 2019 at 14:37 | comment | added | Naren Verma | @SallyCJ, I have created a widget in function.php (Code added in the question.) and then I am calling on another function. | |
Nov 1, 2019 at 14:37 | history | edited | Naren Verma | CC BY-SA 4.0 |
changes done
|
Nov 1, 2019 at 14:32 | comment | added | Naren Verma | @SallyCJ, So I have to add ob_start();? | |
Nov 1, 2019 at 14:29 | comment | added | Sally CJ |
If your shortcode function needs to echo the output, then you should use output buffering. And I said so because dynamic_sidebar() echoes the sidebar's widgets.
|
|
Nov 1, 2019 at 14:15 | review | First posts | |||
Nov 1, 2019 at 14:32 | |||||
Nov 1, 2019 at 14:12 | history | asked | Naren Verma | CC BY-SA 4.0 |