custom_fields placement within post
-
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:
Post Title
post body
short url custom field
sociable plugin outputIn 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<div class=”post-content”>
<?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; ?>
</div>Any help is appreciated.
The topic ‘custom_fields placement within post’ is closed to new replies.