Example #1
0
    public static function script_pretag()
    {
        ?>
		<script type="text/javascript">
			jQuery(document).ready(function($){
					$('#post-format-link').attr('checked', true);
					$('#in-category-<?php 
        echo Mirai_LinkedList::get_links_category();
        ?>
').attr('checked', true);
			});
		</script>
		<?php 
    }
Example #2
0
function mirai_get_entry_title_permalink()
{
    $permalink = get_permalink();
    if (class_exists('Mirai_LinkedList') && 'link' == get_post_format()) {
        $url = Mirai_LinkedList::get_linked_list_url();
        if (false != $url) {
            $permalink = $url;
        }
    }
    return $permalink;
}