Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Which filter/action hook should I use?

I’m sorry if I just copy and paste what I said before but I’m not sure you saw. :/

Then the somequote function finds the li where id is post-#, extracts the post text (this depends somewhat on the page HTML but should work) and puts it in the post box at the bottom. The somequotefunction can also use the DOM probably to take out blockquotes.

The key bit is that the function is only passed the post ID. It can get the post HTML perfectly simply itself with the getElementById method. And then remove the <blockquote> elements.

Skip to toolbar