• Hey guys..
    I’m trying to create a script to remotely post wordpress posts with a specific template.

    I have the following PHP code..

    $content = "
    <div class=\"postlinks\">
    
    <ul>
    <li>
    		<span id=\"trailr\"><a><img alt=\"trailer\" src=\"http://imgur.com/pQwmw.png\" width=\"50\" height=\"50\"/></a></span></li>
    		<div id=\"trailer$r\" style=\"display:none;\">

    the $content holds part of my template that i want to use for each of my posts. However, when I send this string to wordpress, it gets stripped of all its <script>, id and class tags..

    Does anyone know how to disable this wordpress stripping of tags?

    Please let me know asap 🙁

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Problem with creating posts remotely’ is closed to new replies.