Filter Content to Append Div
-
1.
I’ve got a plugin that gives users the ability to vote “yes or no” on a post. I’m trying to automatically append the voting DIV to the Content and Excerpt areas.
I’ve got this code running to automatically display the voting DIV:
[Code moderated as per the Forum Rules. Please use the pastebin]However, when I run this script it either randomly displays the DIV, doesn’t display the div but rather the text is appended to the excerpt (rather than in its own container, its with everything else) or it does not follow the In_category and displays it on all/random posts.
Can anyone see the mistake I am making? Its been driving me mad for a few hours now!
The topic ‘Filter Content to Append Div’ is closed to new replies.