• Hey all,

    I’m looking to add this code to my site but i’m not sure how to add a link and a possibly link if necessary.

    <?php
    if (empty($post->post_content)) {
    $post->post_content = “Why not Sponsor this blog?” ;
    }
    ?>

    Any help would be great.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think you’ll need to provide a little more information before anyone can help you.

    Thread Starter becauseitisthere

    (@becauseitisthere)

    Hey,

    I found this code on a website which me told to put into the ‘edit-form-advanced.php’ file. However, the site didn’t mention how to put a link or image in this code.

    Don’t even try hacking any core files unless you really, really, know what you’re doing.

    Thread Starter becauseitisthere

    (@becauseitisthere)

    It has worked when i put the code in but there i need the coding for the link. I have backed up the original file just in case

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding a link and image into this link’ is closed to new replies.