shortcode function
-
Hi guys
I have an issue with this function https://pastebin.com/JSxsQKQtWhat the function does is to replace the shortcode from a page with specified post title. The shortcode from the page is like [[
123
]] , where123
is the ID of the post.
It works but needs a little tweaking and my php skills suck.
It returns the titles like<li> title </li>
but I want all the<li>
inside<ul> ... </ul>
.
Thereturn $content;
returns not just the<li>title</li>
but also the content of the page where the shortcode is .Anyone can help ?
Thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘shortcode function’ is closed to new replies.