If I’m understanding you correctly, what you want to do is change from Scroll mode to Rotate mode. Rotate mode will just display one item at a time.
no, not that. and sorry for being unable to describe precisely the matter of the problem. let me try again. my php function returns something like this: “link1 link2 link3 link4 “. then i put the function shortcode in the “ticker text” field on the dashboard. now comes the action:
when i put the ticker in the scrolling mode, it scrolls all four links together (not one by one), and in a rotate mode, it shows all four links at once, just sitting there (essentially static). as you can see, in this case, there’s a space separator ( ) between the links in the output.
when i put a break <br> between the links in the output (instead of ), the scrolling mode shows only the first link (and repeating it, not ever showing the other links), and the rotate mode displays all four links at once, like this:
link1
link2
link3
link4
again, static, but this time, in four lines, obviously observing the breaks between.
my question is: how should i separate the links in my php function, in order for news ticker to treat the links separately, as if i entered four ticker texts manually?
again, sorry for pestering you – i really hope i’ve explained it correctly this time 🙂
If I’m understanding your setup correctly, the problem is that you are adding all 4 of your links into a single tick. So, your ticker only has one “item”, not 4. If you want 4 separate items you need to hit the “+” button on the top right of your first tick and create 3 others.
Then, if you want to dynamically added content with a shortcode, you either need to create 4 separate shortcodes, or add an offset attribute (or something similar) so your shortcode function only returns one of your links and the offset will let you know which one.
See this screenshot https://imgur.com/a/qTSFCT4
yeah, something like that. i get it now (’cause i’m a newbie here). thank you for your time and effort …
No problem. Glad to help.