[Resolved] shortcode function
I have an issue with this function http://pastebin.com/JSxsQKQt
What the function does is to replace the shortcode from a page with specified post title. The shortcode from the page is like [[
123]] , where
123is 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
<ul> ... </ul>.
return $content;returns not just the
<li>title</li>but also the content of the page where the shortcode is .
Anyone can help ?
- The topic ‘[Resolved] shortcode function’ is closed to new replies.