Each one of my posts automatically creates a short url to my permalink and puts it in a custom_field within the post. i succesfully added code to have the post show this link. Problem is it is populating under one of my plugins output (sociable) and not under the post content itself.
How i want it to show:
short url custom field
sociable plugin output
In reality the short URL and socialable output are switched and that is not want i want.
See example here at my test site: http://beta.yahooanswerfail.com/gfgfggfg/
Code im currently using is
<?php the_content(‘<img alt=”Read More” src=”/wp-content/themes/yaf/images/morebutton.png”>’); ?>
<?php $shorturl = get_post_meta($post->ID, ‘shorturl’, true); ?>
Permalink to this fail: ” title=”Permalink to this Y! Answer Fail”> <?php echo $shorturl; ?>
Any help is appreciated.
- The topic ‘custom_fields placement within post’ is closed to new replies.